Org bluez. org bluez service audio

From Openmoko

Revision as of 07:54, 2 March 2008 by Wurp (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Overview

Bus name: org.bluez
Object name: /org/bluez/service_audio
  interface org.bluez.Service
    (arg1:a{sv}) GetInfo()
    (arg1:s) GetIdentifier()
    (arg1:s) GetName()
    (arg1:s) GetDescription()
    (arg1:s) GetBusName()
    () Start()
    () Stop()
    (arg1:b) IsRunning()
    (arg1:b) IsExternal()
    () SetTrusted(arg1:s)
    (arg2:b) IsTrusted(arg1:s)
    () RemoveTrust(arg1:s)
    (arg1:as) ListTrusts()
    Started()
    Stopped()
    TrustAdded(arg1:s)
    TrustRemoved(arg1:s)

Introspect XML

<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="/org/bluez/service_audio">
        <interface name="org.bluez.Service">
                <method name="GetInfo">
                        <arg type="a{sv}" direction="out"/>
                </method>
                <method name="GetIdentifier">
                        <arg type="s" direction="out"/>
                </method>
                <method name="GetName">
                        <arg type="s" direction="out"/>
                </method>
                <method name="GetDescription">
                        <arg type="s" direction="out"/>
                </method>
                <method name="GetBusName">
                        <arg type="s" direction="out"/>
                </method>
                <method name="Start"/>
                <method name="Stop"/>
                <method name="IsRunning">
                        <arg type="b" direction="out"/>
                </method>
                <method name="IsExternal">
                        <arg type="b" direction="out"/>
                </method>
                <method name="SetTrusted">
                        <arg type="s" direction="in"/>
                </method>
                <method name="IsTrusted">
                        <arg type="s" direction="in"/>
                        <arg type="b" direction="out"/>
                </method>
                <method name="RemoveTrust">
                        <arg type="s" direction="in"/>
                </method>
                <method name="ListTrusts">
                        <arg type="as" direction="out"/>
                </method>
                <signal name="Started"/>
                <signal name="Stopped"/>
                <signal name="TrustAdded">
                        <arg type="s"/>
                </signal>
                <signal name="TrustRemoved">
                        <arg type="s"/>
                </signal>
        </interface>
</node>

Personal tools

Overview

Bus name: org.bluez
Object name: /org/bluez/service_audio
  interface org.bluez.Service
    (arg1:a{sv}) GetInfo()
    (arg1:s) GetIdentifier()
    (arg1:s) GetName()
    (arg1:s) GetDescription()
    (arg1:s) GetBusName()
    () Start()
    () Stop()
    (arg1:b) IsRunning()
    (arg1:b) IsExternal()
    () SetTrusted(arg1:s)
    (arg2:b) IsTrusted(arg1:s)
    () RemoveTrust(arg1:s)
    (arg1:as) ListTrusts()
    Started()
    Stopped()
    TrustAdded(arg1:s)
    TrustRemoved(arg1:s)

Introspect XML

<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="/org/bluez/service_audio">
        <interface name="org.bluez.Service">
                <method name="GetInfo">
                        <arg type="a{sv}" direction="out"/>
                </method>
                <method name="GetIdentifier">
                        <arg type="s" direction="out"/>
                </method>
                <method name="GetName">
                        <arg type="s" direction="out"/>
                </method>
                <method name="GetDescription">
                        <arg type="s" direction="out"/>
                </method>
                <method name="GetBusName">
                        <arg type="s" direction="out"/>
                </method>
                <method name="Start"/>
                <method name="Stop"/>
                <method name="IsRunning">
                        <arg type="b" direction="out"/>
                </method>
                <method name="IsExternal">
                        <arg type="b" direction="out"/>
                </method>
                <method name="SetTrusted">
                        <arg type="s" direction="in"/>
                </method>
                <method name="IsTrusted">
                        <arg type="s" direction="in"/>
                        <arg type="b" direction="out"/>
                </method>
                <method name="RemoveTrust">
                        <arg type="s" direction="in"/>
                </method>
                <method name="ListTrusts">
                        <arg type="as" direction="out"/>
                </method>
                <signal name="Started"/>
                <signal name="Stopped"/>
                <signal name="TrustAdded">
                        <arg type="s"/>
                </signal>
                <signal name="TrustRemoved">
                        <arg type="s"/>
                </signal>
        </interface>
</node>