GoldenGateConnectionManager / com.fitbit.goldengate.bt / BluetoothStateChangeBroadcastReceiver

BluetoothStateChangeBroadcastReceiver

class BluetoothStateChangeBroadcastReceiver : BroadcastReceiver

Bluetooth Adapter state change BroadcastReceiver

Constructors

<init>

BluetoothStateChangeBroadcastReceiver()

Bluetooth Adapter state change BroadcastReceiver

Functions

onReceive

fun onReceive(context: Context, intent: Intent): Unit

register

fun register(context: Context): Observable<BluetoothState>

Register BroadcastReceiver for Bluetooth Adapter state changes

unregister

fun unregister(context: Context): Unit

Unregister this listener.