set Buzzer Duration
Sets the duration of the buzzer sound for the given deviceId.
Return
A CommandResponse indicating the result.
Parameters
device Id
The identifier of the target device.
duration
The duration of the buzzer, as defined by BuzzerDuration.
abstract fun setBuzzerDuration(deviceId: String, duration: BuzzerDuration, callback: (Result<CommandResponse>) -> Unit)
Callback-based version of setBuzzerDuration for Java interoperability.
Parameters
device Id
The identifier of the target device.
duration
The duration of the buzzer, as defined by BuzzerDuration.
callback
Callback to receive the CommandResponse.