DVNowPlayingState class final

Where playback is, for the now-playing surface. The platform extrapolates the position from playing between updates, so this is published when something changes rather than on every position report.

Constructors

DVNowPlayingState({required bool playing, required Duration position, required Duration duration})
const

Properties

duration → Duration
Zero for a live stream.
final
hashCode → int
The hash code for this object.
no setteroverride
playing → bool
final
position → Duration
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override