AccountRequest
Object Hierarchy:
TelepathyGLib.AccountRequest
TelepathyGLib.AccountRequest
TelepathyGLib.AccountRequest
GLib.Object
GLib.Object
GLib.Object->TelepathyGLib.AccountRequest
Description:
[ CCode ( type_id = "tp_account_request_get_type ()" ) ] [ Version ( since = "0.19.1" ) ]public class AccountRequest : Object
An object for representing a currently non-existent account which is to be created on a
AccountManager .
Content:
Properties:
public AccountManager account_manager { owned get ; construct ; }
public uint automatic_presence_type { get ; }
public string automatic_status { owned get ; }
public string automatic_status_message { owned get ; }
public Array <void *> avatar { owned get ; }
The avatar set on the account.
public string avatar_mime_type { owned get ; }
The mime type of the
avatar property.
public bool connect_automatically { get ; }
Whether the account should connect automatically or not.
public string connection_manager { owned get ; construct ; }
The account's connection manager name.
public string display_name { owned get ; construct ; }
The account's display name.
public bool enabled { get ; }
Whether the account is enabled or not.
public string icon_name { owned get ; }
The account's icon name.
public string nickname { owned get ; }
The account's nickname.
public Variant parameters { owned get ; }
The account's connection parameters.
public Variant properties { owned get ; }
The account's properties.
public string protocol { owned get ; construct ; }
The account's machine-readable protocol name, such as "jabber", "msn"
or "local-xmpp".
public uint requested_presence_type { get ; }
public string requested_status { owned get ; }
The requested Status string of the account.
public string requested_status_message { owned get ; }
The requested status message message of the account.
public string service { owned get ; }
A string describing the service of the account, which must consist
only of ASCII letters, numbers and hyphen/minus signs, and start with a letter (matching the requirements for Protocol).
public string storage_provider { owned get ; }
The account's storage provider.
public string [] supersedes { owned get ; }
The object paths of previously-active accounts superseded by this one.
Creation methods:
Methods:
public void add_supersedes (string superseded_path)
Add an account object path to the list of superseded accounts which
this new account will supersede.
public async Account create_account_async () throws Error
Start an asynchronous operation to create the account
this on the account manager.
public void set_automatic_presence (ConnectionPresenceType presence, string status, string message)
Set the automatic presence for the new account,
this , to the type (presence
, status
), with message message
.
public void set_avatar (uint8 []? avatar, string ? mime_type)
Set the avatar of the account this
to avatar
.
public void set_connect_automatically (bool connect_automatically)
Set the connect automatically property of the account on creation to
connect_automatically
so that the account is brought online to the automatic presence.
public void set_display_name (string name)
Set the display name for the new account,
this , to name
.
public void set_enabled (bool enabled)
Set the enabled property of the account on creation to enabled
.
public void set_icon_name (string icon)
Set the icon name for the new account, this
, to icon
.
public void set_nickname (string nickname)
Set the nickname for the new account, this
, to nickname
.
public void set_parameter (string key, Variant value)
Set an account parameter, key
, to value
.
public void set_requested_presence (ConnectionPresenceType presence, string status, string message)
Set the requested presence for the new account,
this , to the type (presence
, status
), with message message
.
public void set_service (string service)
Set the service property of the account to service
.
public void set_storage_provider (string provider)
Set the account storage to use when creating the account.
public void unset_parameter (string key)
Unset the account parameter key
which has previously been
set using set_parameter or another convenience function.
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