TelepathyGLib.ObserveChannelsContext¶
- 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 ObserveChannels |
||
r/w/co |
The |
||
r/w/co |
The |
||
r/w/co |
The |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class TelepathyGLib.ObserveChannelsContext(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Data structure representing the context of a Observer.ObserveChannels() call.
New in version 0.11.5.
- accept()¶
Called by
TelepathyGLib.BaseClientClassObserveChannelsImpl
when it’s done so the D-Bus method can return.New in version 0.11.5.
- delay()¶
Called by
TelepathyGLib.BaseClientClassObserveChannelsImpl
to indicate that it implements the method in an async way. The caller must take a reference to theTelepathyGLib.ObserveChannelsContext
before calling this function, and is responsible for calling eitherTelepathyGLib.ObserveChannelsContext.accept
() orTelepathyGLib.ObserveChannelsContext.fail
() later.New in version 0.11.5.
- fail(error)¶
- Parameters:
error (
GLib.Error
) – the error to return from the method
Called by
TelepathyGLib.BaseClientClassObserveChannelsImpl
to raise a D-Bus error.New in version 0.11.5.
- get_requests()¶
- Returns:
a newly allocated
GLib.List
of reffedTelepathyGLib.ChannelRequest
.- Return type:
Return a list of the
TelepathyGLib.ChannelRequest
which have been satisfied by the channels associated with #self.New in version 0.13.14.
- is_recovering()¶
-
If this call to ObserveChannels is for channels that already existed before this observer started (because the observer used
TelepathyGLib.BaseClient.set_observer_recover
()), returnTrue
.In most cases, the result is
False
.New in version 0.11.5.
Property Details¶
- TelepathyGLib.ObserveChannelsContext.props.account¶
- Name:
account
- Type:
- Default Value:
- Flags:
A
TelepathyGLib.Account
object representing the Account that has been passed to ObserveChannels. Read-only except during construction.This property can’t be
None
.New in version 0.11.5.
- TelepathyGLib.ObserveChannelsContext.props.channels¶
- Name:
channels
- Type:
- Default Value:
- Flags:
A
GLib.PtrArray
containingTelepathyGLib.Channel
objects representing the channels that have been passed to ObserveChannels. Read-only except during construction.This property can’t be
None
.New in version 0.11.5.
- TelepathyGLib.ObserveChannelsContext.props.connection¶
- Name:
connection
- Type:
- Default Value:
- Flags:
A
TelepathyGLib.Connection
object representing the Connection that has been passed to ObserveChannels. Read-only except during construction.This property can’t be
None
.New in version 0.11.5.
- TelepathyGLib.ObserveChannelsContext.props.dispatch_operation¶
- Name:
dispatch-operation
- Type:
- Default Value:
- Flags:
A
TelepathyGLib.ChannelDispatchOperation
object representing the ChannelDispatchOperation that has been passed to ObserveChannels, orNone
if none has been passed. Read-only except during construction.New in version 0.11.5.
- TelepathyGLib.ObserveChannelsContext.props.requests¶
- Name:
requests
- Type:
- Default Value:
- Flags:
A
GLib.PtrArray
containingTelepathyGLib.ChannelRequest
objects representing the requests that have been passed to ObserveChannels. Read-only except during construction.This property can’t be
None
.New in version 0.11.5.