AccountChannelRequest
Object Hierarchy:
TelepathyGLib.AccountChannelRequest
TelepathyGLib.AccountChannelRequest
TelepathyGLib.AccountChannelRequest
GLib.Object
GLib.Object
GLib.Object->TelepathyGLib.AccountChannelRequest
Description:
[ CCode ( type_id = "tp_account_channel_request_get_type ()" ) ] [ Version ( since = "0.11.12" ) ]public sealed class AccountChannelRequest : Object
Data structure representing a AccountChannelRequest object.
Content:
Properties:
Creation methods:
public AccountChannelRequest (Account account, HashTable <string ,Value ?> request, int64 user_action_time)
Convenience function to create a new
AccountChannelRequest object.
public AccountChannelRequest.audio_call (Account account, int64 user_action_time)
Convenience function to create a new
AccountChannelRequest object which will yield a Call channel, initially carrying audio only.
public AccountChannelRequest.audio_video_call (Account account, int64 user_action_time)
Convenience function to create a new
AccountChannelRequest object which will yield a Call channel, initially carrying both audio and video.
public AccountChannelRequest.dbus_tube (Account account, string service_name, int64 user_action_time)
Convenience function to create a new
AccountChannelRequest object, which will yield a DBusTube channel.
public AccountChannelRequest.file_transfer (Account account, string filename, string ? mime_type, uint64 size, int64 user_action_time)
Convenience function to create a new
AccountChannelRequest object, which will yield a FileTransfer channel to send a file to a contact.
public AccountChannelRequest.stream_tube (Account account, string service, int64 user_action_time)
Convenience function to create a new
AccountChannelRequest object, which will yield a StreamTube channel.
public AccountChannelRequest.text (Account account, int64 user_action_time)
Convenience function to create a new
AccountChannelRequest object which will yield a Text channel.
public AccountChannelRequest.vardict (Account account, Variant request, int64 user_action_time)
Convenience function to create a new
AccountChannelRequest object.
Methods:
public async Channel ? create_and_handle_channel_async (Cancellable ? cancellable, out HandleChannelsContext context) throws Error
Asynchronously calls CreateChannel on the ChannelDispatcher to create
a channel with the properties defined in TpAccountChannelRequest:request
that you are going to handle yourself.
public async Channel create_and_observe_channel_async (string preferred_handler, Cancellable ? cancellable) throws Error
Asynchronously calls CreateChannel on the ChannelDispatcher to create
a channel with the properties defined in TpAccountChannelRequest:request
and let the ChannelDispatcher dispatch it to an
handler.
public async bool create_channel_async (string preferred_handler, Cancellable ? cancellable) throws Error
Asynchronously calls CreateChannel on the ChannelDispatcher to create
a channel with the properties defined in TpAccountChannelRequest:request
and let the ChannelDispatcher dispatch it to an
handler.
public Variant dup_request ()
public async Channel ? ensure_and_handle_channel_async (Cancellable ? cancellable, out HandleChannelsContext context) throws Error
Asynchronously calls EnsureChannel on the ChannelDispatcher to create
a channel with the properties defined in TpAccountChannelRequest:request
that you are going to handle yourself.
public async Channel ensure_and_observe_channel_async (string preferred_handler, Cancellable ? cancellable) throws Error
Asynchronously calls EnsureChannel on the ChannelDispatcher to create
a channel with the properties defined in TpAccountChannelRequest:request
and let the ChannelDispatcher dispatch it to an
handler.
public async bool ensure_channel_async (string preferred_handler, Cancellable ? cancellable) throws Error
Asynchronously calls EnsureChannel on the ChannelDispatcher to create
a channel with the properties defined in TpAccountChannelRequest:request
and let the ChannelDispatcher dispatch it to an
handler.
public unowned Account get_account ()
Return the
account construct-only property
public unowned ChannelRequest get_channel_request ()
public unowned HashTable <void *,void *> get_request ()
Return the TpAccountChannelRequest:request
construct-only
property
public int64 get_user_action_time ()
public void set_channel_factory (ClientChannelFactory factory)
public void set_conference_initial_channels (string channels)
Indicate that the channel which is going to be requested using
this is an upgrade of the channels whose object paths is listed in channels
.
public void set_delegate_to_preferred_handler (bool @delegate)
If delegate
is true
, asks to the client
currently handling the channels to delegate them to the preferred handler (passed when calling
ensure_channel_async for example).
public void set_delegated_channel_callback (owned AccountChannelRequestDelegatedChannelCb callback)
Turn on support for the org.
public void set_file_transfer_description (string description)
Configure this channel request to provide the recipient of the file
with the given description.
public void set_file_transfer_hash (FileHashType hash_type, string hash)
Configure this channel request to accompany the file transfer with the
hash of the file.
public void set_file_transfer_initial_offset (uint64 offset)
Configure this channel request to inform the recipient of the file
that this channel will not send the first offset
bytes of the file.
public void set_file_transfer_timestamp (uint64 timestamp)
Configure this channel request to accompany the file transfer with the
given modification timestamp for the file.
public void set_file_transfer_uri (string uri)
Configure this channel request to provide other local Telepathy
components with the URI of the file being sent.
public void set_hint (string key, Variant value)
Set additional information about the channel request, which will be
used in the resulting request's TpChannelRequest:hints
s property.
public void set_hints (HashTable <void *,void *> hints)
Set additional information about the channel request, which will be
used as the value for the resulting request's TpChannelRequest:hints
s property.
public void set_initial_invitee_ids (string ids)
Indicate that the contacts listed in ids
have to be
invited to the conference represented by the channel which is going to be requested using this .
public void set_initial_invitees (GenericArray <Contact > contacts)
Indicate that the contacts listed in contacts
have to be
invited to the conference represented by the channel which is going to be requested using this .
public void set_request_property (string name, Variant value)
Configure this channel request to include the given property, as
documented in the Telepathy D-Bus API Specification or an implementation-specific extension.
public void set_sms_channel (bool is_sms_channel)
If is_sms_channel
is set to true
, messages
sent and received on the requested channel will be transmitted via SMS.
public void set_target_contact (Contact contact)
Configure this request to create a peer-to-peer channel with
contact
as the other peer.
public void set_target_id (HandleType handle_type, string identifier)
Configure this request to create a channel with identifier
, an identifier of type handle_type
.
Signals:
Inherited Members:
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