### Interface

# Phosh MMDBusModem

since: 0

#### Description [src]

    interface Phosh.MMDBusModem : GObject.Object

Abstract interface type for the D-Bus interface org.freedesktop.ModemManager1.Modem.

Available since: 0

#### Prerequisite

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

#### Implementations

- PhoshMMDBusModemProxy
- PhoshMMDBusModemSkeleton

#### Functions

###### phosh_mm_dbus_modem_interface_info

Gets a machine-readable description of the org.freedesktop.ModemManager1.Modem D-Bus interface.

since: 0

###### phosh_mm_dbus_modem_override_properties

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

since: 0

#### Instance methods

###### phosh_mm_dbus_modem_dup_signal_quality

Gets a copy of the “SignalQuality” D-Bus property.

since: 0

###### phosh_mm_dbus_modem_dup_sim

Gets a copy of the “Sim” D-Bus property.

since: 0

###### phosh_mm_dbus_modem_get_access_technologies

Gets the value of the “AccessTechnologies” D-Bus property.

since: 0

###### phosh_mm_dbus_modem_get_signal_quality

Gets the value of the “SignalQuality” D-Bus property.

since: 0

###### phosh_mm_dbus_modem_get_sim

Gets the value of the “Sim” D-Bus property.

since: 0

###### phosh_mm_dbus_modem_get_state

Gets the value of the “State” D-Bus property.

since: 0

###### phosh_mm_dbus_modem_get_unlock_required

Gets the value of the “UnlockRequired” D-Bus property.

since: 0

###### phosh_mm_dbus_modem_set_access_technologies

Sets the “AccessTechnologies” D-Bus property to `value`.

since: 0

###### phosh_mm_dbus_modem_set_signal_quality

Sets the “SignalQuality” D-Bus property to `value`.

since: 0

###### phosh_mm_dbus_modem_set_sim

Sets the “Sim” D-Bus property to `value`.

since: 0

###### phosh_mm_dbus_modem_set_state

Sets the “State” D-Bus property to `value`.

since: 0

###### phosh_mm_dbus_modem_set_unlock_required

Sets the “UnlockRequired” D-Bus property to `value`.

since: 0

#### Properties

###### Phosh.MMDBusModem:access-technologies

Represents the D-Bus property “AccessTechnologies”.

since: 0

###### Phosh.MMDBusModem:signal-quality

Represents the D-Bus property “SignalQuality”.

since: 0

###### Phosh.MMDBusModem:sim

Represents the D-Bus property “Sim”.

since: 0

###### Phosh.MMDBusModem:state

Represents the D-Bus property “State”.

since: 0

###### Phosh.MMDBusModem:unlock-required

Represents the D-Bus property “UnlockRequired”.

since: 0

#### Interface structure

    struct PhoshMMDBusModemIface {
      GTypeInterface parent_iface;
      guint (* get_access_technologies) (
        PhoshMMDBusModem* object
      );
      GVariant* (* get_signal_quality) (
        PhoshMMDBusModem* object
      );
      const gchar* (* get_sim) (
        PhoshMMDBusModem* object
      );
      gint (* get_state) (
        PhoshMMDBusModem* object
      );
      guint (* get_unlock_required) (
        PhoshMMDBusModem* object
      );

    }

Virtual table for the D-Bus interface org.freedesktop.ModemManager1.Modem.

###### Interface members

`parent_iface`

    GTypeInterface

| The parent interface.

`get_access_technologies`

    guint (* get_access_technologies) (
        PhoshMMDBusModem* object
      )

| Getter for the `PhoshMMDBusModem:access-technologies` property.

`get_signal_quality`

    GVariant* (* get_signal_quality) (
        PhoshMMDBusModem* object
      )

| Getter for the `PhoshMMDBusModem:signal-quality` property.

`get_sim`

    const gchar* (* get_sim) (
        PhoshMMDBusModem* object
      )

| Getter for the `PhoshMMDBusModem:sim` property.

`get_state`

    gint (* get_state) (
        PhoshMMDBusModem* object
      )

| Getter for the `PhoshMMDBusModem:state` property.

`get_unlock_required`

    guint (* get_unlock_required) (
        PhoshMMDBusModem* object
      )

| Getter for the `PhoshMMDBusModem:unlock-required` property.

#### Virtual methods

###### Phosh.MMDBusModem.get_access_technologies

Gets the value of the “AccessTechnologies” D-Bus property.

since: 0

###### Phosh.MMDBusModem.get_signal_quality

Gets the value of the “SignalQuality” D-Bus property.

since: 0

###### Phosh.MMDBusModem.get_sim

Gets the value of the “Sim” D-Bus property.

since: 0

###### Phosh.MMDBusModem.get_state

Gets the value of the “State” D-Bus property.

since: 0

###### Phosh.MMDBusModem.get_unlock_required

Gets the value of the “UnlockRequired” D-Bus property.

since: 0