getPosition method
@detail api @brief Gets the playback progress of the media file. @return - >0: Success, the playback progress of media file in ms. - < 0: Failed. @note - Call this API only when audio is mixing. - The API is valid for audio file, not PCM data.
Implementation
FutureOr<int> getPosition() async {
return await nativeCall('getPosition', []);
}