nowPlaying method

  1. @override
Future<int> nowPlaying(
  1. TauPlayerCallback callback, {
  2. Duration? progress,
  3. Duration? duration,
  4. Map<String, dynamic>? track,
  5. bool? canPause,
  6. bool? canSkipForward,
  7. bool? canSkipBackward,
  8. bool? defaultPauseResume,
})
override

Implementation

@override
Future<int> nowPlaying(TauPlayerCallback callback,  {Duration? progress, Duration? duration,  Map<String, dynamic>? track, bool? canPause, bool? canSkipForward, bool? canSkipBackward, bool? defaultPauseResume, }) async
{
        return getWebSession(callback)!.nowPlaying(progress!.inMilliseconds, duration!.inMilliseconds, track, canPause, canSkipForward, canSkipBackward, defaultPauseResume);
}