enableAudioPropertiesReport method

FutureOr<int> enableAudioPropertiesReport(
  1. AudioPropertiesConfig config
)

@detail api @author wangjunzheng @brief Enable audio information prompts. After that, you will receive onLocalAudioPropertiesReport{@link #IRTCEngineEventHandler#onLocalAudioPropertiesReport}, onRemoteAudioPropertiesReport{@link #IRTCEngineEventHandler#onRemoteAudioPropertiesReport}, and onActiveSpeaker{@link #IRTCEngineEventHandler#onActiveSpeaker}. @param config See AudioPropertiesConfig{@link #AudioPropertiesConfig} @return - 0: Success. - < 0 : Fail. See ReturnStatus{@link #ReturnStatus} for more details

Implementation

FutureOr<int> enableAudioPropertiesReport(
    AudioPropertiesConfig config) async {
  return await nativeCall('enableAudioPropertiesReport', [config]);
}