Top |
gboolean | can-dtmf | Read / Write |
char * | display-name | Read / Write |
gboolean | encrypted | Read / Write |
GVariant * | hints | Read / Write |
char * | id | Read / Write |
char * | image-path | Read / Write |
gboolean | inbound | Read / Write |
char * | protocol | Read / Write |
guint | state | Read / Write |
CallsDBusCallsCall * | calls-call | Read / Write |
gboolean | handle-accept | Run Last |
gboolean | handle-hangup | Run Last |
gboolean | handle-send-dtmf | Run Last |
gboolean | handle-silence | Run Last |
GInterface ├── CallsDBusCallsCall ╰── CallsDBusObject GObject ├── GDBusInterfaceSkeleton │ ╰── CallsDBusCallsCallSkeleton ├── GDBusObjectManagerClient │ ╰── CallsDBusObjectManagerClient ├── GDBusObjectProxy │ ╰── CallsDBusObjectProxy ├── GDBusObjectSkeleton │ ╰── CallsDBusObjectSkeleton ╰── GDBusProxy ╰── CallsDBusCallsCallProxy
CallsDBusCallsCall requires GObject.
CallsDBusObject requires GDBusObject and GObject.
CallsDBusCallsCallProxy implements GDBusInterface, GInitable, GAsyncInitable and CallsDBusCallsCall.
CallsDBusCallsCallSkeleton implements GDBusInterface and CallsDBusCallsCall.
CallsDBusObjectProxy implements GDBusObject and CallsDBusObject.
CallsDBusObjectSkeleton implements GDBusObject and CallsDBusObject.
CallsDBusObjectManagerClient implements GInitable, GAsyncInitable and GDBusObjectManager.
CallsDBusCallsCall is implemented by CallsDBusCallsCallProxy and CallsDBusCallsCallSkeleton.
CallsDBusObject is implemented by CallsDBusObjectProxy and CallsDBusObjectSkeleton.
GDBusInterfaceInfo *
calls_dbus_calls_call_interface_info (void
);
Gets a machine-readable description of the org.gnome.Calls.Call D-Bus interface.
guint calls_dbus_calls_call_override_properties (GObjectClass *klass
,guint property_id_begin
);
Overrides all GObject properties in the CallsDBusCallsCall interface for a concrete class. The properties are overridden in the order they are defined.
void calls_dbus_calls_call_complete_accept (CallsDBusCallsCall *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.
void calls_dbus_calls_call_complete_hangup (CallsDBusCallsCall *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.
void calls_dbus_calls_call_complete_send_dtmf (CallsDBusCallsCall *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.
void calls_dbus_calls_call_complete_silence (CallsDBusCallsCall *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the Silence()
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.
void calls_dbus_calls_call_call_accept (CallsDBusCallsCall *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 calls_dbus_calls_call_call_accept_finish()
to get the result of the operation.
See calls_dbus_calls_call_call_accept_sync()
for the synchronous, blocking version of this method.
gboolean calls_dbus_calls_call_call_accept_finish (CallsDBusCallsCall *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with calls_dbus_calls_call_call_accept()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean calls_dbus_calls_call_call_accept_sync (CallsDBusCallsCall *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 calls_dbus_calls_call_call_accept()
for the asynchronous version of this method.
void calls_dbus_calls_call_call_hangup (CallsDBusCallsCall *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 calls_dbus_calls_call_call_hangup_finish()
to get the result of the operation.
See calls_dbus_calls_call_call_hangup_sync()
for the synchronous, blocking version of this method.
gboolean calls_dbus_calls_call_call_hangup_finish (CallsDBusCallsCall *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with calls_dbus_calls_call_call_hangup()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean calls_dbus_calls_call_call_hangup_sync (CallsDBusCallsCall *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 calls_dbus_calls_call_call_hangup()
for the asynchronous version of this method.
void calls_dbus_calls_call_call_send_dtmf (CallsDBusCallsCall *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 calls_dbus_calls_call_call_send_dtmf_finish()
to get the result of the operation.
See calls_dbus_calls_call_call_send_dtmf_sync()
for the synchronous, blocking version of this method.
gboolean calls_dbus_calls_call_call_send_dtmf_finish (CallsDBusCallsCall *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with calls_dbus_calls_call_call_send_dtmf()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean calls_dbus_calls_call_call_send_dtmf_sync (CallsDBusCallsCall *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 calls_dbus_calls_call_call_send_dtmf()
for the asynchronous version of this method.
void calls_dbus_calls_call_call_silence (CallsDBusCallsCall *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the Silence()
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 calls_dbus_calls_call_call_silence_finish()
to get the result of the operation.
See calls_dbus_calls_call_call_silence_sync()
for the synchronous, blocking version of this method.
gboolean calls_dbus_calls_call_call_silence_finish (CallsDBusCallsCall *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with calls_dbus_calls_call_call_silence()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean calls_dbus_calls_call_call_silence_sync (CallsDBusCallsCall *proxy
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the Silence()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See calls_dbus_calls_call_call_silence()
for the asynchronous version of this method.
gboolean
calls_dbus_calls_call_get_inbound (CallsDBusCallsCall *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]
void calls_dbus_calls_call_set_inbound (CallsDBusCallsCall *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]
guint
calls_dbus_calls_call_get_state (CallsDBusCallsCall *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]
void calls_dbus_calls_call_set_state (CallsDBusCallsCall *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]
const gchar *
calls_dbus_calls_call_get_id (CallsDBusCallsCall *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 calls_dbus_calls_call_dup_id()
if on another thread.
[skip]
gchar *
calls_dbus_calls_call_dup_id (CallsDBusCallsCall *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]
void calls_dbus_calls_call_set_id (CallsDBusCallsCall *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]
const gchar *
calls_dbus_calls_call_get_display_name
(CallsDBusCallsCall *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 calls_dbus_calls_call_dup_display_name()
if on another thread.
[skip]
gchar *
calls_dbus_calls_call_dup_display_name
(CallsDBusCallsCall *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]
void calls_dbus_calls_call_set_display_name (CallsDBusCallsCall *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]
const gchar *
calls_dbus_calls_call_get_image_path (CallsDBusCallsCall *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 calls_dbus_calls_call_dup_image_path()
if on another thread.
[skip]
gchar *
calls_dbus_calls_call_dup_image_path (CallsDBusCallsCall *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]
void calls_dbus_calls_call_set_image_path (CallsDBusCallsCall *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]
const gchar *
calls_dbus_calls_call_get_protocol (CallsDBusCallsCall *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 calls_dbus_calls_call_dup_protocol()
if on another thread.
[skip]
gchar *
calls_dbus_calls_call_dup_protocol (CallsDBusCallsCall *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]
void calls_dbus_calls_call_set_protocol (CallsDBusCallsCall *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]
gboolean
calls_dbus_calls_call_get_encrypted (CallsDBusCallsCall *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]
void calls_dbus_calls_call_set_encrypted (CallsDBusCallsCall *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]
gboolean
calls_dbus_calls_call_get_can_dtmf (CallsDBusCallsCall *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]
void calls_dbus_calls_call_set_can_dtmf (CallsDBusCallsCall *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]
GVariant *
calls_dbus_calls_call_get_hints (CallsDBusCallsCall *object
);
Gets the value of the "Hints" 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 calls_dbus_calls_call_dup_hints()
if on another thread.
[skip]
GVariant *
calls_dbus_calls_call_dup_hints (CallsDBusCallsCall *object
);
Gets a copy of the "Hints" 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]
void calls_dbus_calls_call_set_hints (CallsDBusCallsCall *object
,GVariant *value
);
Sets the "Hints" 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]
void 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 calls_dbus_calls_call_proxy_new_finish()
to get the result of the operation.
See calls_dbus_calls_call_proxy_new_sync()
for the synchronous, blocking version of this constructor.
connection |
A GDBusConnection. |
|
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[nullable] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
CallsDBusCallsCall * calls_dbus_calls_call_proxy_new_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with calls_dbus_calls_call_proxy_new()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
CallsDBusCallsCall * 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 calls_dbus_calls_call_proxy_new()
for the asynchronous version of this constructor.
connection |
A GDBusConnection. |
|
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[nullable] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void 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 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 calls_dbus_calls_call_proxy_new_for_bus_finish()
to get the result of the operation.
See calls_dbus_calls_call_proxy_new_for_bus_sync()
for the synchronous, blocking version of this constructor.
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 |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
CallsDBusCallsCall * calls_dbus_calls_call_proxy_new_for_bus_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with calls_dbus_calls_call_proxy_new_for_bus()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
CallsDBusCallsCall * 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 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 calls_dbus_calls_call_proxy_new_for_bus()
for the asynchronous version of this constructor.
CallsDBusCallsCall *
calls_dbus_calls_call_skeleton_new (void
);
Creates a skeleton object for the D-Bus interface org.gnome.Calls.Call.
CallsDBusCallsCall *
calls_dbus_object_get_calls_call (CallsDBusObject *object
);
Gets the CallsDBusCallsCall instance for the D-Bus interface org.gnome.Calls.Call on object
, if any.
A CallsDBusCallsCall that must be freed with g_object_unref()
or NULL
if object
does not implement the interface.
[transfer full][nullable]
CallsDBusCallsCall *
calls_dbus_object_peek_calls_call (CallsDBusObject *object
);
Like 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]
A CallsDBusCallsCall or NULL
if object
does not implement the interface. Do not free the returned object, it is owned by object
.
[transfer none][nullable]
CallsDBusObjectProxy * calls_dbus_object_proxy_new (GDBusConnection *connection
,const gchar *object_path
);
Creates a new proxy object.
CallsDBusObjectSkeleton *
calls_dbus_object_skeleton_new (const gchar *object_path
);
Creates a new skeleton object.
void calls_dbus_object_skeleton_set_calls_call (CallsDBusObjectSkeleton *object
,CallsDBusCallsCall *interface_
);
Sets the CallsDBusCallsCall instance for the D-Bus interface org.gnome.Calls.Call on object
.
GType 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.
manager |
A GDBusObjectManagerClient. |
|
object_path |
The object path of the remote object (unused). |
|
interface_name |
Interface name of the remote object or |
[nullable] |
user_data |
User data (unused). |
A GDBusProxy derived GType if interface_name
is not NULL
, otherwise the GType for CallsDBusObjectProxy.
void 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 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 calls_dbus_object_manager_client_new_finish()
to get the result of the operation.
See calls_dbus_object_manager_client_new_sync()
for the synchronous, blocking version of this constructor.
connection |
A GDBusConnection. |
|
flags |
Flags from the GDBusObjectManagerClientFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[nullable] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
GDBusObjectManager * calls_dbus_object_manager_client_new_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with calls_dbus_object_manager_client_new()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
GDBusObjectManager * 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 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 calls_dbus_object_manager_client_new()
for the asynchronous version of this constructor.
connection |
A GDBusConnection. |
|
flags |
Flags from the GDBusObjectManagerClientFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[nullable] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void 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 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 calls_dbus_object_manager_client_new_for_bus_finish()
to get the result of the operation.
See calls_dbus_object_manager_client_new_for_bus_sync()
for the synchronous, blocking version of this constructor.
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 |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
GDBusObjectManager * calls_dbus_object_manager_client_new_for_bus_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with calls_dbus_object_manager_client_new_for_bus()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
GDBusObjectManager * 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 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 calls_dbus_object_manager_client_new_for_bus()
for the asynchronous version of this constructor.
struct CallsDBusCallsCallIface { GTypeInterface parent_iface; gboolean (*handle_accept) ( CallsDBusCallsCall *object, GDBusMethodInvocation *invocation); gboolean (*handle_hangup) ( CallsDBusCallsCall *object, GDBusMethodInvocation *invocation); gboolean (*handle_send_dtmf) ( CallsDBusCallsCall *object, GDBusMethodInvocation *invocation, const gchar *arg_tone); gboolean (*handle_silence) ( CallsDBusCallsCall *object, GDBusMethodInvocation *invocation); gboolean (*get_can_dtmf) (CallsDBusCallsCall *object); const gchar * (*get_display_name) (CallsDBusCallsCall *object); gboolean (*get_encrypted) (CallsDBusCallsCall *object); GVariant * (*get_hints) (CallsDBusCallsCall *object); const gchar * (*get_id) (CallsDBusCallsCall *object); const gchar * (*get_image_path) (CallsDBusCallsCall *object); gboolean (*get_inbound) (CallsDBusCallsCall *object); const gchar * (*get_protocol) (CallsDBusCallsCall *object); guint (*get_state) (CallsDBusCallsCall *object); };
Virtual table for the D-Bus interface org.gnome.Calls.Call.
The parent interface. |
||
Handler for the “handle-accept” signal. |
||
Handler for the “handle-hangup” signal. |
||
Handler for the “handle-send-dtmf” signal. |
||
Handler for the “handle-silence” signal. |
||
Getter for the “can-dtmf” property. |
||
Getter for the “display-name” property. |
||
Getter for the “encrypted” property. |
||
Getter for the “hints” property. |
||
Getter for the “id” property. |
||
Getter for the “image-path” property. |
||
Getter for the “inbound” property. |
||
Getter for the “protocol” property. |
||
Getter for the “state” property. |
struct CallsDBusCallsCallProxy;
The CallsDBusCallsCallProxy structure contains only private data and should only be accessed using the provided API.
struct CallsDBusCallsCallProxyClass { GDBusProxyClass parent_class; };
Class structure for CallsDBusCallsCallProxy.
struct CallsDBusCallsCallSkeleton;
The CallsDBusCallsCallSkeleton structure contains only private data and should only be accessed using the provided API.
struct CallsDBusCallsCallSkeletonClass { GDBusInterfaceSkeletonClass parent_class; };
Class structure for CallsDBusCallsCallSkeleton.
struct CallsDBusObjectIface { GTypeInterface parent_iface; };
Virtual table for the CallsDBusObject interface.
struct CallsDBusObjectProxy;
The CallsDBusObjectProxy structure contains only private data and should only be accessed using the provided API.
struct CallsDBusObjectProxyClass { GDBusObjectProxyClass parent_class; };
Class structure for CallsDBusObjectProxy.
struct CallsDBusObjectSkeleton;
The CallsDBusObjectSkeleton structure contains only private data and should only be accessed using the provided API.
struct CallsDBusObjectSkeletonClass { GDBusObjectSkeletonClass parent_class; };
Class structure for CallsDBusObjectSkeleton.
struct CallsDBusObjectManagerClient;
The CallsDBusObjectManagerClient structure contains only private data and should only be accessed using the provided API.
struct CallsDBusObjectManagerClientClass { GDBusObjectManagerClientClass parent_class; };
Class structure for CallsDBusObjectManagerClient.
typedef struct _CallsDBusCallsCall CallsDBusCallsCall;
Abstract interface type for the D-Bus interface org.gnome.Calls.Call.
typedef struct _CallsDBusCallsCallProxyPrivate CallsDBusCallsCallProxyPrivate;
typedef struct _CallsDBusCallsCallSkeletonPrivate CallsDBusCallsCallSkeletonPrivate;
typedef struct _CallsDBusObject CallsDBusObject;
The CallsDBusObject type is a specialized container of interfaces.
typedef struct _CallsDBusObjectManagerClientPrivate CallsDBusObjectManagerClientPrivate;
typedef struct _CallsDBusObjectProxyPrivate CallsDBusObjectProxyPrivate;
“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: CallsDBusCallsCall
Flags: Read / Write
Default value: FALSE
“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: CallsDBusCallsCall
Flags: Read / Write
Default value: NULL
“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: CallsDBusCallsCall
Flags: Read / Write
Default value: FALSE
“hints”
property “hints” GVariant *
Represents the D-Bus property "Hints".
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: CallsDBusCallsCall
Flags: Read / Write
Allowed values: GVariant<a{sv}>
Default value: NULL
“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: CallsDBusCallsCall
Flags: Read / Write
Default value: NULL
“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: CallsDBusCallsCall
Flags: Read / Write
Default value: NULL
“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: CallsDBusCallsCall
Flags: Read / Write
Default value: FALSE
“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: CallsDBusCallsCall
Flags: Read / Write
Default value: NULL
“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: CallsDBusCallsCall
Flags: Read / Write
Default value: 0
“calls-call”
property“calls-call” CallsDBusCallsCall *
The CallsDBusCallsCall 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: CallsDBusObject
Flags: Read / Write
“handle-accept”
signalgboolean user_function (CallsDBusCallsCall *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 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.
object |
||
invocation |
A GDBusMethodInvocation. |
|
user_data |
user data set when the signal handler was connected. |
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
“handle-hangup”
signalgboolean user_function (CallsDBusCallsCall *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 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.
object |
||
invocation |
A GDBusMethodInvocation. |
|
user_data |
user data set when the signal handler was connected. |
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
“handle-send-dtmf”
signalgboolean user_function (CallsDBusCallsCall *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 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.
object |
||
invocation |
A GDBusMethodInvocation. |
|
arg_tone |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
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
“handle-silence”
signalgboolean user_function (CallsDBusCallsCall *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the Silence()
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 calls_dbus_calls_call_complete_silence()
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.
object |
||
invocation |
A GDBusMethodInvocation. |
|
user_data |
user data set when the signal handler was connected. |
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