PhoshCallsDBusObjectManagerClient

PhoshCallsDBusObjectManagerClient

Functions

GDBusInterfaceInfo * phosh_calls_dbus_calls_call_interface_info ()
guint phosh_calls_dbus_calls_call_override_properties ()
void phosh_calls_dbus_calls_call_complete_accept ()
void phosh_calls_dbus_calls_call_complete_hangup ()
void phosh_calls_dbus_calls_call_complete_send_dtmf ()
void phosh_calls_dbus_calls_call_call_accept ()
gboolean phosh_calls_dbus_calls_call_call_accept_finish ()
gboolean phosh_calls_dbus_calls_call_call_accept_sync ()
void phosh_calls_dbus_calls_call_call_hangup ()
gboolean phosh_calls_dbus_calls_call_call_hangup_finish ()
gboolean phosh_calls_dbus_calls_call_call_hangup_sync ()
void phosh_calls_dbus_calls_call_call_send_dtmf ()
gboolean phosh_calls_dbus_calls_call_call_send_dtmf_finish ()
gboolean phosh_calls_dbus_calls_call_call_send_dtmf_sync ()
gboolean phosh_calls_dbus_calls_call_get_inbound ()
void phosh_calls_dbus_calls_call_set_inbound ()
guint phosh_calls_dbus_calls_call_get_state ()
void phosh_calls_dbus_calls_call_set_state ()
const gchar * phosh_calls_dbus_calls_call_get_id ()
gchar * phosh_calls_dbus_calls_call_dup_id ()
void phosh_calls_dbus_calls_call_set_id ()
const gchar * phosh_calls_dbus_calls_call_get_display_name ()
gchar * phosh_calls_dbus_calls_call_dup_display_name ()
void phosh_calls_dbus_calls_call_set_display_name ()
const gchar * phosh_calls_dbus_calls_call_get_image_path ()
gchar * phosh_calls_dbus_calls_call_dup_image_path ()
void phosh_calls_dbus_calls_call_set_image_path ()
const gchar * phosh_calls_dbus_calls_call_get_protocol ()
gchar * phosh_calls_dbus_calls_call_dup_protocol ()
void phosh_calls_dbus_calls_call_set_protocol ()
gboolean phosh_calls_dbus_calls_call_get_encrypted ()
void phosh_calls_dbus_calls_call_set_encrypted ()
gboolean phosh_calls_dbus_calls_call_get_can_dtmf ()
void phosh_calls_dbus_calls_call_set_can_dtmf ()
void phosh_calls_dbus_calls_call_proxy_new ()
PhoshCallsDBusCallsCall * phosh_calls_dbus_calls_call_proxy_new_finish ()
PhoshCallsDBusCallsCall * phosh_calls_dbus_calls_call_proxy_new_sync ()
void phosh_calls_dbus_calls_call_proxy_new_for_bus ()
PhoshCallsDBusCallsCall * phosh_calls_dbus_calls_call_proxy_new_for_bus_finish ()
PhoshCallsDBusCallsCall * phosh_calls_dbus_calls_call_proxy_new_for_bus_sync ()
PhoshCallsDBusCallsCall * phosh_calls_dbus_calls_call_skeleton_new ()
PhoshCallsDBusCallsCall * phosh_calls_dbus_object_get_calls_call ()
PhoshCallsDBusCallsCall * phosh_calls_dbus_object_peek_calls_call ()
PhoshCallsDBusObjectProxy * phosh_calls_dbus_object_proxy_new ()
PhoshCallsDBusObjectSkeleton * phosh_calls_dbus_object_skeleton_new ()
void phosh_calls_dbus_object_skeleton_set_calls_call ()
GType phosh_calls_dbus_object_manager_client_get_proxy_type ()
void phosh_calls_dbus_object_manager_client_new ()
GDBusObjectManager * phosh_calls_dbus_object_manager_client_new_finish ()
GDBusObjectManager * phosh_calls_dbus_object_manager_client_new_sync ()
void phosh_calls_dbus_object_manager_client_new_for_bus ()
GDBusObjectManager * phosh_calls_dbus_object_manager_client_new_for_bus_finish ()
GDBusObjectManager * phosh_calls_dbus_object_manager_client_new_for_bus_sync ()

Properties

gboolean can-dtmf Read / Write
char * display-name Read / Write
gboolean encrypted Read / Write
char * id Read / Write
char * image-path Read / Write
gboolean inbound Read / Write
char * protocol Read / Write
guint state Read / Write
PhoshCallsDBusCallsCall * calls-call Read / Write

Signals

Types and Values

Object Hierarchy

    GInterface
    ├── PhoshCallsDBusCallsCall
    ╰── PhoshCallsDBusObject
    GObject
    ├── GDBusInterfaceSkeleton
       ╰── PhoshCallsDBusCallsCallSkeleton
    ├── GDBusObjectManagerClient
       ╰── PhoshCallsDBusObjectManagerClient
    ├── GDBusObjectProxy
       ╰── PhoshCallsDBusObjectProxy
    ├── GDBusObjectSkeleton
       ╰── PhoshCallsDBusObjectSkeleton
    ╰── GDBusProxy
        ╰── PhoshCallsDBusCallsCallProxy

Prerequisites

PhoshCallsDBusCallsCall requires GObject.

PhoshCallsDBusObject requires GDBusObject and GObject.

Implemented Interfaces

PhoshCallsDBusCallsCallProxy implements GDBusInterface, GInitable, GAsyncInitable and PhoshCallsDBusCallsCall.

