### Interface

# Phosh CallsDBusCallsCall

#### Description [src]

    interface Phosh.CallsDBusCallsCall : GObject.Object

Abstract interface type for the D-Bus interface org.gnome.Calls.Call.

#### Prerequisite

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

#### Implementations

- PhoshCallsDBusCallsCallProxy
- PhoshCallsDBusCallsCallSkeleton

#### Functions

###### phosh_calls_dbus_calls_call_interface_info

Gets a machine-readable description of the org.gnome.Calls.Call D-Bus interface.

###### phosh_calls_dbus_calls_call_override_properties

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

#### Instance methods

###### phosh_calls_dbus_calls_call_call_accept

Asynchronously invokes the Accept() 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_calls_dbus_calls_call_call_accept_finish()` to get the result of the operation.

###### phosh_calls_dbus_calls_call_call_accept_finish

Finishes an operation started with phosh_calls_dbus_calls_call_call_accept().

###### phosh_calls_dbus_calls_call_call_accept_sync

Synchronously invokes the Accept() D-Bus method on `proxy`. The calling thread is blocked until a reply is received.

###### phosh_calls_dbus_calls_call_call_hangup

Asynchronously invokes the Hangup() 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_calls_dbus_calls_call_call_hangup_finish()` to get the result of the operation.

###### phosh_calls_dbus_calls_call_call_hangup_finish

Finishes an operation started with phosh_calls_dbus_calls_call_call_hangup().

###### phosh_calls_dbus_calls_call_call_hangup_sync

Synchronously invokes the Hangup() D-Bus method on `proxy`. The calling thread is blocked until a reply is received.

###### phosh_calls_dbus_calls_call_call_send_dtmf

