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
/
simulatePowerOn
simulate
Power
On
fun
simulatePowerOn
(
)
Simulates turning on Bluetooth adapter on the mock device.
Throws
no.
nordicsemi.
kotlin.
ble.
core.
exception.
Bluetooth
Unavailable
Exception
If
isBluetoothSupported
is false.