Call
Object Hierarchy:
Description:
[
CCode ( type_id =
"mm_call_get_type ()" ) ]
public class Call :
GdbusCallProxy,
AsyncInitable,
DBusInterface,
Initable,
GdbusCall
The Call structure contains private data and should only be accessed using the provided API.
Content:
Creation methods:
Methods:
- public async bool accept (Cancellable? cancellable) throws Error
Asynchronously requests to accept the incoming call.
- public bool accept_sync (Cancellable? cancellable = null) throws Error
Synchronously requests to accept the incoming call.
- public async bool deflect (string number, Cancellable? cancellable) throws Error
Asynchronously requests to deflect the incoming call.
- public bool deflect_sync (string number, Cancellable? cancellable = null) throws Error
Synchronously requests to deflect the incoming call.
- public string dup_audio_port ()
Gets the kernel device used for audio (if any).
- public string dup_number ()
Gets the call number.
- public string dup_path ()
Gets a copy of the DBus path of the Call
object.
- public CallAudioFormat get_audio_format ()
Gets a CallAudioFormat
object specifying the audio format used by the audio port if call audio is routed via the host.
- public unowned string get_audio_port ()
Gets the kernel device used for audio (if any).
- public CallDirection get_direction ()
Gets the call direction.
- public bool get_multiparty ()
Gets whether the call is part of a multiparty call.
- public unowned string get_number ()
Gets the call number.
- public unowned string get_path ()
Gets the DBus path of the Call object.
- public CallState get_state ()
Gets the current state of call.
- public CallStateReason get_state_reason ()
Gets the reason of why the call changes its state.
- public async bool hangup (Cancellable? cancellable) throws Error
Asynchronously requests to hangup the call.
- public bool hangup_sync (Cancellable? cancellable = null) throws Error
Synchronously requests to hangup the call.
- public async bool join_multiparty (Cancellable? cancellable) throws Error
Synchronously requests to join this call into a multiparty call.
- public bool join_multiparty_sync (Cancellable? cancellable = null) throws Error
Synchronously requests to join this call into a multiparty call.
- public async bool leave_multiparty (Cancellable? cancellable) throws Error
Synchronously requests to make this call private again by leaving the
multiparty call.
- public bool leave_multiparty_sync (Cancellable? cancellable = null) throws Error
Synchronously requests to make this call private again by leaving the
multiparty call.
- public unowned CallAudioFormat peek_audio_format ()
Gets a CallAudioFormat
object specifying the audio format used by the audio port if call audio is routed via the host.
- public async bool send_dtmf (string dtmf, Cancellable? cancellable) throws Error
Asynchronously requests to send a DTMF tone the call.
- public bool send_dtmf_sync (string dtmf, Cancellable? cancellable = null) throws Error
Synchronously requests to send a DTMF tone the call.
- public async bool start (Cancellable? cancellable) throws Error
Asynchronously requests to queue the call.
- public bool start_sync (Cancellable? cancellable = null) throws Error
Synchronously requests to queue the call for delivery.
Inherited Members:
All known members inherited from class GLib.DBusProxy
- @new
- call
- call_sync
- call_with_unix_fd_list
- call_with_unix_fd_list_sync
- create_for_bus
- g_bus_type
- g_connection
- g_default_timeout
- g_flags
- g_interface_info
- g_interface_name
- g_name
- g_name_owner
- g_object_path
- g_properties_changed
- g_signal
- get_cached_property
- get_cached_property_names
- get_connection
- get_default_timeout
- get_flags
- get_interface_info
- get_interface_name
- get_name
- get_name_owner
- get_object_path
- set_cached_property
- set_default_timeout
- set_interface_info
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
All known members inherited from interface GLib.AsyncInitable
All known members inherited from interface GLib.DBusInterface
All known members inherited from interface GLib.Initable
All known members inherited from interface MM.GdbusCall