it.gerdavax.android.bluetooth
Interface LocalBluetoothDeviceListener


public interface LocalBluetoothDeviceListener

Interface definition for a callback to be invoked when an event happens on the LocalBluetoothDevice.

Author:
Stefano Sanna - gerdavax@gmail.com - http://www.gerdavax.it

Method Summary
 void bluetoothDisabled()
          Called when Bluetooth stack has been disabled
 void bluetoothEnabled()
          Called when Bluetooth stack has been enabled
 void deviceFound(java.lang.String deviceAddress)
          Called every time a remote device has been found scan process.
 void scanCompleted(java.util.ArrayList<java.lang.String> devices)
          Called when remote device discovery has been completed
 void scanStarted()
          Called when remote device discovery has started
 

Method Detail

bluetoothEnabled

void bluetoothEnabled()
Called when Bluetooth stack has been enabled


bluetoothDisabled

void bluetoothDisabled()
Called when Bluetooth stack has been disabled


scanStarted

void scanStarted()
Called when remote device discovery has started


scanCompleted

void scanCompleted(java.util.ArrayList<java.lang.String> devices)
Called when remote device discovery has been completed

Parameters:
devices - the list of BD Addresses discovered

deviceFound

void deviceFound(java.lang.String deviceAddress)
Called every time a remote device has been found scan process. The entire list of devices discovered is returned at the end of scan process has been completed

Parameters:
deviceAddress - the address of the device just found
Since:
0.3