pause method
@detail api @brief After calling open{@link #IMediaPlayer#open}, or start{@link #IMediaPlayer#start} to start audio mixing, call this API to pause audio mixing. @return - 0: Success. - < 0 : Fail. See ReturnStatus{@link #ReturnStatus} for more details. @note - After calling this API to pause audio mixing, call resume{@link #IMediaPlayer#resume} to resume audio mixing. - The API is valid for audio file, not PCM data.
Implementation
FutureOr<int> pause() async {
return await nativeCall('pause', []);
}