louiscad
03/16/2017, 2:33 PMbenleggiero
03/16/2017, 2:50 PMfun BluetoothAdapter.isOffOrTurningOff(): Boolean = when (state) {
BluetoothAdapter.STATE_OFF, BluetoothAdapter.STATE_TURNING_OFF -> true
else -> false
}
louiscad
03/16/2017, 2:53 PM