toggle Buzzer
Toggles the buzzer on or off for the given deviceId.
Return
A CommandResponse indicating the result.
Parameters
device Id
The identifier of the target device.
enabled
True to enable the buzzer, false to disable it.
abstract fun toggleBuzzer(deviceId: String, enabled: Boolean, callback: (Result<CommandResponse>) -> Unit)
Callback-based version of toggleBuzzer for Java interoperability.
Parameters
device Id
The identifier of the target device.
enabled
True to enable the buzzer, false to disable it.
callback
Callback to receive the CommandResponse.