onActiveSpeaker property

FutureOr<void> Function(String roomId, String userId)? onActiveSpeaker
getter/setter pair

@detail callback @author gongzhengduo @brief After calling enableAudioPropertiesReport{@link #RTCEngine#enableAudioPropertiesReport}, you will periodically receive this callback for the active speaker information. @param roomId Room ID. @param uid The user ID of the active speaker.

Implementation

FutureOr<void> Function(String roomId, String userId)? onActiveSpeaker;