DiveMediaSourceState class
The state model for a media source.
Constructors
- DiveMediaSourceState({int currentTime = 0, int duration = 0, DiveMediaState mediaState = DiveMediaState.NONE})
-
const
Properties
- currentTime → int
-
The current playback time.
final
- duration → int
-
The full duration of the media playback time, in milliseconds.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mediaState → DiveMediaState
-
The current media playback state.
final
-
props
→ List<
Object> -
Returns the list of properties used to facilitate operator ==.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool
-
Indicates to output this instance's props in toString.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited