rtcEngine$onAudioDeviceVolumeChanged$volume$muted method
FutureOr<void>
rtcEngine$onAudioDeviceVolumeChanged$volume$muted(
- ByteRTCEngine engine,
- ByteRTCAudioDeviceType deviceType,
- int volume,
- bool muted,
@hidden(iOS)
@detail callback
@author caocun
@brief Callback to notify you the volume of the audio device has been changed or when the device has been muted or unmuted. No need to activate the notification beforehand.
@param engine ByteRTCEngine object
@param deviceType Includes microphones and speakers. Refer to ByteRTCAudioDeviceType{@link #ByteRTCAudioDeviceType} for more details.
@param volume Volume ranging 0, 255. When the volume turns to 0, muted turns to True.
@param muted Whether is muted. When a speaker is muted, muted turns True but volume remains unchanged.
Implementation
FutureOr<void> rtcEngine$onAudioDeviceVolumeChanged$volume$muted(
ByteRTCEngine engine,
ByteRTCAudioDeviceType deviceType,
int volume,
bool muted) async {}