Android Open Source - android-bluetoothspp I Bluetooth Service Event Receiver






From Project

Back to project page android-bluetoothspp.

License

The source code is released under:

Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCT...

If you think the Android project android-bluetoothspp listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package de.widemeadows.android.bluetoothspptest;
/*w w w . j a  v  a  2  s. c  o m*/
import org.jetbrains.annotations.NotNull;

/**
 * Interface fr Bluetooth-Ereignisreceiver
 */
public interface IBluetoothServiceEventReceiver {

  /**
   * Bluetooth wird aktiviert
   */
  public void bluetoothEnabling();

  /**
   * Bluetooth wurde aktiviert
   */
  public void bluetoothEnabled();

  /**
   * Bluetooth wird deaktiviert
   */
  public void bluetoothDisabling();

  /**
   * Bluetooth wurde deaktiviert
   */
  public void bluetoothDisabled();

  /**
   * Bluetooth verbunden mit einem Gert
   * @param name Der Name des Gertes
   * @param address Die MAC-Adresse des Gertes
   */
  public void connectedTo(@NotNull final String name, @NotNull final String address);
}




Java Source Code List

de.widemeadows.android.bluetoothspptest.BluetoothService.java
de.widemeadows.android.bluetoothspptest.DeviceListActivity.java
de.widemeadows.android.bluetoothspptest.IBluetoothServiceEventReceiver.java
de.widemeadows.android.bluetoothspptest.IntentRequestCodes.java
de.widemeadows.android.bluetoothspptest.MainActivity.java