Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
SdlDeviceListener.Callback

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 chanel 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)

Parameters

context
bluetoothDevice
the BT device that successfully connected to SDL's UUID

onTransportDisconnected( BluetoothDevice bluetoothDevice )

public void onTransportDisconnected(BluetoothDevice bluetoothDevice)

Parameters

bluetoothDevice

onTransportError( BluetoothDevice bluetoothDevice )

public void onTransportError(BluetoothDevice bluetoothDevice)

Parameters

bluetoothDevice
View on GitHub.com
Previous Section Next Section