it.gerdavax.android.bluetooth
Interface RemoteBluetoothDeviceListener


public interface RemoteBluetoothDeviceListener

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

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

Method Summary
 void gotServiceChannel(int serviceID, int channel)
          Called when requested service is supported by the device and channel number has been retrieved
 void paired()
          Called when the RemoteBluetoothDevice has been paired (and BluetoothSockets can be opened)
 void pinRequested()
          Called when the remote requires to send the security PIN.
 void serviceChannelNotAvailable(int serviceID)
          Called when requested service is not supported by this device
 

Method Detail

paired

void paired()
Called when the RemoteBluetoothDevice has been paired (and BluetoothSockets can be opened)


pinRequested

void pinRequested()
Called when the remote requires to send the security PIN. The PIN could be provided by the user opening the window in the notification area or programmatically using the setPin(int) on the RemoteBluetoothDevice instance.


gotServiceChannel

void gotServiceChannel(int serviceID,
                       int channel)
Called when requested service is supported by the device and channel number has been retrieved

Parameters:
serviceID -
channel -
Since:
0.2

serviceChannelNotAvailable

void serviceChannelNotAvailable(int serviceID)
Called when requested service is not supported by this device

Parameters:
serviceID -
Since:
0.2