TelepathyGLib.ClientChannelFactory¶
- Implementations:
TelepathyGLib.AutomaticProxyFactory
,TelepathyGLib.BasicProxyFactory
Methods¶
|
|
|
Virtual Methods¶
None
Properties¶
None
Signals¶
None
Fields¶
None
Class Details¶
- class TelepathyGLib.ClientChannelFactory¶
- Bases:
- Structure:
Opaque typedef representing a
GObject.Object
that implements the %TP_TYPE_CLIENT_CHANNEL_FACTORY interface.New in version 0.13.6.
- create_channel(conn, path, properties)¶
- Parameters:
conn (
TelepathyGLib.Connection
) – aTelepathyGLib.Connection
path (
str
) – the object path of the channelproperties ({
str
:GObject.Value
}) – the immutable properties of the channel
- Raises:
- Returns:
a new channel proxy, or
None
on invalid arguments- Return type:
Function called when a channel need to be created. Implementation can return a subclass of
TelepathyGLib.Channel
if they need to.Changed in 0.13.6: the function’s signature was previously wrong; it expected an object instance as its first parameter, but the type of the parameter was the type of the interface vtable.
New in version 0.13.2.
- dup_channel_features(channel)¶
- Parameters:
channel (
TelepathyGLib.Channel
) – aTelepathyGLib.Channel
- Returns:
a newly allocated
GLib.Array
- Return type:
[
int
]
Return a zero terminated
GLib.Array
containing theTelepathyGLib.Channel
features that should be prepared on channel.Changed in 0.13.6: the function’s signature was previously wrong; it expected an object instance as its first parameter, but the type of the parameter was the type of the interface vtable.
New in version 0.13.3.