MediaPlayer2TrackList class
Constructors
-
MediaPlayer2TrackList(DBusClient client, String destination, {DBusObjectPath path = const DBusObjectPath.unchecked('/org/mpris/MediaPlayer2')})
-
Methods
-
callAddTrack(String Uri, String AfterTrack, bool SetAsCurrent, {bool noAutoStart = false, bool allowInteractiveAuthorization = false})
→ Future<void>
-
Invokes org.mpris.MediaPlayer2.TrackList.AddTrack()
-
callGetTracksMetadata(List<String> TrackIds, {bool noAutoStart = false, bool allowInteractiveAuthorization = false})
→ Future<List<Map<String, DBusValue>>>
-
Invokes org.mpris.MediaPlayer2.TrackList.GetTracksMetadata()
-
callGoTo(String TrackId, {bool noAutoStart = false, bool allowInteractiveAuthorization = false})
→ Future<void>
-
Invokes org.mpris.MediaPlayer2.TrackList.GoTo()
-
callMethod(String? interface, String name, Iterable<DBusValue> values, {DBusSignature? replySignature, bool noReplyExpected = false, bool noAutoStart = false, bool allowInteractiveAuthorization = false})
→ Future<DBusMethodSuccessResponse>
-
Invokes a method on this object.
Throws
DBusMethodResponseException
if the remote side returns an error.
inherited
-
callRemoveTrack(String TrackId, {bool noAutoStart = false, bool allowInteractiveAuthorization = false})
→ Future<void>
-
Invokes org.mpris.MediaPlayer2.TrackList.RemoveTrack()
-
getAllProperties(String interface)
→ Future<Map<String, DBusValue>>
-
Gets the values of all the properties on this object.
inherited
-
getCanEditTracks()
→ Future<bool>
-
Gets org.mpris.MediaPlayer2.TrackList.CanEditTracks
-
getProperty(String interface, String name, {DBusSignature? signature})
→ Future<DBusValue>
-
Gets a property on this object.
inherited
-
getTracks()
→ Future<List<String>>
-
Gets org.mpris.MediaPlayer2.TrackList.Tracks
-
introspect()
→ Future<DBusIntrospectNode>
-
Gets the introspection data for this object.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
setProperty(String interface, String name, DBusValue value)
→ Future<void>
-
Sets a property on this object.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited