getDuration abstract method

Duration? getDuration()

Returns the duration of the current player item or null if unknown.

Implementation

Duration? getDuration();