nowPlaying method
Future<int>
nowPlaying(
- TauPlayerCallback callback, {
- Duration? progress,
- Duration? duration,
- Map<
String, dynamic> ? track, - bool? canPause,
- bool? canSkipForward,
- bool? canSkipBackward,
- 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);
}