This interface is a silly example and is likely to cause havoc to your API/ABI if bindings are generated. Don't include it in libraries that care about compatibility.
Implementations of this interface must also implement:
This interface is an example of how Telepathy can be extended. For the purposes of this example, we pretend we're an organisation example.com that's adding a proprietary extension to Telepathy, so the extension is not in the main Telepathy namespace.Contact −
au (Contact_Handle[])Hats −
a(usua{sv}) (Contact_Hat[])org.freedesktop.Telepathy.Error.Disconnectedorg.freedesktop.Telepathy.Error.NetworkErrororg.freedesktop.Telepathy.Error.InvalidHandleorg.freedesktop.Telepathy.Error.PermissionDeniedorg.freedesktop.Telepathy.Error.NotAvailableColor −
sStyle −
u (Hat_Style)Properties −
a{sv} (String_Variant_Map)Contact −
u (Contact_Handle)Color −
sStyle −
u (Hat_Style)Properties −
a{sv} (String_Variant_Map)Interface has no Telepathy properties.
Interface has no D-Bus core properties.
Hat_Style_None = 0Hat_Style_Other = 1Hat_Style_Fedora = 2Hat_Style_Knitted = 3Hat_Style_Bowler = 4In bindings that need a separate name, arrays of Contact_Hat should be called Contact_Hat_List.
Contact −
u (Contact_Handle)Color −
sStyle −
u (Hat_Style)Properties −
a{sv} (String_Variant_Map)Contact_Handle
− uContact_Hat
− ( u, s, u, a{sv} )
Hat_Style
− uString_Variant_Map
− a{sv}