Qmi.ClientPbm¶
- Subclasses:
 None
Methods¶
- Inherited:
 - Structs:
 
  | 
|
  | 
|
  | 
|
  | 
|
Virtual Methods¶
- Inherited:
 
Properties¶
- Inherited:
 
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent  | 
r  | 
||
priv_unused  | 
r  | 
Class Details¶
- class Qmi.ClientPbm(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
The
Qmi.ClientPbmstructure contains private data and should only be accessed using the provided API.New in version 1.6.
- get_all_capabilities(unused, timeout, cancellable, callback, *user_data)¶
 - Parameters:
 unused (
objectorNone) –None. This message doesn’t have any input bundle.timeout (
int) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.CancellableorNone) – aGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto call when the request is satisfied.
Asynchronously sends a Get All Capabilities request to the device.
When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call
Qmi.ClientPbm.get_all_capabilities_finish() to get the result of the operation.New in version 1.6.
- get_all_capabilities_finish(res)¶
 - Parameters:
 res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientPbm.get_all_capabilities().- Raises:
 - Returns:
 a
Qmi.MessagePbmGetAllCapabilitiesOutput, orNoneif error is set. The returned value should be freed withQmi.MessagePbmGetAllCapabilitiesOutput.unref().- Return type:
 
Finishes an async operation started with
Qmi.ClientPbm.get_all_capabilities().New in version 1.6.
- get_capabilities(input, timeout, cancellable, callback, *user_data)¶
 - Parameters:
 input (
Qmi.MessagePbmGetCapabilitiesInput) – aQmi.MessagePbmGetCapabilitiesInput.timeout (
int) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.CancellableorNone) – aGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto call when the request is satisfied.
Asynchronously sends a Get Capabilities request to the device.
When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call
Qmi.ClientPbm.get_capabilities_finish() to get the result of the operation.New in version 1.6.
- get_capabilities_finish(res)¶
 - Parameters:
 res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientPbm.get_capabilities().- Raises:
 - Returns:
 a
Qmi.MessagePbmGetCapabilitiesOutput, orNoneif error is set. The returned value should be freed withQmi.MessagePbmGetCapabilitiesOutput.unref().- Return type:
 
Finishes an async operation started with
Qmi.ClientPbm.get_capabilities().New in version 1.6.
- indication_register(input, timeout, cancellable, callback, *user_data)¶
 - Parameters:
 input (
Qmi.MessagePbmIndicationRegisterInput) – aQmi.MessagePbmIndicationRegisterInput.timeout (
int) – maximum time to wait for the method to complete, in seconds.cancellable (
Gio.CancellableorNone) – aGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – aGio.AsyncReadyCallbackto call when the request is satisfied.
Asynchronously sends a Indication Register request to the device.
When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call
Qmi.ClientPbm.indication_register_finish() to get the result of the operation.New in version 1.6.
- indication_register_finish(res)¶
 - Parameters:
 res (
Gio.AsyncResult) – theGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toQmi.ClientPbm.indication_register().- Raises:
 - Returns:
 a
Qmi.MessagePbmIndicationRegisterOutput, orNoneif error is set. The returned value should be freed withQmi.MessagePbmIndicationRegisterOutput.unref().- Return type:
 
Finishes an async operation started with
Qmi.ClientPbm.indication_register().New in version 1.6.