EUC BLE Library
Toggle table of contents
1.2.0
release
Target filter
release
Switch theme
Search in API
Skip to content
EUC BLE Library
euc-ble-android
/
io.github.tritbool.euc.ble
/
EucBleClient
/
sendCommand
send
Command
@
RequiresPermission
(
value
=
"android.permission.BLUETOOTH_CONNECT"
)
fun
sendCommand
(
commandType
:
CommandType
,
value
:
Any
=
Unit
)
(
source
)
@
RequiresPermission
(
value
=
"android.permission.BLUETOOTH_CONNECT"
)
fun
sendCommand
(
commandId
:
String
,
value
:
CommandValue
=
CommandValue.None
)
(
source
)
Validates against the current contract; rejected inputs are reported through ErrorCallback.