MediaSessionActionDetails class
Specifies the type of action which needs to be performed as well as the data needed to perform the action.
The dictionary parameter for MediaSessionActionHandler callback.
- Annotations
-
- @JS()
- @anonymous
Constructors
- MediaSessionActionDetails({String? action, bool? fastSeek, double? seekOffset, double? seekTime})
-
Creates the details.
factory
Properties
- action → String
-
An action type string taken from the
MediaActions
, indicating which type of action needs to be performed.no setter - fastSeek → bool
-
Indicates whether or not to perform a "fast" seek.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seekOffset → double
-
If the action is either
seekforward
orseekbackward
and this property is present, it is a floating point value which indicates the seek interval.no setter - seekTime → double
-
If the action is
seekto
, this property is present and indicates the absolute time within the media to move the playback position to.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