Playback class

Inheritance

Constructors

Playback({String? id, String? media_uri, String? next_media_uri, String? target_uri, String? language, String? state, dynamic json})
Playback.fromJson(dynamic json)
Control a playback.
factory

Properties

handlers Map<String, dynamic Function(dynamic event, Playback playback)>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
ID for this playback operation.
getter/setter pair
json ↔ dynamic
getter/setter pair
language String?
For media types that support multiple languages, the language requested for playback.
getter/setter pair
media_uri String?
The URI for the media currently being played back.
getter/setter pair
next_media_uri String?
If a list of URIs is being played, the next media URI to be played back.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String?
Current state of the playback operation.
getter/setter pair
target_uri String?
URI for the channel or bridge to play the media on.
getter/setter pair

Methods

control(dynamic callback(Error), {required String operation}) → dynamic
Control a playback.
get(dynamic callback(Error, Playback)) → void
Get a playbacks details.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
on(String event, dynamic callback(dynamic event, Playback playback)) → void
stop(dynamic callback(bool)) → void
Stop a playback.
toString() String
A string representation of this object.
inherited

Operators

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