requestAudioFileInfoCallback property

RequestAudioFileInfoCallback? requestAudioFileInfoCallback
getter/setter pair

Reports the information of an audio file.

After successfully calling RtcEngine.getAudioFileInfo, the SDK triggers this callback to report the information of the audio file, such as the file path and duration.

The RequestAudioFileInfoCallback typedef includes the following parameters:

Parameter info The information of an audio file. See AudioFileInfo.

Parameter error The information acquisition state:

Implementation

RequestAudioFileInfoCallback? requestAudioFileInfoCallback;