GoogleCastMediaSeekOption class

Enum defining the media control channel resume state.

Constructors

GoogleCastMediaSeekOption({required Duration position, bool relative = false, GoogleCastMediaResumeState resumeState = GoogleCastMediaResumeState.play, bool seekToInfinity = false})
Creates a new GoogleCastMediaSeekOption.

Properties

hashCode → int
The hash code for this object.
no setterinherited
position → Duration
The position to seek to.
final
relative → bool
Whether the seek is relative to current position.
final
resumeState → GoogleCastMediaResumeState
The resume state after seeking.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
seekToInfinity → bool
Whether to seek to infinity (live content).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
Converts these seek options to a map representation.
toString() → String
A string representation of this object.
inherited

Operators

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