### Interface

# Phosh OfonoDBusNetworkRegistration

#### Description [src]

    interface Phosh.OfonoDBusNetworkRegistration : GObject.Object

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

#### Prerequisite

In order to implement OfonoDBusNetworkRegistration, your type must inherit from`GObject`.

#### Implementations

- PhoshOfonoDBusNetworkRegistrationProxy
- PhoshOfonoDBusNetworkRegistrationSkeleton

#### Functions

###### phosh_ofono_dbus_network_registration_interface_info

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

###### phosh_ofono_dbus_network_registration_override_properties

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

#### Instance methods

###### phosh_ofono_dbus_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_ofono_dbus_network_registration_call_get_properties_finish()` to get the result of the operation.

###### phosh_ofono_dbus_network_registration_call_get_properties_finish

Finishes an operation started with phosh_ofono_dbus_network_registration_call_get_properties().

###### phosh_ofono_dbus_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_ofono_dbus_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_ofono_dbus_network_registration_emit_property_changed

Emits the “PropertyChanged” D-Bus signal.

#### Signals

###### Phosh.OfonoDBusNetworkRegistration::handle-get-properties

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

###### Phosh.OfonoDBusNetworkRegistration::property-changed

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

#### Interface structure

    struct PhoshOfonoDBusNetworkRegistrationIface {
      GTypeInterface parent_iface;
      gboolean (* handle_get_properties) (
        PhoshOfonoDBusNetworkRegistration* object,
        GDBusMethodInvocation* invocation
      );
      void (* property_changed) (
        PhoshOfonoDBusNetworkRegistration* 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) (
        PhoshOfonoDBusNetworkRegistration* object,
        GDBusMethodInvocation* invocation
      )
| Handler for the `PhoshOfonoDBusNetworkRegistration::handle-get-properties` signal.
`property_changed` |
    void (* property_changed) (
        PhoshOfonoDBusNetworkRegistration* object,
        const gchar* arg_unnamed_arg0,
        GVariant* arg_unnamed_arg1
      )
| Handler for the `PhoshOfonoDBusNetworkRegistration::property-changed` signal.

#### Virtual methods

###### Phosh.OfonoDBusNetworkRegistration.handle_get_properties

Handler for the `PhoshOfonoDBusNetworkRegistration::handle-get-properties` signal.

###### Phosh.OfonoDBusNetworkRegistration.property_changed

Handler for the `PhoshOfonoDBusNetworkRegistration::property-changed` signal.