PhoshCallsDBusCallsCallSkeleton implements GDBusInterface and PhoshCallsDBusCallsCall.

PhoshCallsDBusObjectProxy implements GDBusObject and PhoshCallsDBusObject.

PhoshCallsDBusObjectSkeleton implements GDBusObject and PhoshCallsDBusObject.

PhoshCallsDBusObjectManagerClient implements GInitable, GAsyncInitable and GDBusObjectManager.

Known Implementations

PhoshCallsDBusCallsCall is implemented by PhoshCallsDBusCallsCallProxy and PhoshCallsDBusCallsCallSkeleton.

PhoshCallsDBusObject is implemented by PhoshCallsDBusObjectProxy and PhoshCallsDBusObjectSkeleton.

Description

Functions

phosh_calls_dbus_calls_call_interface_info ()

GDBusInterfaceInfo *
phosh_calls_dbus_calls_call_interface_info
                               (void);

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

Returns

A GDBusInterfaceInfo. Do not free.

[transfer none]


phosh_calls_dbus_calls_call_override_properties ()

guint
phosh_calls_dbus_calls_call_override_properties
                               (GObjectClass *klass,
                                guint property_id_begin);

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

Parameters

klass

The class structure for a GObject derived class.

 

property_id_begin

The property id to assign to the first overridden property.

 

Returns

The last property id.


phosh_calls_dbus_calls_call_complete_accept ()

void
phosh_calls_dbus_calls_call_complete_accept
                               (PhoshCallsDBusCallsCall *object,
                                GDBusMethodInvocation *invocation);

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.

This method will free invocation , you cannot use it afterwards.

Parameters

object

A PhoshCallsDBusCallsCall.

 

invocation

A GDBusMethodInvocation.

[transfer full]

phosh_calls_dbus_calls_call_complete_hangup ()

void
phosh_calls_dbus_calls_call_complete_hangup
                               (PhoshCallsDBusCallsCall *object,
                                GDBusMethodInvocation *invocation);

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.

This method will free invocation , you cannot use it afterwards.

Parameters

object

A PhoshCallsDBusCallsCall.

 

invocation

A GDBusMethodInvocation.

[transfer full]

phosh_calls_dbus_calls_call_complete_send_dtmf ()

void
phosh_calls_dbus_calls_call_complete_send_dtmf
                               (PhoshCallsDBusCallsCall *object,
                                GDBusMethodInvocation *invocation);

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.

This method will free invocation , you cannot use it afterwards.

Parameters

object

A PhoshCallsDBusCallsCall.

 

invocation

A GDBusMethodInvocation.

[transfer full]

phosh_calls_dbus_calls_call_call_accept ()

void
phosh_calls_dbus_calls_call_call_accept
                               (PhoshCallsDBusCallsCall *proxy,
                                GCancellable *cancellable,
                                GAsyncReadyCallback callback,
                                gpointer user_data);

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.

See phosh_calls_dbus_calls_call_call_accept_sync() for the synchronous, blocking version of this method.

Parameters

proxy

A PhoshCallsDBusCallsCallProxy.

 

cancellable

A GCancellable or NULL.

[nullable]

callback

A GAsyncReadyCallback to call when the request is satisfied or NULL.

 

user_data

User data to pass to callback .

 

phosh_calls_dbus_calls_call_call_accept_finish ()

gboolean
phosh_calls_dbus_calls_call_call_accept_finish
                               (PhoshCallsDBusCallsCall *proxy,
                                GAsyncResult *res,
                                GError **error);

Finishes an operation started with phosh_calls_dbus_calls_call_call_accept().

Parameters

proxy

A PhoshCallsDBusCallsCallProxy.

 

res

The GAsyncResult obtained from the GAsyncReadyCallback passed to phosh_calls_dbus_calls_call_call_accept().

 

error

Return location for error or NULL.

 

Returns

TRUE if the call succeeded, FALSE if error is set.

[skip]


phosh_calls_dbus_calls_call_call_accept_sync ()

gboolean
phosh_calls_dbus_calls_call_call_accept_sync
                               (PhoshCallsDBusCallsCall *proxy,
                                GCancellable *cancellable,
                                GError **error);

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

See phosh_calls_dbus_calls_call_call_accept() for the asynchronous version of this method.

Parameters

proxy

A PhoshCallsDBusCallsCallProxy.

 

cancellable

A GCancellable or NULL.

[nullable]

error

Return location for error or NULL.

 

Returns

TRUE if the call succeeded, FALSE if error is set.

[skip]


phosh_calls_dbus_calls_call_call_hangup ()

void
phosh_calls_dbus_calls_call_call_hangup
                               (PhoshCallsDBusCallsCall *proxy,
                                GCancellable *cancellable,
                                GAsyncReadyCallback callback,
                                gpointer user_data);

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.

See phosh_calls_dbus_calls_call_call_hangup_sync() for the synchronous, blocking version of this method.

Parameters

proxy

A PhoshCallsDBusCallsCallProxy.

 

cancellable

A GCancellable or NULL.

[nullable]

callback

A GAsyncReadyCallback to call when the request is satisfied or NULL.

 

user_data

User data to pass to callback .

 

phosh_calls_dbus_calls_call_call_hangup_finish ()

gboolean
phosh_calls_dbus_calls_call_call_hangup_finish
                               (PhoshCallsDBusCallsCall *proxy,
                                GAsyncResult *res,
                                GError **error);

Finishes an operation started with phosh_calls_dbus_calls_call_call_hangup().

Parameters

proxy

