MediaPlayer2 class
Constructors
-
MediaPlayer2(DBusClient client, String destination, {DBusObjectPath path = const DBusObjectPath.unchecked('/org/mpris/MediaPlayer2')})
-
Properties
-
client
→ DBusClient
-
The client this object is accessed from.
finalinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
name
→ String
-
The name of the client providing this object.
finalinherited
-
path
→ DBusObjectPath
-
The path to the object.
finalinherited
-
propertiesChanged
↔ Stream<DBusPropertiesChangedSignal>
-
Stream of signals when the remote object indicates a property has changed.
latefinalinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
-
callQuit({bool noAutoStart = false, bool allowInteractiveAuthorization = false})
→ Future<void>
-
Invokes org.mpris.MediaPlayer2.Quit()
-
callRaise({bool noAutoStart = false, bool allowInteractiveAuthorization = false})
→ Future<void>
-
Invokes org.mpris.MediaPlayer2.Raise()
-
getAllProperties(String interface)
→ Future<Map<String, DBusValue>>
-
Gets the values of all the properties on this object.
inherited
-
getCanQuit()
→ Future<bool>
-
Gets org.mpris.MediaPlayer2.CanQuit
-
getCanRaise()
→ Future<bool>
-
Gets org.mpris.MediaPlayer2.CanRaise
-
getCanSetFullscreen()
→ Future<bool>
-
Gets org.mpris.MediaPlayer2.CanSetFullscreen
-
getDesktopEntry()
→ Future<String>
-
Gets org.mpris.MediaPlayer2.DesktopEntry
-
getFullscreen()
→ Future<bool>
-
Gets org.mpris.MediaPlayer2.Fullscreen
-
getHasTrackList()
→ Future<bool>
-
Gets org.mpris.MediaPlayer2.HasTrackList
-
getIdentity()
→ Future<String>
-
Gets org.mpris.MediaPlayer2.Identity
-
getProperty(String interface, String name, {DBusSignature? signature})
→ Future<DBusValue>
-
Gets a property on this object.
inherited
-
getSupportedMimeTypes()
→ Future<List<String>>
-
Gets org.mpris.MediaPlayer2.SupportedMimeTypes
-
getSupportedUriSchemes()
→ Future<List<String>>
-
Gets org.mpris.MediaPlayer2.SupportedUriSchemes
-
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
-
setFullscreen(bool value)
→ Future<void>
-
Sets org.mpris.MediaPlayer2.Fullscreen
-
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