Kotlin BLE Library
Toggle table of contents
2.0.0-alpha15
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Kotlin BLE Library
environment-android-mock
/
no.nordicsemi.kotlin.ble.environment.android.mock
/
MockAndroidEnvironment
/
simulatePowerOff
simulate
Power
Off
fun
simulatePowerOff
(
)
Simulates turning off Bluetooth adapter on the mock device.
Throws
no.
nordicsemi.
kotlin.
ble.
core.
exception.
Bluetooth
Unavailable
Exception
If
isBluetoothSupported
is false.