A PhoshCallsDBusCallsCallProxy.

 

res

The GAsyncResult obtained from the GAsyncReadyCallback passed to phosh_calls_dbus_calls_call_call_hangup().

 

error

Return location for error or NULL.

 

Returns

TRUE if the call succeeded, FALSE if error is set.

[skip]


phosh_calls_dbus_calls_call_call_hangup_sync ()

gboolean
phosh_calls_dbus_calls_call_call_hangup_sync
                               (PhoshCallsDBusCallsCall *proxy,
                                GCancellable *cancellable,
                                GError **error);

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

See phosh_calls_dbus_calls_call_call_hangup() for the asynchronous version of this method.

Parameters

proxy

A PhoshCallsDBusCallsCallProxy.

 

cancellable

A GCancellable or NULL.

[nullable]

error

Return location for error or NULL.

 

Returns

TRUE if the call succeeded, FALSE if error is set.

[skip]


phosh_calls_dbus_calls_call_call_send_dtmf ()

void
phosh_calls_dbus_calls_call_call_send_dtmf
                               (PhoshCallsDBusCallsCall *proxy,
                                const gchar *arg_Tone,
                                GCancellable *cancellable,
                                GAsyncReadyCallback callback,
                                gpointer user_data);

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.

See phosh_calls_dbus_calls_call_call_send_dtmf_sync() for the synchronous, blocking version of this method.

Parameters

proxy

A PhoshCallsDBusCallsCallProxy.

 

arg_Tone

Argument to pass with the method invocation.

 

cancellable

A GCancellable or NULL.

[nullable]

callback

A GAsyncReadyCallback to call when the request is satisfied or NULL.

 

user_data

User data to pass to callback .

 

phosh_calls_dbus_calls_call_call_send_dtmf_finish ()

gboolean
phosh_calls_dbus_calls_call_call_send_dtmf_finish
                               (PhoshCallsDBusCallsCall *proxy,
                                GAsyncResult *res,
                                GError **error);

Finishes an operation started with phosh_calls_dbus_calls_call_call_send_dtmf().

Parameters

proxy

A PhoshCallsDBusCallsCallProxy.

 

res

The GAsyncResult obtained from the GAsyncReadyCallback passed to phosh_calls_dbus_calls_call_call_send_dtmf().

 

error

Return location for error or NULL.

 

Returns

TRUE if the call succeeded, FALSE if error is set.

[skip]


phosh_calls_dbus_calls_call_call_send_dtmf_sync ()

gboolean
phosh_calls_dbus_calls_call_call_send_dtmf_sync
                               (PhoshCallsDBusCallsCall *proxy,
                                const gchar *arg_Tone,
                                GCancellable *cancellable,
                                GError **error);

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

See phosh_calls_dbus_calls_call_call_send_dtmf() for the asynchronous version of this method.

Parameters

proxy

A PhoshCallsDBusCallsCallProxy.

 

arg_Tone

Argument to pass with the method invocation.

 

cancellable

A GCancellable or NULL.

[nullable]

error

Return location for error or NULL.

 

Returns

TRUE if the call succeeded, FALSE if error is set.

[skip]


phosh_calls_dbus_calls_call_get_inbound ()

gboolean
phosh_calls_dbus_calls_call_get_inbound
                               (PhoshCallsDBusCallsCall *object);

Gets the value of the "Inbound" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

[skip]

Parameters

Returns

The property value.


phosh_calls_dbus_calls_call_set_inbound ()

void
phosh_calls_dbus_calls_call_set_inbound
                               (PhoshCallsDBusCallsCall *object,
                                gboolean value);

Sets the "Inbound" D-Bus property to value .

Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.

[skip]

Parameters

object

A PhoshCallsDBusCallsCall.

 

value

The value to set.

 

phosh_calls_dbus_calls_call_get_state ()

guint
phosh_calls_dbus_calls_call_get_state (PhoshCallsDBusCallsCall *object);

Gets the value of the "State" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

[skip]

Parameters

Returns

The property value.


phosh_calls_dbus_calls_call_set_state ()

void
phosh_calls_dbus_calls_call_set_state (PhoshCallsDBusCallsCall *object,
                                       guint value);

Sets the "State" D-Bus property to value .

Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.

[skip]

Parameters

object

A PhoshCallsDBusCallsCall.

 

value

The value to set.

 

phosh_calls_dbus_calls_call_get_id ()

const gchar *
phosh_calls_dbus_calls_call_get_id (PhoshCallsDBusCallsCall *object);

Gets the value of the "Id" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object was constructed. Use phosh_calls_dbus_calls_call_dup_id() if on another thread.

[skip]

Parameters

Returns

The property value or NULL if the property is not set. Do not free the returned value, it belongs to object .

[transfer none][nullable]


phosh_calls_dbus_calls_call_dup_id ()

gchar *
phosh_calls_dbus_calls_call_dup_id (PhoshCallsDBusCallsCall *object);

Gets a copy of the "Id" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

[skip]

Parameters

Returns

The property value or NULL if the property is not set. The returned value should be freed with g_free().

[transfer full][nullable]


phosh_calls_dbus_calls_call_set_id ()

void
phosh_calls_dbus_calls_call_set_id (PhoshCallsDBusCallsCall *object,
                                    const gchar *value);

Sets the "Id" D-Bus property to value .

Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.

[skip]

Parameters

object

A PhoshCallsDBusCallsCall.

 

value

The value to set.

 

phosh_calls_dbus_calls_call_get_display_name ()

