Files
android_translation_layer/src/api-impl-jni/media/org.mpris.MediaPlayer2.xml
Julian Winkler 9d27fc138b NotificationManager: handle non player part of MPRIS
This exposes the package name to MPRIS and allows to raise the
application to the front when clicking the MPRIS notification.
2024-07-17 22:43:16 +02:00

32 lines
1.2 KiB
XML

<node>
<interface name="org.mpris.MediaPlayer2">
<method name="Raise"/>
<property name="CanRaise" type="b" access="read"/>
<property name="Identity" type="s" access="read"/>
<property name="DesktopEntry" type="s" access="read"/>
</interface>
<interface name="org.mpris.MediaPlayer2.Player">
<method name="Play"/>
<method name="Pause"/>
<method name="PlayPause"/>
<method name="Next"/>
<method name="Previous"/>
<method name="Seek">
<arg name="Offset" direction="in" type="x"/>
</method>
<method name="SetPosition">
<arg name="TrackId" direction="in" type="o"/>
<arg name="Position" direction="in" type="x"/>
</method>
<property name="CanControl" type="b" access="read"/>
<property name="CanPlay" type="b" access="read"/>
<property name="CanPause" type="b" access="read"/>
<property name="CanSeek" type="b" access="read"/>
<property name="CanGoNext" type="b" access="read"/>
<property name="CanGoPrevious" type="b" access="read"/>
<property name="Metadata" type="a{sv}" access="read"/>
<property name="PlaybackStatus" type="s" access="read"/>
<property name="Position" type="x" access="read"/>
</interface>
</node>