Warning, /multimedia/kasts/src/kmediasession/dbus-interfaces/org.mpris.MediaPlayer2.Player.xml is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8" ?>
0002 <!--
0003 SPDX-FileCopyrightText: none
0004 SPDX-License-Identifier: LGPL-2.1-or-later
0005 -->
0006 <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
0007 <node>
0008   <interface name="org.mpris.MediaPlayer2.Player">
0009     <tp:enum name="Playback_Status" tp:name-for-bindings="Playback_Status" type="s">
0010       <tp:enumvalue suffix="Playing" value="Playing"/>
0011       <tp:enumvalue suffix="Paused" value="Paused"/>
0012       <tp:enumvalue suffix="Stopped" value="Stopped"/>
0013     </tp:enum>
0014     <tp:enum name="Loop_Status" tp:name-for-bindings="Loop_Status" type="s">
0015       <tp:enumvalue suffix="None" value="None"/>
0016       <tp:enumvalue suffix="Track" value="Track"/>
0017       <tp:enumvalue suffix="Playlist" value="Playlist"/>
0018     </tp:enum>
0019 
0020     <tp:simple-type name="Track_Id" type="o" array-name="Track_Id_List"/>
0021     <tp:simple-type name="Playback_Rate" type="d"/>
0022     <tp:simple-type name="Volume" type="d"/>
0023     <tp:simple-type name="Time_In_Us" type="x"/>
0024 
0025     <method name="Next" tp:name-for-bindings="Next"/>
0026     <method name="Previous" tp:name-for-bindings="Previous"/>
0027     <method name="Pause" tp:name-for-bindings="Pause"/>
0028     <method name="PlayPause" tp:name-for-bindings="PlayPause"/>
0029     <method name="Stop" tp:name-for-bindings="Stop"/>
0030     <method name="Play" tp:name-for-bindings="Play"/>
0031     <method name="Seek" tp:name-for-bindings="Seek">
0032       <arg direction="in" type="x" name="Offset" tp:type="Time_In_Us"/>
0033     </method>
0034     <method name="SetPosition" tp:name-for-bindings="Set_Position">
0035       <arg direction="in" type="o" tp:type="Track_Id" name="TrackId"/>
0036       <arg direction="in" type="x" tp:type="Time_In_Us" name="Position"/>
0037     </method>
0038     <method name="OpenUri" tp:name-for-bindings="Open_Uri">
0039       <arg direction="in" type="s" tp:type="Uri" name="Uri"/>
0040     </method>
0041 
0042     <property name="PlaybackStatus" tp:name-for-bindings="Playback_Status" type="s" tp:type="Playback_Status" access="read">
0043       <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
0044     </property>
0045     <property name="LoopStatus" type="s" access="readwrite" tp:name-for-bindings="Loop_Status" tp:type="Loop_Status">
0046       <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
0047       <annotation name="org.mpris.MediaPlayer2.property.optional" value="true"/>
0048     </property>
0049     <property name="Rate" tp:name-for-bindings="Rate" type="d" tp:type="Playback_Rate" access="readwrite">
0050       <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
0051     </property>
0052     <property name="Shuffle" tp:name-for-bindings="Shuffle" type="b" access="readwrite">
0053       <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
0054       <annotation name="org.mpris.MediaPlayer2.property.optional" value="true"/>
0055     </property>
0056     <property name="Metadata" tp:name-for-bindings="Metadata" type="a{sv}" tp:type="Metadata_Map" access="read">
0057       <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
0058     </property>
0059     <property name="Volume" type="d" tp:type="Volume" tp:name-for-bindings="Volume" access="readwrite">
0060       <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true" />
0061     </property>
0062     <property name="Position" type="x" tp:type="Time_In_Us" tp:name-for-bindings="Position" access="read">
0063       <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
0064     </property>
0065     <property name="MinimumRate" tp:name-for-bindings="Minimum_Rate" type="d" tp:type="Playback_Rate" access="read">
0066       <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
0067     </property>
0068     <property name="MaximumRate" tp:name-for-bindings="Maximum_Rate" type="d" tp:type="Playback_Rate" access="read">
0069       <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
0070     </property>
0071     <property name="CanGoNext" tp:name-for-bindings="Can_Go_Next" type="b" access="read">
0072       <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
0073     </property>
0074     <property name="CanGoPrevious" tp:name-for-bindings="Can_Go_Previous" type="b" access="read">
0075       <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
0076     </property>
0077     <property name="CanPlay" tp:name-for-bindings="Can_Play" type="b" access="read">
0078       <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
0079     </property>
0080     <property name="CanPause" tp:name-for-bindings="Can_Pause" type="b" access="read">
0081       <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
0082     </property>
0083     <property name="CanSeek" tp:name-for-bindings="Can_Seek" type="b" access="read">
0084       <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="true"/>
0085     </property>
0086     <property name="CanControl" tp:name-for-bindings="Can_Control" type="b" access="read">
0087       <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/>
0088     </property>
0089 
0090     <signal name="Seeked" tp:name-for-bindings="Seeked">
0091       <arg name="Position" type="x" tp:type="Time_In_Us"/>
0092     </signal>
0093   </interface>
0094 </node>
0095 <!-- vim:set sw=2 sts=2 et ft=xml: -->