onAudioVolumeIndication

onAudioVolumeIndication callback. Triggered when the player volume changes.

virtual void onAudioVolumeIndication(int32_t volume) {}
Since
Available since v4.4.0.

Trigger Timing

When the player volume changes, the SDK triggers this callback.

Parameters

volume
Current volume of the player, ranging from [0, 225].