Asynchronously invokes the SendDtmf() 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_calls_dbus_calls_call_call_send_dtmf_finish()` to get the result of the operation.

###### phosh_calls_dbus_calls_call_call_send_dtmf_finish

Finishes an operation started with phosh_calls_dbus_calls_call_call_send_dtmf().

###### phosh_calls_dbus_calls_call_call_send_dtmf_sync

Synchronously invokes the SendDtmf() D-Bus method on `proxy`. The calling thread is blocked until a reply is received.

###### phosh_calls_dbus_calls_call_complete_accept

Helper function used in service implementations to finish handling invocations of the Accept() 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_calls_dbus_calls_call_complete_hangup

Helper function used in service implementations to finish handling invocations of the Hangup() 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_calls_dbus_calls_call_complete_send_dtmf

Helper function used in service implementations to finish handling invocations of the SendDtmf() 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_calls_dbus_calls_call_dup_display_name

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

###### phosh_calls_dbus_calls_call_dup_id

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

###### phosh_calls_dbus_calls_call_dup_image_path

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

###### phosh_calls_dbus_calls_call_dup_protocol

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

###### phosh_calls_dbus_calls_call_get_can_dtmf

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

###### phosh_calls_dbus_calls_call_get_display_name

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

###### phosh_calls_dbus_calls_call_get_encrypted

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

###### phosh_calls_dbus_calls_call_get_id

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

###### phosh_calls_dbus_calls_call_get_image_path

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

###### phosh_calls_dbus_calls_call_get_inbound

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

###### phosh_calls_dbus_calls_call_get_protocol

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

###### phosh_calls_dbus_calls_call_get_state

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

###### phosh_calls_dbus_calls_call_set_can_dtmf

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

###### phosh_calls_dbus_calls_call_set_display_name

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

###### phosh_calls_dbus_calls_call_set_encrypted

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

###### phosh_calls_dbus_calls_call_set_id

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

###### phosh_calls_dbus_calls_call_set_image_path

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

###### phosh_calls_dbus_calls_call_set_inbound

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

###### phosh_calls_dbus_calls_call_set_protocol

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

###### phosh_calls_dbus_calls_call_set_state

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

#### Properties

###### Phosh.CallsDBusCallsCall:can-dtmf

Represents the D-Bus property “CanDtmf”.

###### Phosh.CallsDBusCallsCall:display-name

Represents the D-Bus property “DisplayName”.

###### Phosh.CallsDBusCallsCall:encrypted

Represents the D-Bus property “Encrypted”.

###### Phosh.CallsDBusCallsCall:id

Represents the D-Bus property “Id”.

###### Phosh.CallsDBusCallsCall:image-path

Represents the D-Bus property “ImagePath”.

###### Phosh.CallsDBusCallsCall:inbound

Represents the D-Bus property “Inbound”.

###### Phosh.CallsDBusCallsCall:protocol

Represents the D-Bus property “Protocol”.

###### Phosh.CallsDBusCallsCall:state

Represents the D-Bus property “State”.

#### Signals

###### Phosh.CallsDBusCallsCall::handle-accept

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

###### Phosh.CallsDBusCallsCall::handle-hangup

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

###### Phosh.CallsDBusCallsCall::handle-send-dtmf

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

#### Interface structure

    struct PhoshCallsDBusCallsCallIface {
      GTypeInterface parent_iface;
      gboolean (* handle_accept) (
        PhoshCallsDBusCallsCall* object,
        GDBusMethodInvocation* invocation
      );
      gboolean (* handle_hangup) (
        PhoshCallsDBusCallsCall* object,
        GDBusMethodInvocation* invocation
      );
      gboolean (* handle_send_dtmf) (
        PhoshCallsDBusCallsCall* object,
        GDBusMethodInvocation* invocation,
        const gchar* arg_Tone
      );
      gboolean (* get_can_dtmf) (
        PhoshCallsDBusCallsCall* object
      );
      const gchar* (* get_display_name) (
        PhoshCallsDBusCallsCall* object
      );
      gboolean (* get_encrypted) (
        PhoshCallsDBusCallsCall* object
      );
      const gchar* (* get_id) (
        PhoshCallsDBusCallsCall* object
      );
      const gchar* (* get_image_path) (
        PhoshCallsDBusCallsCall* object
      );
      gboolean (* get_inbound) (
        PhoshCallsDBusCallsCall* object
      );
      const gchar* (* get_protocol) (
        PhoshCallsDBusCallsCall* object
      );
      guint (* get_state) (
        PhoshCallsDBusCallsCall* object
      );

    }

Virtual table for the D-Bus interface org.gnome.Calls.Call.

###### Interface members

`parent_iface` |
    GTypeInterface
| The parent interface.
`handle_accept` |
    gboolean (* handle_accept) (
        PhoshCallsDBusCallsCall* object,
        GDBusMethodInvocation* invocation
      )
| Handler for the `PhoshCallsDBusCallsCall::handle-accept` signal.
`handle_hangup` |
    gboolean (* handle_hangup) (
        PhoshCallsDBusCallsCall* object,
        GDBusMethodInvocation* invocation
      )
| Handler for the `PhoshCallsDBusCallsCall::handle-hangup` signal.
`handle_send_dtmf` |
    gboolean (* handle_send_dtmf) (
        PhoshCallsDBusCallsCall* object,
        GDBusMethodInvocation* invocation,
        const gchar* arg_Tone
      )
| Handler for the `PhoshCallsDBusCallsCall::handle-send-dtmf` signal.
`get_can_dtmf` |
    gboolean (* get_can_dtmf) (
        PhoshCallsDBusCallsCall* object
      )
| Getter for the `PhoshCallsDBusCallsCall:can-dtmf` property.
`get_display_name` |
    const gchar* (* get_display_name) (
        PhoshCallsDBusCallsCall* object
      )
| Getter for the `PhoshCallsDBusCallsCall:display-name` property.
`get_encrypted` |
    gboolean (* get_encrypted) (
        PhoshCallsDBusCallsCall* object
      )
| Getter for the `PhoshCallsDBusCallsCall:encrypted` property.
`get_id` |
    const gchar* (* get_id) (
        PhoshCallsDBusCallsCall* object
      )
| Getter for the `PhoshCallsDBusCallsCall:id` property.
`get_image_path` |
    const gchar* (* get_image_path) (
        PhoshCallsDBusCallsCall* object
      )
| Getter for the `PhoshCallsDBusCallsCall:image-path` property.
`get_inbound` |
    gboolean (* get_inbound) (
        PhoshCallsDBusCallsCall* object
      )
| Getter for the `PhoshCallsDBusCallsCall:inbound` property.
`get_protocol` |
    const gchar* (* get_protocol) (
        PhoshCallsDBusCallsCall* object
      )
| Getter for the `PhoshCallsDBusCallsCall:protocol` property.
`get_state` |
    guint (* get_state) (
        PhoshCallsDBusCallsCall* object
      )
| Getter for the `PhoshCallsDBusCallsCall:state` property.

#### Virtual methods

###### Phosh.CallsDBusCallsCall.get_can_dtmf

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

###### Phosh.CallsDBusCallsCall.get_display_name

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

###### Phosh.CallsDBusCallsCall.get_encrypted

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

###### Phosh.CallsDBusCallsCall.get_id

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

###### Phosh.CallsDBusCallsCall.get_image_path

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

###### Phosh.CallsDBusCallsCall.get_inbound

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

###### Phosh.CallsDBusCallsCall.get_protocol

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

###### Phosh.CallsDBusCallsCall.get_state

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

###### Phosh.CallsDBusCallsCall.handle_accept

Handler for the `PhoshCallsDBusCallsCall::handle-accept` signal.

###### Phosh.CallsDBusCallsCall.handle_hangup

Handler for the `PhoshCallsDBusCallsCall::handle-hangup` signal.

###### Phosh.CallsDBusCallsCall.handle_send_dtmf

Handler for the `PhoshCallsDBusCallsCall::handle-send-dtmf` signal.