setBuzzerVolume

abstract suspend fun setBuzzerVolume(deviceId: String, volume: Int): CommandResponse

Sets the volume of the buzzer for the given deviceId.

Return

A CommandResponse indicating the result.

Parameters

deviceId

The identifier of the target device.

volume

The volume to be set (range: 0-100).


abstract fun setBuzzerVolume(deviceId: String, volume: Int, callback: (Result<CommandResponse>) -> Unit)

Callback-based version of setBuzzerVolume for Java interoperability.

Parameters

deviceId

The identifier of the target device.

volume

The volume to be set (range: 0-100).

callback

Callback to receive the CommandResponse.