requestAudioFileInfoCallback property
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:
- AudioFileInfoError.Ok : Successfully get the information of an audio file.
- AudioFileInfoError.Failure : Fail to get the information of an audio file.
Implementation
RequestAudioFileInfoCallback? requestAudioFileInfoCallback;