Interface SdlDeviceListener.Callback
- Package
- com.smartdevicelink.transport.utl
Overview
Callback for the SdlDeviceListener. It will return if the supplied device makes a bluetooth
connection on the SDL UUID RFCOMM channel or not. Most of the time the only callback that
matters will be the onTransportConnected.
Methods
onTransportConnected(
Context context,
BluetoothDevice bluetoothDevice
)
public boolean onTransportConnected(Context context,BluetoothDevice bluetoothDevice)
Method Parameters
- context
- bluetoothDevice
- the BT device that successfully connected to SDL's UUID
onTransportDisconnected(
BluetoothDevice bluetoothDevice
)
public void onTransportDisconnected(BluetoothDevice bluetoothDevice)
Method Parameters
- bluetoothDevice
onTransportError(
BluetoothDevice bluetoothDevice
)
public void onTransportError(BluetoothDevice bluetoothDevice)
Method Parameters
- bluetoothDevice
View on GitHub.com