ModemManager.Modem3gppProfileManager¶
- Subclasses:
 None
Methods¶
- Inherited:
 ModemManager.GdbusModem3gppProfileManagerProxy (6), Gio.DBusProxy (25), GObject.Object (37), Gio.AsyncInitable (4), Gio.DBusInterface (3), Gio.Initable (2), ModemManager.GdbusModem3gppProfileManager (15)
- Structs:
 
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Virtual Methods¶
Properties¶
Signals¶
Fields¶
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent  | 
r  | 
||
unused  | 
r  | 
Class Details¶
- class ModemManager.Modem3gppProfileManager(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
The
ModemManager.Modem3gppProfileManagerstructure contains private data and should only be accessed using the provided API.- delete(profile, cancellable, callback, *user_data)¶
 - Parameters:
 profile (
ModemManager.3gppProfile) – AModemManager._3gppProfile.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously deletes the connection profile.
The profile should have at least the profile ID set for the delete operation to succeed.
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.Modem3gppProfileManager.delete_finish() to get the result of the operation.See
ModemManager.Modem3gppProfileManager.delete_sync() for the synchronous, blocking version of this method.New in version 1.18.
- delete_finish(res)¶
 - Parameters:
 res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.Modem3gppProfileManager.delete().- Raises:
 - Returns:
 Trueif the operation was successful,Falseif error is set.- Return type:
 
Finishes an operation started with
ModemManager.Modem3gppProfileManager.delete().New in version 1.18.
- delete_sync(profile, cancellable)¶
 - Parameters:
 profile (
ModemManager.3gppProfile) – AModemManager._3gppProfile.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
 - Returns:
 Trueif the operation was successful,Falseif error is set.- Return type:
 
Synchronously deletes the connection profile.
The profile should have at least the profile ID set for the delete operation to succeed.
The calling thread is blocked until a reply is received. See
ModemManager.Modem3gppProfileManager.delete() for the asynchronous version of this method.New in version 1.18.
- dup_index_field()¶
 - Returns:
 The index field, or
Noneif none available. The returned value should be freed withGLib.free().- Return type:
 
Gets a copy of the name of the field used as index in profile management operations.
New in version 1.20.
- 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.18.
- get_index_field()¶
 - Returns:
 The index field, or
Noneif none available. Do not free the returned value, it belongs to self.- Return type:
 
Gets the name of the field used as index in profile management operations.
New in version 1.20.
- 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.18.
- list(cancellable, callback, *user_data)¶
 - Parameters:
 cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously gets the list of available connection profiles.
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.Modem3gppProfileManager.list_finish() to get the result of the operation.See
ModemManager.Modem3gppProfileManager.list_sync() for the synchronous, blocking version of this method.New in version 1.18.
- list_finish(res)¶
 - Parameters:
 res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.Modem3gppProfileManager.list().- Raises:
 - Returns:
 Trueif the list was correctly retrieved,Falseif error is set.- profiles:
 A list of
ModemManager._3gppProfileobjects available in the device. The returned value should be freed with g_list_free_full() usingGObject.Object.unref() asGLib.DestroyNotify.
- Return type:
 (
bool, profiles: [ModemManager.3gppProfile])
Finishes an operation started with
ModemManager.Modem3gppProfileManager.list().New in version 1.18.
- list_sync(cancellable)¶
 - Parameters:
 cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.- Raises:
 - Returns:
 Trueif the list was correctly retrieved,Falseif error is set.- profiles:
 A list of
ModemManager._3gppProfileobjects available in the device. The returned value should be freed with g_list_free_full() usingGObject.Object.unref() asGLib.DestroyNotify.
- Return type:
 (
bool, profiles: [ModemManager.3gppProfile])
Synchronously gets the list of available connection profiles.
The calling thread is blocked until a reply is received. See
ModemManager.Modem3gppProfileManager.list() for the asynchronous version of this method.New in version 1.18.
- set(requested, cancellable, callback, *user_data)¶
 - Parameters:
 requested (
ModemManager.3gppProfile) – AModemManager._3gppProfilewith the requested settings.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.callback (
Gio.AsyncReadyCallbackorNone) – AGio.AsyncReadyCallbackto call when the request is satisfied orNone.
Asynchronously updates a connection profile with the settings given in profile.
If profile does not have an explicit profile ID set, a new profile will be created.
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.Modem3gppProfileManager.set_finish() to get the result of the operation.See
ModemManager.Modem3gppProfileManager.set_sync() for the synchronous, blocking version of this method.New in version 1.18.
- set_finish(res)¶
 - Parameters:
 res (
Gio.AsyncResult) – TheGio.AsyncResultobtained from theGio.AsyncReadyCallbackpassed toModemManager.Modem3gppProfileManager.set().- Raises:
 - Returns:
 A
ModemManager._3gppProfilewith the stored settings, orNoneif error is set.- Return type:
 ModemManager.3gppProfile
Finishes an operation started with
ModemManager.Modem3gppProfileManager.set().New in version 1.18.
- set_sync(requested, cancellable)¶
 - Parameters:
 requested (
ModemManager.3gppProfile) – AModemManager._3gppProfilewith the requested settings.cancellable (
Gio.CancellableorNone) – AGio.CancellableorNone.
- Raises:
 - Returns:
 A
ModemManager._3gppProfilewith the stored settings, orNoneif error is set.- Return type:
 ModemManager.3gppProfile
Synchronously updates a connection profile with the settings given in profile.
If profile does not have an explicit profile ID set, a new profile will be created.
The calling thread is blocked until a reply is received. See
ModemManager.Modem3gppProfileManager.set() for the asynchronous version of this method.New in version 1.18.