Interface
PhoshDBusOfonoSimManager
Description [src]
interface Phosh.DBusOfonoSimManager : GObject.Object
Abstract interface type for the D-Bus interface org.ofono.SimManager.
Prerequisite
In order to implement DBusOfonoSimManager, your type must inherit fromGObject
.
Functions
phosh_dbus_ofono_sim_manager_interface_info
Gets a machine-readable description of the org.ofono.SimManager D-Bus interface.
phosh_dbus_ofono_sim_manager_override_properties
Overrides all GObject
properties in the PhoshDBusOfonoSimManager
interface for a concrete class.
The properties are overridden in the order they are defined.
Instance methods
phosh_dbus_ofono_sim_manager_call_get_properties
Asynchronously invokes the GetProperties() D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
You can then call phosh_dbus_ofono_sim_manager_call_get_properties_finish()
to get the result of the operation.
phosh_dbus_ofono_sim_manager_call_get_properties_finish
Finishes an operation started with phosh_dbus_ofono_sim_manager_call_get_properties().
phosh_dbus_ofono_sim_manager_call_get_properties_sync
Synchronously invokes the GetProperties() D-Bus method on proxy
. The calling thread is blocked until a reply is received.
phosh_dbus_ofono_sim_manager_complete_get_properties
Helper function used in service implementations to finish handling invocations of the GetProperties() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
Signals
Phosh.DBusOfonoSimManager::handle-get-properties
Signal emitted when a remote caller is invoking the GetProperties() D-Bus method.
Phosh.DBusOfonoSimManager::property-changed
On the client-side, this signal is emitted whenever the D-Bus signal “PropertyChanged” is received.
Interface structure
struct PhoshDBusOfonoSimManagerIface {
GTypeInterface parent_iface;
gboolean (* handle_get_properties) (
PhoshDBusOfonoSimManager* object,
GDBusMethodInvocation* invocation
);
void (* property_changed) (
PhoshDBusOfonoSimManager* object,
const gchar* arg_unnamed_arg0,
GVariant* arg_unnamed_arg1
);
}
Virtual table for the D-Bus interface org.ofono.SimManager.
Interface members
parent_iface |
|
The parent interface. |
|
handle_get_properties |
|
Handler for the |
|
property_changed |
|
Handler for the |
Virtual methods
Phosh.DBusOfonoSimManager.handle_get_properties
Handler for the PhoshDBusOfonoSimManager::handle-get-properties
signal.
Phosh.DBusOfonoSimManager.property_changed
Handler for the PhoshDBusOfonoSimManager::property-changed
signal.