### Class

# Phosh CallsManager

#### Description [src]

    final class Phosh.CallsManager : Phosh.Manager
      implements Gio.ListModel {
      /* No available fields */
    }

Track ongoing phone calls

`PhoshCallsManager` tracks on going calls on the org.gnome.Calls DBus interface and allows interaction with them by wrapping the `PhoshCallsDBusCallsCall` proxies in `PhoshCall` so all DBus and ObjectManager related logic stays local within `PhoshCallsManager`.

#### Ancestors

- PhoshManager
- GObject

#### Implements

- GListModel

#### Constructors

###### phosh_calls_manager_new

No description available.

#### Instance methods

###### phosh_calls_manager_get_active_call_handle

No description available.

###### phosh_calls_manager_get_call

Get the call associated with the given handle.

###### phosh_calls_manager_get_present

No description available.

###### phosh_calls_manager_has_incoming_call

Whether there’s currently an incoming call.

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

##### Methods inherited from GListModel (5)

###### g_list_model_get_item

Get the item at `position`.

###### g_list_model_get_item_type

Gets the type of the items in `list`.

###### g_list_model_get_n_items

Gets the number of items in `list`.

###### g_list_model_get_object

Get the item at `position`.

###### g_list_model_items_changed

Emits the `GListModel::items-changed` signal on `list`.

#### Properties

###### Phosh.CallsManager:active-call

The currently active call.

###### Phosh.CallsManager:present

Whether the call interface is present on the bus.

#### Signals

###### Phosh.CallsManager::call-added

No description available.

###### Phosh.CallsManager::call-removed

No description available.

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

##### Signals inherited from GListModel (1)

###### GListModel::items-changed

This signal is emitted whenever items were added to or removed from `list`. At `position`, `removed` items were removed and `added` items were added in their place.

#### Class structure

    struct PhoshCallsManagerClass {
      PhoshManagerClass parent_class;

    }

No description available.

###### Class members

`parent_class: PhoshManagerClass`

  No description available.