ModemManager.Modem3gppProfileManager

g GObject.GInterface GObject.GInterface Gio.AsyncInitable Gio.AsyncInitable GObject.GInterface->Gio.AsyncInitable Gio.DBusInterface Gio.DBusInterface GObject.GInterface->Gio.DBusInterface Gio.Initable Gio.Initable GObject.GInterface->Gio.Initable ModemManager.GdbusModem3gppProfileManager ModemManager.GdbusModem3gppProfileManager GObject.GInterface->ModemManager.GdbusModem3gppProfileManager GObject.Object GObject.Object Gio.DBusProxy Gio.DBusProxy GObject.Object->Gio.DBusProxy Gio.AsyncInitable->Gio.DBusProxy Gio.DBusInterface->Gio.DBusProxy ModemManager.GdbusModem3gppProfileManagerProxy ModemManager.GdbusModem3gppProfileManagerProxy Gio.DBusProxy->ModemManager.GdbusModem3gppProfileManagerProxy Gio.Initable->Gio.DBusProxy ModemManager.GdbusModem3gppProfileManager->ModemManager.GdbusModem3gppProfileManagerProxy ModemManager.Modem3gppProfileManager ModemManager.Modem3gppProfileManager ModemManager.GdbusModem3gppProfileManagerProxy->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:

GObject.ObjectClass (5)

delete (profile, cancellable, callback, *user_data)

delete_finish (res)

delete_sync (profile, cancellable)

dup_index_field ()

dup_path ()

get_index_field ()

get_path ()

list (cancellable, callback, *user_data)

list_finish (res)

list_sync (cancellable)

set (requested, cancellable, callback, *user_data)

set_finish (res)

set_sync (requested, cancellable)

Virtual Methods

Inherited:

Gio.DBusProxy (2), GObject.Object (7), Gio.AsyncInitable (2), Gio.DBusInterface (3), Gio.Initable (1), ModemManager.GdbusModem3gppProfileManager (4)

Properties

Inherited:

Gio.DBusProxy (9), ModemManager.GdbusModem3gppProfileManager (1)

Signals

Inherited:

Gio.DBusProxy (2), GObject.Object (1), ModemManager.GdbusModem3gppProfileManager (4)

Fields

Inherited:

Gio.DBusProxy (2), GObject.Object (1), ModemManager.GdbusModem3gppProfileManager (4)

Name

Type

Access

Description

parent

ModemManager.GdbusModem3gppProfileManagerProxy

r

unused

object

r

Class Details

class ModemManager.Modem3gppProfileManager(**kwargs)
Bases:

ModemManager.GdbusModem3gppProfileManagerProxy

Abstract:

No

Structure:

ModemManager.Modem3gppProfileManagerClass

The ModemManager.Modem3gppProfileManager structure contains private data and should only be accessed using the provided API.

delete(profile, cancellable, callback, *user_data)
Parameters:

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 loop of the thread you are calling this method from. You can then call ModemManager.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) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.Modem3gppProfileManager.delete().

Raises:

GLib.Error

Returns:

True if the operation was successful, False if error is set.

Return type:

bool

Finishes an operation started with ModemManager.Modem3gppProfileManager.delete().

New in version 1.18.

delete_sync(profile, cancellable)
Parameters:
Raises:

GLib.Error

Returns:

True if the operation was successful, False if error is set.

Return type:

bool

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 None if none available. The returned value should be freed with GLib.free().

Return type:

str

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 with GLib.free().

Return type:

str

Gets a copy of the DBus path of the ModemManager.Object object which implements this interface.

New in version 1.18.

get_index_field()
Returns:

The index field, or None if none available. Do not free the returned value, it belongs to self.

Return type:

str

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.Object object.

Return type:

str

Gets the DBus path of the ModemManager.Object which implements this interface.

New in version 1.18.

list(cancellable, callback, *user_data)
Parameters:

Asynchronously gets the list of available connection profiles.

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 ModemManager.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) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.Modem3gppProfileManager.list().

Raises:

GLib.Error

Returns:

True if the list was correctly retrieved, False if error is set.

profiles:

A list of ModemManager._3gppProfile objects available in the device. The returned value should be freed with g_list_free_full() using GObject.Object.unref() as GLib.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.Cancellable or None) – A Gio.Cancellable or None.

Raises:

GLib.Error

Returns:

True if the list was correctly retrieved, False if error is set.

profiles:

A list of ModemManager._3gppProfile objects available in the device. The returned value should be freed with g_list_free_full() using GObject.Object.unref() as GLib.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:

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 loop of the thread you are calling this method from. You can then call ModemManager.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) – The Gio.AsyncResult obtained from the Gio.AsyncReadyCallback passed to ModemManager.Modem3gppProfileManager.set().

Raises:

GLib.Error

Returns:

A ModemManager._3gppProfile with the stored settings, or None if 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:
Raises:

GLib.Error

Returns:

A ModemManager._3gppProfile with the stored settings, or None if 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.