MediaControlMessage class

Constructors

MediaControlMessage({required String androidIcon, required String label, required MediaActionMessage action, CustomMediaActionMessage? customAction})
const

Properties

action MediaActionMessage
The action to be executed by this control
final
androidIcon String
A reference to an Android icon resource for the control (e.g. "drawable/ic_action_pause")
final
customAction CustomMediaActionMessage?
The action string used in customAction when the action occurs. This should be used along with MediaAction.custom.
final
hashCode int
The hash code for this object.
no setterinherited
label String
A label for the control
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
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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