ModemManager.ModemVoice¶
- Subclasses:
None
Methods¶
- Inherited:
ModemManager.GdbusModemVoiceProxy (6), Gio.DBusProxy (25), GObject.Object (37), Gio.AsyncInitable (4), Gio.DBusInterface (3), Gio.Initable (2), ModemManager.GdbusModemVoice (40)
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Signals¶
Fields¶
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
Class Details¶
- class ModemManager.ModemVoice(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
ModemManager.ModemVoicestructure contains private data and should only be accessed using the provided API.- call_waiting_query(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously queries the status of the call waiting network service.
When the operation is finished, callback will be invoked in the
thread-default main loopof the thread you are calling this method from. You can then callModemManager.ModemVoice.call_waiting_query_finish() to get the result of the operation.See
ModemManager.ModemVoice.call_waiting_query_sync() for the synchronous, blocking version of this method.New in version 1.12.
- call_waiting_query_finish(res, status)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.ModemVoice.call_waiting_query().status (
bool) – Output location where to store the status.
- Raises:
- Returns:
- Return type:
Finishes an operation started with
ModemManager.ModemVoice.call_waiting_query().New in version 1.12.
- call_waiting_query_sync(cancellable, status)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.status (
bool) – Output location where to store the status.
- Raises:
- Returns:
- Return type:
Synchronously queries the status of the call waiting network service.
The calling thread is blocked until a reply is received. See
ModemManager.ModemVoice.call_waiting_query() for the asynchronous version of this method.New in version 1.12.
- call_waiting_setup(enable, cancellable, callback, *user_data)¶
- Parameters:
enable (
bool) – Whether the call waiting service should be enabled.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously enables or disables the call waiting network service.
When the operation is finished, callback will be invoked in the
thread-default main loopof the thread you are calling this method from. You can then callModemManager.ModemVoice.call_waiting_setup_finish() to get the result of the operation.See
ModemManager.ModemVoice.call_waiting_setup_sync() for the synchronous, blocking version of this method.New in version 1.12.
- call_waiting_setup_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.ModemVoice.call_waiting_setup().- Raises:
- Returns:
- Return type:
Finishes an operation started with
ModemManager.ModemVoice.call_waiting_setup().New in version 1.12.
- call_waiting_setup_sync(enable, cancellable)¶
- Parameters:
enable (
bool) – Whether the call waiting service should be enabled.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
Synchronously enables or disables the call waiting network service.
The calling thread is blocked until a reply is received. See
ModemManager.ModemVoice.call_waiting_setup() for the asynchronous version of this method.New in version 1.12.
- create_call(properties, cancellable, callback, *user_data)¶
- Parameters:
properties (
ModemManager.CallProperties) – A #:obj:ModemManager.CallProperties object with the properties to use.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously creates a new
ModemManager.Callin the modem.When the operation is finished, callback will be invoked in the
thread-default main loopof the thread you are calling this method from. You can then callModemManager.ModemVoice.create_call_finish() to get the result of the operation.See
ModemManager.ModemVoice.create_call_sync() for the synchronous, blocking version of this method.New in version 1.6.
- create_call_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.ModemVoice.create_call().- Raises:
- Returns:
A newly created
ModemManager.Call, orNoneif error is set. The returned value should be freed withGObject.Object.unref().- Return type:
Finishes an operation started with
ModemManager.ModemVoice.create_call().New in version 1.6.
- create_call_sync(properties, cancellable)¶
- Parameters:
properties (
ModemManager.CallProperties) – A #:obj:ModemManager.CallProperties object with the properties to use.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
A newly created
ModemManager.Call, orNoneif error is set. The returned value should be freed withGObject.Object.unref().- Return type:
Synchronously creates a new
ModemManager.Callin the modem.The calling thread is blocked until a reply is received. See
ModemManager.ModemVoice.create_call() for the asynchronous version of this method.New in version 1.6.
- delete_call(call, cancellable, callback, *user_data)¶
- Parameters:
call (
str) – Path of theModemManager.Callto delete.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously deletes a given
ModemManager.Callfrom the modem.When the operation is finished, callback will be invoked in the
thread-default main loopof the thread you are calling this method from. You can then callModemManager.ModemVoice.delete_call_finish() to get the result of the operation.See
ModemManager.ModemVoice.delete_call_sync() for the synchronous, blocking version of this method.New in version 1.6.
- delete_call_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.ModemVoice.delete_call().- Raises:
- Returns:
- Return type:
Finishes an operation started with
ModemManager.ModemVoice.delete_call().New in version 1.6.
- delete_call_sync(call, cancellable)¶
- Parameters:
call (
str) – Path of theModemManager.Callto delete.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
- Returns:
- Return type:
Synchronously deletes a given
ModemManager.Callfrom the modem.The calling thread is blocked until a reply is received. See
ModemManager.ModemVoice.delete_call() for the asynchronous version of this method.New in version 1.6.
- dup_path()¶
- Returns:
The DBus path of the
ModemManager.Object. The returned value should be freed withGLib.free().- Return type:
Gets a copy of the DBus path of the
ModemManager.Objectobject which implements this interface.New in version 1.6.
- get_emergency_only()¶
-
Checks whether emergency calls only are allowed.
New in version 1.12.
- get_path()¶
- Returns:
The DBus path of the
ModemManager.Objectobject.- Return type:
Gets the DBus path of the
ModemManager.Objectwhich implements this interface.New in version 1.6.
- hangup_all(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously hangs up all ongoing (active, waiting, held) calls.
When the operation is finished, callback will be invoked in the
thread-default main loopof the thread you are calling this method from. You can then callModemManager.ModemVoice.hangup_all_finish() to get the result of the operation.See
ModemManager.ModemVoice.hangup_all_sync() for the synchronous, blocking version of this method.New in version 1.12.
- hangup_all_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.ModemVoice.hangup_all().- Raises:
- Returns:
Trueif the operation was successful,Falseif error is set.- Return type:
Finishes an operation started with
ModemManager.ModemVoice.hangup_all().New in version 1.12.
- hangup_all_sync(cancellable)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.- Raises:
- Returns:
Trueif the operation was successful,Falseif error is set.- Return type:
Synchronously hangs up all ongoing (active, waiting, held) calls.
The calling thread is blocked until a reply is received. See
ModemManager.ModemVoice.hangup_all() for the asynchronous version of this method.New in version 1.12.
- hangup_and_accept(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously hangs up all active calls and accepts the next waiting or held call.
When the operation is finished, callback will be invoked in the
thread-default main loopof the thread you are calling this method from. You can then callModemManager.ModemVoice.hangup_and_accept_finish() to get the result of the operation.See
ModemManager.ModemVoice.hangup_and_accept_sync() for the synchronous, blocking version of this method.New in version 1.12.
- hangup_and_accept_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.ModemVoice.hangup_and_accept().- Raises:
- Returns:
Trueif the operation was successful,Falseif error is set.- Return type:
Finishes an operation started with
ModemManager.ModemVoice.hangup_and_accept().New in version 1.12.
- hangup_and_accept_sync(cancellable)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.- Raises:
- Returns:
Trueif the operation was successful,Falseif error is set.- Return type:
Synchronously hangs up all active calls and accepts the next waiting or held call.
The calling thread is blocked until a reply is received. See
ModemManager.ModemVoice.hangup_and_accept() for the asynchronous version of this method.New in version 1.12.
- hold_and_accept(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously puts all active calls on hold and accepts the next waiting or held call.
When the operation is finished, callback will be invoked in the
thread-default main loopof the thread you are calling this method from. You can then callModemManager.ModemVoice.hold_and_accept_finish() to get the result of the operation.See
ModemManager.ModemVoice.hold_and_accept_sync() for the synchronous, blocking version of this method.New in version 1.12.
- hold_and_accept_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.ModemVoice.hold_and_accept().- Raises:
- Returns:
Trueif the operation was successful,Falseif error is set.- Return type:
Finishes an operation started with
ModemManager.ModemVoice.hold_and_accept().New in version 1.12.
- hold_and_accept_sync(cancellable)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.- Raises:
- Returns:
Trueif the operation was successful,Falseif error is set.- Return type:
Synchronously puts all active calls on hold and accepts the next waiting or held call.
The calling thread is blocked until a reply is received. See
ModemManager.ModemVoice.hold_and_accept() for the asynchronous version of this method.New in version 1.12.
- list_calls(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously lists the
ModemManager.Callobjects in the modem.When the operation is finished, callback will be invoked in the
thread-default main loopof the thread you are calling this method from. You can then callModemManager.ModemVoice.list_calls_finish() to get the result of the operation.See
ModemManager.ModemVoice.list_calls_sync() for the synchronous, blocking version of this method.New in version 1.6.
- list_calls_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.ModemVoice.list_calls().- Raises:
- Returns:
A list of
ModemManager.Callobjects, orNoneif either not found or error is set. The returned value should be freed with g_list_free_full() usingGObject.Object.unref() asGLib.DestroyNotifyfunction.- Return type:
Finishes an operation started with
ModemManager.ModemVoice.list_calls().New in version 1.6.
- list_calls_sync(cancellable)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.- Raises:
- Returns:
A list of
ModemManager.Callobjects, orNoneif either not found or error is set. The returned value should be freed with g_list_free_full() usingGObject.Object.unref() asGLib.DestroyNotifyfunction.- Return type:
Synchronously lists the
ModemManager.Callobjects in the modem.The calling thread is blocked until a reply is received. See
ModemManager.ModemVoice.list_calls() for the asynchronous version of this method.New in version 1.6.
- transfer(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously joins all active and held calls, and disconnects from them.
When the operation is finished, callback will be invoked in the
thread-default main loopof the thread you are calling this method from. You can then callModemManager.ModemVoice.transfer_finish() to get the result of the operation.See
ModemManager.ModemVoice.transfer_sync() for the synchronous, blocking version of this method.New in version 1.12.
- transfer_finish(res)¶
- Parameters:
res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.ModemVoice.transfer().- Raises:
- Returns:
Trueif the operation was successful,Falseif error is set.- Return type:
Finishes an operation started with
ModemManager.ModemVoice.transfer().New in version 1.12.
- transfer_sync(cancellable)¶
- Parameters:
cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.- Raises:
- Returns:
Trueif the operation was successful,Falseif error is set.- Return type:
Synchronously joins all active and held calls, and disconnects from them.
The calling thread is blocked until a reply is received. See
ModemManager.ModemVoice.transfer() for the asynchronous version of this method.New in version 1.12.