currentTime property

  1. @override
Future<double> currentTime

The current playback time of the active Source in seconds. For VoD streams the returned time ranges between 0 and the duration of the asset. For live streams, a Unix timestamp denoting the current playback position is returned.

Implementation

@override
Future<double> get currentTime async =>
    _invokeMethod<double>(Methods.currentTime);