const gchar *
phosh_calls_dbus_calls_call_get_display_name
                               (PhoshCallsDBusCallsCall *object);

Gets the value of the "DisplayName" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object was constructed. Use phosh_calls_dbus_calls_call_dup_display_name() if on another thread.

[skip]

Parameters

Returns

The property value or NULL if the property is not set. Do not free the returned value, it belongs to object .

[transfer none][nullable]


phosh_calls_dbus_calls_call_dup_display_name ()

gchar *
phosh_calls_dbus_calls_call_dup_display_name
                               (PhoshCallsDBusCallsCall *object);

Gets a copy of the "DisplayName" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

[skip]

Parameters

Returns

The property value or NULL if the property is not set. The returned value should be freed with g_free().

[transfer full][nullable]


phosh_calls_dbus_calls_call_set_display_name ()

void
phosh_calls_dbus_calls_call_set_display_name
                               (PhoshCallsDBusCallsCall *object,
                                const gchar *value);

Sets the "DisplayName" D-Bus property to value .

Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.

[skip]

Parameters

object

A PhoshCallsDBusCallsCall.

 

value

The value to set.

 

phosh_calls_dbus_calls_call_get_image_path ()

const gchar *
phosh_calls_dbus_calls_call_get_image_path
                               (PhoshCallsDBusCallsCall *object);

Gets the value of the "ImagePath" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object was constructed. Use phosh_calls_dbus_calls_call_dup_image_path() if on another thread.

[skip]

Parameters

Returns

The property value or NULL if the property is not set. Do not free the returned value, it belongs to object .

[transfer none][nullable]


phosh_calls_dbus_calls_call_dup_image_path ()

gchar *
phosh_calls_dbus_calls_call_dup_image_path
                               (PhoshCallsDBusCallsCall *object);

Gets a copy of the "ImagePath" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

[skip]

Parameters

Returns

The property value or NULL if the property is not set. The returned value should be freed with g_free().

[transfer full][nullable]


phosh_calls_dbus_calls_call_set_image_path ()

void
phosh_calls_dbus_calls_call_set_image_path
                               (PhoshCallsDBusCallsCall *object,
                                const gchar *value);

Sets the "ImagePath" D-Bus property to value .

Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.

[skip]

Parameters

object

A PhoshCallsDBusCallsCall.

 

value

The value to set.

 

phosh_calls_dbus_calls_call_get_protocol ()

const gchar *
phosh_calls_dbus_calls_call_get_protocol
                               (PhoshCallsDBusCallsCall *object);

Gets the value of the "Protocol" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object was constructed. Use phosh_calls_dbus_calls_call_dup_protocol() if on another thread.

[skip]

Parameters

Returns

The property value or NULL if the property is not set. Do not free the returned value, it belongs to object .

[transfer none][nullable]


phosh_calls_dbus_calls_call_dup_protocol ()

gchar *
phosh_calls_dbus_calls_call_dup_protocol
                               (PhoshCallsDBusCallsCall *object);

Gets a copy of the "Protocol" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

[skip]

Parameters

Returns

The property value or NULL if the property is not set. The returned value should be freed with g_free().

[transfer full][nullable]


phosh_calls_dbus_calls_call_set_protocol ()

void
phosh_calls_dbus_calls_call_set_protocol
                               (PhoshCallsDBusCallsCall *object,
                                const gchar *value);

Sets the "Protocol" D-Bus property to value .

Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.

[skip]

Parameters

object

A PhoshCallsDBusCallsCall.

 

value

The value to set.

 

phosh_calls_dbus_calls_call_get_encrypted ()

gboolean
phosh_calls_dbus_calls_call_get_encrypted
                               (PhoshCallsDBusCallsCall *object);

Gets the value of the "Encrypted" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

[skip]

Parameters

Returns

The property value.


phosh_calls_dbus_calls_call_set_encrypted ()

void
phosh_calls_dbus_calls_call_set_encrypted
                               (PhoshCallsDBusCallsCall *object,
                                gboolean value);

Sets the "Encrypted" D-Bus property to value .

Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.

[skip]

Parameters

object

A PhoshCallsDBusCallsCall.

 

value

The value to set.

 

phosh_calls_dbus_calls_call_get_can_dtmf ()

gboolean
phosh_calls_dbus_calls_call_get_can_dtmf
                               (PhoshCallsDBusCallsCall *object);

Gets the value of the "CanDtmf" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

[skip]

Parameters

Returns

The property value.


phosh_calls_dbus_calls_call_set_can_dtmf ()

void
phosh_calls_dbus_calls_call_set_can_dtmf
                               (PhoshCallsDBusCallsCall *object,
                                gboolean value);

Sets the "CanDtmf" D-Bus property to value .

Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.

[skip]

Parameters

object

A PhoshCallsDBusCallsCall.

 

value

The value to set.

 

phosh_calls_dbus_calls_call_proxy_new ()

void
phosh_calls_dbus_calls_call_proxy_new (GDBusConnection *connection,
                                       GDBusProxyFlags flags,
                                       const gchar *name,
                                       const gchar *object_path,
                                       GCancellable *cancellable,
                                       GAsyncReadyCallback callback,
                                       gpointer user_data);

Asynchronously creates a proxy for the D-Bus interface org.gnome.Calls.Call. See g_dbus_proxy_new() for more details.

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

See phosh_calls_dbus_calls_call_proxy_new_sync() for the synchronous, blocking version of this constructor.

Parameters

connection

A GDBusConnection.

 

flags

Flags from the GDBusProxyFlags enumeration.

 

name

A bus name (well-known or unique) or NULL if connection is not a message bus connection.

