TelepathyGLib.HandleChannelsContext¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/co |
The |
||
r/w/co |
The TpChannels that have been passed to HandleChannels |
||
r/w/co |
The |
||
r/w/co |
The |
||
r/w/co |
The User_Action_Time that has been passed to HandleChannels |
Signals¶
- Inherited:
Name |
Short Description |
|---|---|
Emitted when |
Fields¶
- Inherited:
Class Details¶
- class TelepathyGLib.HandleChannelsContext(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Data structure representing the context of a Handler.HandleChannels() call.
New in version 0.11.6.
- accept()¶
Called by
TelepathyGLib.BaseClientClassAddDispatchOperationImplwhen it’s done so the D-Bus method can return.The caller is responsible for closing channels with tp_cli_channel_call_close() when it has finished handling them.
New in version 0.11.6.
- delay()¶
Called by
TelepathyGLib.BaseClientClassAddDispatchOperationImplto indicate that it implements the method in an async way. The caller must take a reference to theTelepathyGLib.HandleChannelsContextbefore calling this function, and is responsible for calling eitherTelepathyGLib.HandleChannelsContext.accept() orTelepathyGLib.HandleChannelsContext.fail() later.New in version 0.11.6.
- fail(error)¶
- Parameters:
error (
GLib.Error) – the error to return from the method
Called by
TelepathyGLib.BaseClientClassAddDispatchOperationImplto raise a D-Bus error.New in version 0.11.6.
- get_handler_info()¶
- Returns:
extensible extra handler information, in a form suitable for use with
TelepathyGLib.asv_get_string() etc.- Return type:
{
str:GObject.Value}
Return any extra information that accompanied this request to handle channels (the Handler_Info argument from the HandleChannels D-Bus method). Well-known keys for this map will be defined by the Telepathy D-Bus Interface Specification; at the time of writing, none have been defined.
The returned hash table is only valid for as long as self is.
New in version 0.11.14.
- get_requests()¶
- Returns:
a newly allocated
GLib.Listof reffedTelepathyGLib.ChannelRequest.- Return type:
Return a list of the
TelepathyGLib.ChannelRequestwhich have been satisfied by the channels associated with #self.New in version 0.13.14.
Signal Details¶
- TelepathyGLib.HandleChannelsContext.signals.done(handle_channels_context)¶
- Signal Name:
done- Flags:
- Parameters:
handle_channels_context (
TelepathyGLib.HandleChannelsContext) – The object which received the signal
Emitted when
TelepathyGLib.HandleChannelsContext.accepthas been called on self.New in version 0.11.6.
Property Details¶
- TelepathyGLib.HandleChannelsContext.props.account¶
- Name:
account- Type:
- Default Value:
- Flags:
A
TelepathyGLib.Accountobject representing the Account of the DispatchOperation that has been passed to HandleChannels. Read-only except during construction.This property can’t be
None.New in version 0.11.6.
- TelepathyGLib.HandleChannelsContext.props.channels¶
- Name:
channels- Type:
- Default Value:
- Flags:
A
GLib.PtrArraycontainingTelepathyGLib.Channelobjects representing the channels that have been passed to HandleChannels. Read-only except during construction.This property can’t be
None.New in version 0.11.6.
- TelepathyGLib.HandleChannelsContext.props.connection¶
- Name:
connection- Type:
- Default Value:
- Flags:
A
TelepathyGLib.Connectionobject representing the Connection of the DispatchOperation that has been passed to HandleChannels. Read-only except during construction.This property can’t be
None.New in version 0.11.6.
- TelepathyGLib.HandleChannelsContext.props.requests_satisfied¶
- Name:
requests-satisfied- Type:
- Default Value:
- Flags:
A
GLib.PtrArraycontainingTelepathyGLib.ChannelRequestobjects representing the requests that have been passed to HandleChannels. Read-only except during construction.This property can’t be
None.New in version 0.11.6.
- TelepathyGLib.HandleChannelsContext.props.user_action_time¶
- Name:
user-action-time- Type:
- Default Value:
0- Flags:
The time at which user action occurred, or one of the special values
TelepathyGLib.USER_ACTION_TIME_NOT_USER_ACTIONor %TP_USER_ACTION_TIME_CURRENT_TIME (seeTelepathyGLib.AccountChannelRequest:user-action-timefor details)Read-only except during construction.
New in version 0.11.6.