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.BaseClientClassObserveChannelsImplwhen it’s done so the D-Bus method can return.New in version 0.11.5.
- delay()¶
 Called by
TelepathyGLib.BaseClientClassObserveChannelsImplto indicate that it implements the method in an async way. The caller must take a reference to theTelepathyGLib.ObserveChannelsContextbefore 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.BaseClientClassObserveChannelsImplto raise a D-Bus error.New in version 0.11.5.
- 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.
- 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.Accountobject 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.PtrArraycontainingTelepathyGLib.Channelobjects 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.Connectionobject 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.ChannelDispatchOperationobject representing the ChannelDispatchOperation that has been passed to ObserveChannels, orNoneif 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.PtrArraycontainingTelepathyGLib.ChannelRequestobjects 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.