Interface

PhoshDBusOfonoNetworkRegistration

Description [src]

interface Phosh.DBusOfonoNetworkRegistration : GObject.Object

Abstract interface type for the D-Bus interface org.ofono.NetworkRegistration.

Prerequisite

In order to implement DBusOfonoNetworkRegistration, your type must inherit fromGObject.

Functions

phosh_dbus_ofono_network_registration_interface_info

Gets a machine-readable description of the org.ofono.NetworkRegistration D-Bus interface.

phosh_dbus_ofono_network_registration_override_properties

Overrides all GObject properties in the PhoshDBusOfonoNetworkRegistration interface for a concrete class. The properties are overridden in the order they are defined.

Instance methods

phosh_dbus_ofono_network_registration_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_network_registration_call_get_properties_finish() to get the result of the operation.

phosh_dbus_ofono_network_registration_call_get_properties_finish

Finishes an operation started with phosh_dbus_ofono_network_registration_call_get_properties().

phosh_dbus_ofono_network_registration_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_network_registration_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.

phosh_dbus_ofono_network_registration_emit_property_changed

Emits the PropertyChanged” D-Bus signal.

Signals

Phosh.DBusOfonoNetworkRegistration::handle-get-properties

Signal emitted when a remote caller is invoking the GetProperties() D-Bus method.

Phosh.DBusOfonoNetworkRegistration::property-changed

On the client-side, this signal is emitted whenever the D-Bus signal PropertyChanged” is received.

Interface structure

struct PhoshDBusOfonoNetworkRegistrationIface {
  GTypeInterface parent_iface;
  gboolean (* handle_get_properties) (
    PhoshDBusOfonoNetworkRegistration* object,
    GDBusMethodInvocation* invocation
  );
  void (* property_changed) (
    PhoshDBusOfonoNetworkRegistration* object,
    const gchar* arg_unnamed_arg0,
    GVariant* arg_unnamed_arg1
  );
  
}

Virtual table for the D-Bus interface org.ofono.NetworkRegistration.

Interface members
parent_iface
GTypeInterface
 

The parent interface.

handle_get_properties
gboolean (* handle_get_properties) (
    PhoshDBusOfonoNetworkRegistration* object,
    GDBusMethodInvocation* invocation
  )
 

Handler for the PhoshDBusOfonoNetworkRegistration::handle-get-properties signal.

property_changed
void (* property_changed) (
    PhoshDBusOfonoNetworkRegistration* object,
    const gchar* arg_unnamed_arg0,
    GVariant* arg_unnamed_arg1
  )
 

Handler for the PhoshDBusOfonoNetworkRegistration::property-changed signal.

Virtual methods

Phosh.DBusOfonoNetworkRegistration.handle_get_properties

Handler for the PhoshDBusOfonoNetworkRegistration::handle-get-properties signal.

Phosh.DBusOfonoNetworkRegistration.property_changed

Handler for the PhoshDBusOfonoNetworkRegistration::property-changed signal.