[nullable]

object_path

An object path.

 

cancellable

A GCancellable or NULL.

[nullable]

callback

A GAsyncReadyCallback to call when the request is satisfied.

 

user_data

User data to pass to callback .

 

phosh_calls_dbus_calls_call_proxy_new_finish ()

PhoshCallsDBusCallsCall *
phosh_calls_dbus_calls_call_proxy_new_finish
                               (GAsyncResult *res,
                                GError **error);

Finishes an operation started with phosh_calls_dbus_calls_call_proxy_new().

Parameters

res

The GAsyncResult obtained from the GAsyncReadyCallback passed to phosh_calls_dbus_calls_call_proxy_new().

 

error

Return location for error or NULL

 

Returns

The constructed proxy object or NULL if error is set.

[transfer full][type PhoshCallsDBusCallsCallProxy]


phosh_calls_dbus_calls_call_proxy_new_sync ()

PhoshCallsDBusCallsCall *
phosh_calls_dbus_calls_call_proxy_new_sync
                               (GDBusConnection *connection,
                                GDBusProxyFlags flags,
                                const gchar *name,
                                const gchar *object_path,
                                GCancellable *cancellable,
                                GError **error);

Synchronously creates a proxy for the D-Bus interface org.gnome.Calls.Call. See g_dbus_proxy_new_sync() for more details.

The calling thread is blocked until a reply is received.

See phosh_calls_dbus_calls_call_proxy_new() for the asynchronous version of this constructor.

Parameters

connection

A GDBusConnection.

 

flags

Flags from the GDBusProxyFlags enumeration.

 

name

A bus name (well-known or unique) or NULL if connection is not a message bus connection.

[nullable]

object_path

An object path.

 

cancellable

A GCancellable or NULL.

[nullable]

error

Return location for error or NULL

 

Returns

The constructed proxy object or NULL if error is set.

[transfer full][type PhoshCallsDBusCallsCallProxy]


phosh_calls_dbus_calls_call_proxy_new_for_bus ()

void
phosh_calls_dbus_calls_call_proxy_new_for_bus
                               (GBusType bus_type,
                                GDBusProxyFlags flags,
                                const gchar *name,
                                const gchar *object_path,
                                GCancellable *cancellable,
                                GAsyncReadyCallback callback,
                                gpointer user_data);

Like phosh_calls_dbus_calls_call_proxy_new() but takes a GBusType instead of a GDBusConnection.

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

See phosh_calls_dbus_calls_call_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.

Parameters

bus_type

A GBusType.

 

flags

Flags from the GDBusProxyFlags enumeration.

 

name

A bus name (well-known or unique).

 

object_path

An object path.

 

cancellable

A GCancellable or NULL.

[nullable]

callback

A GAsyncReadyCallback to call when the request is satisfied.

 

user_data

User data to pass to callback .

 

phosh_calls_dbus_calls_call_proxy_new_for_bus_finish ()

PhoshCallsDBusCallsCall *
phosh_calls_dbus_calls_call_proxy_new_for_bus_finish
                               (GAsyncResult *res,
                                GError **error);

Finishes an operation started with phosh_calls_dbus_calls_call_proxy_new_for_bus().

Parameters

res

The GAsyncResult obtained from the GAsyncReadyCallback passed to phosh_calls_dbus_calls_call_proxy_new_for_bus().

 

error

Return location for error or NULL

 

Returns

The constructed proxy object or NULL if error is set.

[transfer full][type PhoshCallsDBusCallsCallProxy]


phosh_calls_dbus_calls_call_proxy_new_for_bus_sync ()

PhoshCallsDBusCallsCall *
phosh_calls_dbus_calls_call_proxy_new_for_bus_sync
                               (GBusType bus_type,
                                GDBusProxyFlags flags,
                                const gchar *name,
                                const gchar *object_path,
                                GCancellable *cancellable,
                                GError **error);

Like phosh_calls_dbus_calls_call_proxy_new_sync() but takes a GBusType instead of a GDBusConnection.

The calling thread is blocked until a reply is received.

See phosh_calls_dbus_calls_call_proxy_new_for_bus() for the asynchronous version of this constructor.

Parameters

bus_type

A GBusType.

 

flags

Flags from the GDBusProxyFlags enumeration.

 

name

A bus name (well-known or unique).

 

object_path

An object path.

 

cancellable

A GCancellable or NULL.

[nullable]

error

Return location for error or NULL

 

Returns

The constructed proxy object or NULL if error is set.

[transfer full][type PhoshCallsDBusCallsCallProxy]


phosh_calls_dbus_calls_call_skeleton_new ()

PhoshCallsDBusCallsCall *
phosh_calls_dbus_calls_call_skeleton_new
                               (void);

Creates a skeleton object for the D-Bus interface org.gnome.Calls.Call.

Returns

The skeleton object.

[transfer full][type PhoshCallsDBusCallsCallSkeleton]


phosh_calls_dbus_object_get_calls_call ()

PhoshCallsDBusCallsCall *
phosh_calls_dbus_object_get_calls_call
                               (PhoshCallsDBusObject *object);

Gets the PhoshCallsDBusCallsCall instance for the D-Bus interface org.gnome.Calls.Call on object , if any.

Parameters

object

A PhoshCallsDBusObject.

 

Returns

A PhoshCallsDBusCallsCall that must be freed with g_object_unref() or NULL if object does not implement the interface.

[transfer full][nullable]


phosh_calls_dbus_object_peek_calls_call ()

