getAudioTime method

Future<double> getAudioTime()

Playback time of the current audio session, in seconds. Resets to 0 on each new playback round. Returns 0 when not playing.

Implementation

Future<double> getAudioTime() async {
  return await _methodChannel.invokeMethod('getAudioTime');
}