Top | ![]() |
![]() |
![]() |
![]() |
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 |
GInterface ├── PhoshCallsDBusCallsCall ╰── PhoshCallsDBusObject GObject ├── GDBusInterfaceSkeleton │ ╰── PhoshCallsDBusCallsCallSkeleton ├── GDBusObjectManagerClient │ ╰── PhoshCallsDBusObjectManagerClient ├── GDBusObjectProxy │ ╰── PhoshCallsDBusObjectProxy ├── GDBusObjectSkeleton │ ╰── PhoshCallsDBusObjectSkeleton ╰── GDBusProxy ╰── PhoshCallsDBusCallsCallProxy
PhoshCallsDBusCallsCall requires GObject.
PhoshCallsDBusObject requires GDBusObject and GObject.
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.
PhoshCallsDBusCallsCall is implemented by PhoshCallsDBusCallsCallProxy and PhoshCallsDBusCallsCallSkeleton.
PhoshCallsDBusObject is implemented by PhoshCallsDBusObjectProxy and PhoshCallsDBusObjectSkeleton.
GDBusInterfaceInfo *
phosh_calls_dbus_calls_call_interface_info
(void
);
Gets a machine-readable description of the org.gnome.Calls.Call D-Bus interface.
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.
klass |
The class structure for a GObject derived class. |
|
property_id_begin |
The property id to assign to the first overridden property. |
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()
g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
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()
g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
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()
g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
void phosh_calls_dbus_calls_call_call_accept (PhoshCallsDBusCallsCall *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the Accept()
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.
proxy |
||
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
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()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean phosh_calls_dbus_calls_call_call_accept_sync (PhoshCallsDBusCallsCall *proxy
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the Accept()
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.
proxy |
||
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
void phosh_calls_dbus_calls_call_call_hangup (PhoshCallsDBusCallsCall *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the Hangup()
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.
proxy |
||
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
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()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean phosh_calls_dbus_calls_call_call_hangup_sync (PhoshCallsDBusCallsCall *proxy
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the Hangup()
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.
proxy |
||
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
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()
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.
proxy |
||
arg_Tone |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
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()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
gboolean phosh_calls_dbus_calls_call_call_send_dtmf_sync (PhoshCallsDBusCallsCall *proxy
,const gchar *arg_Tone
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the SendDtmf()
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.
proxy |
||
arg_Tone |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
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]
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]
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]
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]
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]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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]
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]
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]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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]
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]
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]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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]
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]
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]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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]
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]
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]
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]
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]
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]
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.
connection |
||
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 |
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()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type PhoshCallsDBusCallsCallProxy]
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.
connection |
||
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 |
The constructed proxy object or NULL
if error
is set.
[transfer full][type PhoshCallsDBusCallsCallProxy]
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.
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 |
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()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type PhoshCallsDBusCallsCallProxy]
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.
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] |
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type PhoshCallsDBusCallsCallProxy]
PhoshCallsDBusCallsCall *
phosh_calls_dbus_calls_call_skeleton_new
(void
);
Creates a skeleton object for the D-Bus interface org.gnome.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.
A PhoshCallsDBusCallsCall that must be freed with g_object_unref()
or NULL
if object
does not implement the interface.
[transfer full][nullable]
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]
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]
PhoshCallsDBusObjectProxy * phosh_calls_dbus_object_proxy_new (GDBusConnection *connection
,const gchar *object_path
);
Creates a new proxy object.
PhoshCallsDBusObjectSkeleton *
phosh_calls_dbus_object_skeleton_new (const gchar *object_path
);
Creates a new skeleton object.
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
.
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.
A GDBusProxy derived GType if interface_name
is not NULL
, otherwise the GType for PhoshCallsDBusObjectProxy.
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.
connection |
||
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 * phosh_calls_dbus_object_manager_client_new_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with phosh_calls_dbus_object_manager_client_new()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed object manager client or NULL
if error
is set.
[transfer full][type PhoshCallsDBusObjectManagerClient]
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.
connection |
||
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 |
The constructed object manager client or NULL
if error
is set.
[transfer full][type PhoshCallsDBusObjectManagerClient]
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.
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 * 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()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed object manager client or NULL
if error
is set.
[transfer full][type PhoshCallsDBusObjectManagerClient]
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.
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] |
error |
Return location for error or |
The constructed object manager client or NULL
if error
is set.
[transfer full][type PhoshCallsDBusObjectManagerClient]
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.
GTypeInterface |
The parent interface. |
|
Handler for the “handle-accept” signal. |
||
Handler for the “handle-hangup” signal. |
||
Handler for the “handle-send-dtmf” signal. |
||
Getter for the “can-dtmf” property. |
||
Getter for the “display-name” property. |
||
Getter for the “encrypted” 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 PhoshCallsDBusCallsCallProxy;
The PhoshCallsDBusCallsCallProxy structure contains only private data and should only be accessed using the provided API.
struct PhoshCallsDBusCallsCallProxyClass { GDBusProxyClass parent_class; };
Class structure for PhoshCallsDBusCallsCallProxy.
struct PhoshCallsDBusCallsCallSkeleton;
The PhoshCallsDBusCallsCallSkeleton structure contains only private data and should only be accessed using the provided API.
struct PhoshCallsDBusCallsCallSkeletonClass { GDBusInterfaceSkeletonClass parent_class; };
Class structure for PhoshCallsDBusCallsCallSkeleton.
struct PhoshCallsDBusObjectIface { GTypeInterface parent_iface; };
Virtual table for the PhoshCallsDBusObject interface.
struct PhoshCallsDBusObjectProxy;
The PhoshCallsDBusObjectProxy structure contains only private data and should only be accessed using the provided API.
struct PhoshCallsDBusObjectProxyClass { GDBusObjectProxyClass parent_class; };
Class structure for PhoshCallsDBusObjectProxy.
struct PhoshCallsDBusObjectSkeleton;
The PhoshCallsDBusObjectSkeleton structure contains only private data and should only be accessed using the provided API.
struct PhoshCallsDBusObjectSkeletonClass { GDBusObjectSkeletonClass parent_class; };
Class structure for PhoshCallsDBusObjectSkeleton.
struct PhoshCallsDBusObjectManagerClient;
The PhoshCallsDBusObjectManagerClient structure contains only private data and should only be accessed using the provided API.
struct PhoshCallsDBusObjectManagerClientClass { GDBusObjectManagerClientClass parent_class; };
Class structure for PhoshCallsDBusObjectManagerClient.
typedef struct _PhoshCallsDBusCallsCall PhoshCallsDBusCallsCall;
Abstract interface type for the D-Bus interface org.gnome.Calls.Call.
typedef struct _PhoshCallsDBusCallsCallProxyPrivate PhoshCallsDBusCallsCallProxyPrivate;
typedef struct _PhoshCallsDBusCallsCallSkeletonPrivate PhoshCallsDBusCallsCallSkeletonPrivate;
typedef struct _PhoshCallsDBusObject PhoshCallsDBusObject;
The PhoshCallsDBusObject type is a specialized container of interfaces.
typedef struct _PhoshCallsDBusObjectManagerClientPrivate PhoshCallsDBusObjectManagerClientPrivate;
typedef struct _PhoshCallsDBusObjectProxyPrivate PhoshCallsDBusObjectProxyPrivate;
“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
“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
“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
“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
“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
“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
“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
“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
“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
“handle-accept”
signalgboolean user_function (PhoshCallsDBusCallsCall *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the Accept()
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.
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 (PhoshCallsDBusCallsCall *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the Hangup()
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.
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 (PhoshCallsDBusCallsCall *object, GDBusMethodInvocation *invocation, char *arg_Tone, gpointer user_data)
Signal emitted when a remote caller is invoking the SendDtmf()
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.
object |
||
invocation |
||
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