PhoshCallsDBusCallsCall *
phosh_calls_dbus_object_peek_calls_call
                               (PhoshCallsDBusObject *object);

Like phosh_calls_dbus_object_get_calls_call() but doesn't increase the reference count on the returned object.

It is not safe to use the returned object if you are on another thread than the one where the GDBusObjectManagerClient or GDBusObjectManagerServer for object is running.

[skip]

Parameters

object

A PhoshCallsDBusObject.

 

Returns

A PhoshCallsDBusCallsCall or NULL if object does not implement the interface. Do not free the returned object, it is owned by object .

[transfer none][nullable]


phosh_calls_dbus_object_proxy_new ()

PhoshCallsDBusObjectProxy *
phosh_calls_dbus_object_proxy_new (GDBusConnection *connection,
                                   const gchar *object_path);

Creates a new proxy object.

Parameters

connection

A GDBusConnection.

 

object_path

An object path.

 

Returns

The proxy object.

[transfer full]


phosh_calls_dbus_object_skeleton_new ()

PhoshCallsDBusObjectSkeleton *
phosh_calls_dbus_object_skeleton_new (const gchar *object_path);

Creates a new skeleton object.

Parameters

object_path

An object path.

 

Returns

The skeleton object.

[transfer full]


phosh_calls_dbus_object_skeleton_set_calls_call ()

void
phosh_calls_dbus_object_skeleton_set_calls_call
                               (PhoshCallsDBusObjectSkeleton *object,
                                PhoshCallsDBusCallsCall *interface_);

Sets the PhoshCallsDBusCallsCall instance for the D-Bus interface org.gnome.Calls.Call on object .

Parameters

object

A PhoshCallsDBusObjectSkeleton.

 

interface_

A PhoshCallsDBusCallsCall or NULL to clear the interface.

[nullable]

phosh_calls_dbus_object_manager_client_get_proxy_type ()

GType
phosh_calls_dbus_object_manager_client_get_proxy_type
                               (GDBusObjectManagerClient *manager,
                                const gchar *object_path,
                                const gchar *interface_name,
                                gpointer user_data);

A GDBusProxyTypeFunc that maps interface_name to the generated GDBusObjectProxy derived and GDBusProxy derived types.

Parameters

manager

A GDBusObjectManagerClient.

 

object_path

The object path of the remote object (unused).

 

interface_name

Interface name of the remote object or NULL to get the object proxy GType.

[nullable]

user_data

User data (unused).

 

Returns

A GDBusProxy derived GType if interface_name is not NULL, otherwise the GType for PhoshCallsDBusObjectProxy.


phosh_calls_dbus_object_manager_client_new ()

void
phosh_calls_dbus_object_manager_client_new
                               (GDBusConnection *connection,
                                GDBusObjectManagerClientFlags flags,
                                const gchar *name,
                                const gchar *object_path,
                                GCancellable *cancellable,
                                GAsyncReadyCallback callback,
                                gpointer user_data);

Asynchronously creates GDBusObjectManagerClient using phosh_calls_dbus_object_manager_client_get_proxy_type() as the GDBusProxyTypeFunc. See g_dbus_object_manager_client_new() for more details.

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

See phosh_calls_dbus_object_manager_client_new_sync() for the synchronous, blocking version of this constructor.

Parameters

connection

A GDBusConnection.

 

flags

Flags from the GDBusObjectManagerClientFlags enumeration.

 

name

A bus name (well-known or unique) or NULL if connection is not a message bus connection.

[nullable]

object_path

An object path.

 

cancellable

A GCancellable or NULL.

[nullable]

callback

A GAsyncReadyCallback to call when the request is satisfied.

 

user_data

User data to pass to callback .

 

phosh_calls_dbus_object_manager_client_new_finish ()

GDBusObjectManager *
phosh_calls_dbus_object_manager_client_new_finish
                               (GAsyncResult *res,
                                GError **error);

Finishes an operation started with phosh_calls_dbus_object_manager_client_new().

Parameters

res

The GAsyncResult obtained from the GAsyncReadyCallback passed to phosh_calls_dbus_object_manager_client_new().

 

error

Return location for error or NULL

 

Returns

The constructed object manager client or NULL if error is set.

[transfer full][type PhoshCallsDBusObjectManagerClient]


phosh_calls_dbus_object_manager_client_new_sync ()

GDBusObjectManager *
phosh_calls_dbus_object_manager_client_new_sync
                               (GDBusConnection *connection,
                                GDBusObjectManagerClientFlags flags,
                                const gchar *name,
                                const gchar *object_path,
                                GCancellable *cancellable,
                                GError **error);

Synchronously creates GDBusObjectManagerClient using phosh_calls_dbus_object_manager_client_get_proxy_type() as the GDBusProxyTypeFunc. See g_dbus_object_manager_client_new_sync() for more details.

The calling thread is blocked until a reply is received.

See phosh_calls_dbus_object_manager_client_new() for the asynchronous version of this constructor.

Parameters

connection

A GDBusConnection.

 

flags

Flags from the GDBusObjectManagerClientFlags enumeration.

 

name

A bus name (well-known or unique) or NULL if connection is not a message bus connection.

[nullable]

object_path

An object path.

 

cancellable

A GCancellable or NULL.

[nullable]

error

Return location for error or NULL

 

Returns

The constructed object manager client or NULL if error is set.

[transfer full][type PhoshCallsDBusObjectManagerClient]


phosh_calls_dbus_object_manager_client_new_for_bus ()

