Interface
PhoshCallsDBusCallsCall
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 fromGObject
.
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.
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 |
|
The parent interface. |
|
handle_accept |
|
Handler for the |
|
handle_hangup |
|
Handler for the |
|
handle_send_dtmf |
|
Handler for the |
|
get_can_dtmf |
|
Getter for the |
|
get_display_name |
|
Getter for the |
|
get_encrypted |
|
Getter for the |
|
get_id |
|
Getter for the |
|
get_image_path |
|
Getter for the |
|
get_inbound |
|
Getter for the |
|
get_protocol |
|
Getter for the |
|
get_state |
|
Getter for the |
Virtual methods
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.