void
phosh_calls_dbus_object_manager_client_new_for_bus
                               (GBusType bus_type,
                                GDBusObjectManagerClientFlags flags,
                                const gchar *name,
                                const gchar *object_path,
                                GCancellable *cancellable,
                                GAsyncReadyCallback callback,
                                gpointer user_data);

Like phosh_calls_dbus_object_manager_client_new() but takes a GBusType instead of a GDBusConnection.

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

See phosh_calls_dbus_object_manager_client_new_for_bus_sync() for the synchronous, blocking version of this constructor.

Parameters

bus_type

A GBusType.

 

flags

Flags from the GDBusObjectManagerClientFlags enumeration.

 

name

A bus name (well-known or unique).

 

object_path

An object path.

 

cancellable

A GCancellable or NULL.

[nullable]

callback

A GAsyncReadyCallback to call when the request is satisfied.

 

user_data

User data to pass to callback .

 

phosh_calls_dbus_object_manager_client_new_for_bus_finish ()

GDBusObjectManager *
phosh_calls_dbus_object_manager_client_new_for_bus_finish
                               (GAsyncResult *res,
                                GError **error);

Finishes an operation started with phosh_calls_dbus_object_manager_client_new_for_bus().

Parameters

res

The GAsyncResult obtained from the GAsyncReadyCallback passed to phosh_calls_dbus_object_manager_client_new_for_bus().

 

error

Return location for error or NULL

 

Returns

The constructed object manager client or NULL if error is set.

[transfer full][type PhoshCallsDBusObjectManagerClient]


phosh_calls_dbus_object_manager_client_new_for_bus_sync ()

GDBusObjectManager *
phosh_calls_dbus_object_manager_client_new_for_bus_sync
                               (GBusType bus_type,
                                GDBusObjectManagerClientFlags flags,
                                const gchar *name,
                                const gchar *object_path,
                                GCancellable *cancellable,
                                GError **error);

Like phosh_calls_dbus_object_manager_client_new_sync() but takes a GBusType instead of a GDBusConnection.

The calling thread is blocked until a reply is received.

See phosh_calls_dbus_object_manager_client_new_for_bus() for the asynchronous version of this constructor.

Parameters

bus_type

A GBusType.

 

flags

Flags from the GDBusObjectManagerClientFlags enumeration.

 

name

A bus name (well-known or unique).

 

object_path

An object path.

 

cancellable

A GCancellable or NULL.

[nullable]

error

Return location for error or NULL

 

Returns

The constructed object manager client or NULL if error is set.

[transfer full][type PhoshCallsDBusObjectManagerClient]

Types and Values

struct PhoshCallsDBusCallsCallIface

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.

Members

GTypeInterface parent_iface;

The parent interface.

 

handle_accept ()

Handler for the “handle-accept” signal.

 

handle_hangup ()

Handler for the “handle-hangup” signal.

 

handle_send_dtmf ()

Handler for the “handle-send-dtmf” signal.

 

get_can_dtmf ()

Getter for the “can-dtmf” property.

 

get_display_name ()

Getter for the “display-name” property.

 

get_encrypted ()

Getter for the “encrypted” property.

 

get_id ()

Getter for the “id” property.

 

get_image_path ()

Getter for the “image-path” property.

 

get_inbound ()

Getter for the “inbound” property.

 

get_protocol ()

Getter for the “protocol” property.

 

get_state ()

Getter for the “state” property.

 

struct PhoshCallsDBusCallsCallProxy

struct PhoshCallsDBusCallsCallProxy;

The PhoshCallsDBusCallsCallProxy structure contains only private data and should only be accessed using the provided API.


struct PhoshCallsDBusCallsCallProxyClass

struct PhoshCallsDBusCallsCallProxyClass {
  GDBusProxyClass parent_class;
};

Class structure for PhoshCallsDBusCallsCallProxy.

Members


struct PhoshCallsDBusCallsCallSkeleton

struct PhoshCallsDBusCallsCallSkeleton;

The PhoshCallsDBusCallsCallSkeleton structure contains only private data and should only be accessed using the provided API.


struct PhoshCallsDBusCallsCallSkeletonClass

struct PhoshCallsDBusCallsCallSkeletonClass {
  GDBusInterfaceSkeletonClass parent_class;
};

Class structure for PhoshCallsDBusCallsCallSkeleton.

Members


struct PhoshCallsDBusObjectIface

struct PhoshCallsDBusObjectIface {
  GTypeInterface parent_iface;
};

Virtual table for the PhoshCallsDBusObject interface.

Members

GTypeInterface parent_iface;

The parent interface.

 

struct PhoshCallsDBusObjectProxy

struct PhoshCallsDBusObjectProxy;

The PhoshCallsDBusObjectProxy structure contains only private data and should only be accessed using the provided API.


struct PhoshCallsDBusObjectProxyClass

struct PhoshCallsDBusObjectProxyClass {
  GDBusObjectProxyClass parent_class;
};

Class structure for PhoshCallsDBusObjectProxy.

Members


struct PhoshCallsDBusObjectSkeleton

struct PhoshCallsDBusObjectSkeleton;

The PhoshCallsDBusObjectSkeleton structure contains only private data and should only be accessed using the provided API.


struct PhoshCallsDBusObjectSkeletonClass

struct PhoshCallsDBusObjectSkeletonClass {
  GDBusObjectSkeletonClass parent_class;
};

Class structure for PhoshCallsDBusObjectSkeleton.

Members


struct PhoshCallsDBusObjectManagerClient

struct PhoshCallsDBusObjectManagerClient;

The PhoshCallsDBusObjectManagerClient structure contains only private data and should only be accessed using the provided API.


struct PhoshCallsDBusObjectManagerClientClass

struct PhoshCallsDBusObjectManagerClientClass {
  GDBusObjectManagerClientClass parent_class;
};

Class structure for PhoshCallsDBusObjectManagerClient.

Members


PhoshCallsDBusCallsCall

typedef struct _PhoshCallsDBusCallsCall PhoshCallsDBusCallsCall;

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


PhoshCallsDBusCallsCallProxyPrivate

typedef struct _PhoshCallsDBusCallsCallProxyPrivate PhoshCallsDBusCallsCallProxyPrivate;

PhoshCallsDBusCallsCallSkeletonPrivate

typedef struct _PhoshCallsDBusCallsCallSkeletonPrivate PhoshCallsDBusCallsCallSkeletonPrivate;

PhoshCallsDBusObject

typedef struct _PhoshCallsDBusObject PhoshCallsDBusObject;

The PhoshCallsDBusObject type is a specialized container of interfaces.


PhoshCallsDBusObjectManagerClientPrivate

typedef struct _PhoshCallsDBusObjectManagerClientPrivate PhoshCallsDBusObjectManagerClientPrivate;

PhoshCallsDBusObjectProxyPrivate

typedef struct _PhoshCallsDBusObjectProxyPrivate PhoshCallsDBusObjectProxyPrivate;

PhoshCallsDBusObjectSkeletonPrivate

typedef struct _PhoshCallsDBusObjectSkeletonPrivate PhoshCallsDBusObjectSkeletonPrivate;

Property Details

The “can-dtmf” property

  “can-dtmf”                 gboolean

Represents the D-Bus property "CanDtmf".

Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

Owner: PhoshCallsDBusCallsCall

Flags: Read / Write

Default value: FALSE


The “display-name” property

  “display-name”             char *

Represents the D-Bus property "DisplayName".

Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

Owner: PhoshCallsDBusCallsCall

Flags: Read / Write

Default value: NULL


The “encrypted” property

  “encrypted”                gboolean

Represents the D-Bus property "Encrypted".

Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

Owner: PhoshCallsDBusCallsCall

Flags: Read / Write

Default value: FALSE


The “id” property

  “id”                       char *

Represents the D-Bus property "Id".

Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

Owner: PhoshCallsDBusCallsCall

Flags: Read / Write

Default value: NULL


The “image-path” property

  “image-path”               char *

Represents the D-Bus property "ImagePath".

Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

Owner: PhoshCallsDBusCallsCall

Flags: Read / Write

Default value: NULL


The “inbound” property

  “inbound”                  gboolean

Represents the D-Bus property "Inbound".

Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

Owner: PhoshCallsDBusCallsCall

Flags: Read / Write

Default value: FALSE


The “protocol” property

  “protocol”                 char *

Represents the D-Bus property "Protocol".

Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

Owner: PhoshCallsDBusCallsCall

Flags: Read / Write

Default value: NULL


The “state” property

  “state”                    guint

Represents the D-Bus property "State".

Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

Owner: PhoshCallsDBusCallsCall

Flags: Read / Write

Default value: 0


The “calls-call” property

  “calls-call”               PhoshCallsDBusCallsCall *

The PhoshCallsDBusCallsCall instance corresponding to the D-Bus interface org.gnome.Calls.Call, if any.

Connect to the “notify” signal to get informed of property changes.

Owner: PhoshCallsDBusObject

Flags: Read / Write

Signal Details

The “handle-accept” signal

gboolean
user_function (PhoshCallsDBusCallsCall *object,
               GDBusMethodInvocation   *invocation,
               gpointer                 user_data)

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

If a signal handler returns TRUE, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call phosh_calls_dbus_calls_call_complete_accept() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD error is returned.

Parameters

object

A PhoshCallsDBusCallsCall.

 

invocation

A GDBusMethodInvocation.

 

user_data

user data set when the signal handler was connected.

 

Returns

G_DBUS_METHOD_INVOCATION_HANDLED or TRUE if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED or FALSE to let other signal handlers run.

Flags: Run Last


The “handle-hangup” signal

gboolean
user_function (PhoshCallsDBusCallsCall *object,
               GDBusMethodInvocation   *invocation,
               gpointer                 user_data)

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

If a signal handler returns TRUE, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call phosh_calls_dbus_calls_call_complete_hangup() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD error is returned.

Parameters

object

A PhoshCallsDBusCallsCall.

 

invocation

A GDBusMethodInvocation.

 

user_data

user data set when the signal handler was connected.

 

Returns

G_DBUS_METHOD_INVOCATION_HANDLED or TRUE if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED or FALSE to let other signal handlers run.

Flags: Run Last


The “handle-send-dtmf” signal

gboolean
user_function (PhoshCallsDBusCallsCall *object,
               GDBusMethodInvocation   *invocation,
               char                    *arg_Tone,
               gpointer                 user_data)

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

If a signal handler returns TRUE, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually call phosh_calls_dbus_calls_call_complete_send_dtmf() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD error is returned.

Parameters

object

A PhoshCallsDBusCallsCall.

 

invocation

A GDBusMethodInvocation.

 

arg_Tone

Argument passed by remote caller.

 

user_data

user data set when the signal handler was connected.

 

Returns

G_DBUS_METHOD_INVOCATION_HANDLED or TRUE if the invocation was handled, G_DBUS_METHOD_INVOCATION_UNHANDLED or FALSE to let other signal handlers run.

Flags: Run Last