| libempathy Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | Signals | ||||
EmpathyAccount;
gboolean empathy_account_is_just_connected (EmpathyAccount *account);
TpConnection * empathy_account_get_connection (EmpathyAccount *account);
TpConnection * empathy_account_get_connection_for_path
(EmpathyAccount *account,
const gchar *path);
const gchar * empathy_account_get_unique_name (EmpathyAccount *account);
const gchar * empathy_account_get_display_name (EmpathyAccount *account);
const gchar * empathy_account_get_connection_manager
(EmpathyAccount *account);
const gchar * empathy_account_get_protocol (EmpathyAccount *account);
const gchar * empathy_account_get_icon_name (EmpathyAccount *account);
void empathy_account_set_enabled_async (EmpathyAccount *account,
gboolean enabled,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean empathy_account_set_enabled_finish (EmpathyAccount *account,
GAsyncResult *result,
GError **error);
gboolean empathy_account_is_enabled (EmpathyAccount *account);
gboolean empathy_account_is_valid (EmpathyAccount *account);
gboolean empathy_account_is_ready (EmpathyAccount *account);
void empathy_account_update_settings_async
(EmpathyAccount *account,
GHashTable *parameters,
const gchar **unset_parameters,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean empathy_account_update_settings_finish
(EmpathyAccount *account,
GAsyncResult *result,
GError **error);
void empathy_account_remove_async (EmpathyAccount *account,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean empathy_account_remove_finish (EmpathyAccount *account,
GAsyncResult *result,
GError **error);
void empathy_account_set_display_name_async
(EmpathyAccount *account,
const gchar *display_name,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean empathy_account_set_display_name_finish
(EmpathyAccount *account,
GAsyncResult *result,
GError **error);
EmpathyAccount * empathy_account_new (TpDBusDaemon *bus_daemon,
const gchar *unique_name);
void empathy_account_request_presence (EmpathyAccount *account,
TpConnectionPresenceType type,
const gchar *status,
const gchar *message);
const GHashTable * empathy_account_get_parameters (EmpathyAccount *account);
"connection" TpConnection* : Read "connection-status" guint : Read "connection-status-reason" guint : Read "dbus-daemon" TpDBusDaemon* : Read / Write / Construct Only "display-name" gchar* : Read "enabled" gboolean : Read / Write "presence" guint : Read "ready" gboolean : Read "status" gchar* : Read "status-message" gchar* : Read "unique-name" gchar* : Read / Write / Construct Only
gboolean empathy_account_is_just_connected (EmpathyAccount *account);
|
|
Returns : |
TpConnection * empathy_account_get_connection (EmpathyAccount *account);
Get the connection of the account, or NULL if account is offline or the connection is not yet ready. This function does not return a new ref.
|
a EmpathyAccount |
Returns : |
the connection of the account. |
TpConnection * empathy_account_get_connection_for_path (EmpathyAccount *account, const gchar *path);
Get the connection of the account on path. This function does not return a new ref. It is not guaranteed that the returned connection object is ready
|
a EmpathyAccount |
|
|
Returns : |
the connection of the account. |
const gchar * empathy_account_get_unique_name (EmpathyAccount *account);
|
a EmpathyAccount |
Returns : |
the unique name of the account. |
const gchar * empathy_account_get_display_name (EmpathyAccount *account);
|
a EmpathyAccount |
Returns : |
the display name of the account. |
const gchar * empathy_account_get_connection_manager (EmpathyAccount *account);
|
|
Returns : |
const gchar * empathy_account_get_protocol (EmpathyAccount *account);
|
|
Returns : |
const gchar * empathy_account_get_icon_name (EmpathyAccount *account);
|
|
Returns : |
void empathy_account_set_enabled_async (EmpathyAccount *account, gboolean enabled, GAsyncReadyCallback callback, gpointer user_data);
|
|
|
|
|
|
|
gboolean empathy_account_set_enabled_finish (EmpathyAccount *account, GAsyncResult *result, GError **error);
|
|
|
|
|
|
Returns : |
gboolean empathy_account_is_enabled (EmpathyAccount *account);
|
|
Returns : |
gboolean empathy_account_is_valid (EmpathyAccount *account);
|
|
Returns : |
gboolean empathy_account_is_ready (EmpathyAccount *account);
|
|
Returns : |
void empathy_account_update_settings_async
(EmpathyAccount *account,
GHashTable *parameters,
const gchar **unset_parameters,
GAsyncReadyCallback callback,
gpointer user_data);
|
|
|
|
|
|
|
|
|
gboolean empathy_account_update_settings_finish (EmpathyAccount *account, GAsyncResult *result, GError **error);
|
|
|
|
|
|
Returns : |
void empathy_account_remove_async (EmpathyAccount *account, GAsyncReadyCallback callback, gpointer user_data);
|
|
|
|
|
gboolean empathy_account_remove_finish (EmpathyAccount *account, GAsyncResult *result, GError **error);
|
|
|
|
|
|
Returns : |
void empathy_account_set_display_name_async
(EmpathyAccount *account,
const gchar *display_name,
GAsyncReadyCallback callback,
gpointer user_data);
|
|
|
|
|
|
|
gboolean empathy_account_set_display_name_finish (EmpathyAccount *account, GAsyncResult *result, GError **error);
|
|
|
|
|
|
Returns : |
EmpathyAccount * empathy_account_new (TpDBusDaemon *bus_daemon, const gchar *unique_name);
|
|
|
|
Returns : |
void empathy_account_request_presence (EmpathyAccount *account, TpConnectionPresenceType type, const gchar *status, const gchar *message);
|
|
|
|
|
|
|
const GHashTable * empathy_account_get_parameters (EmpathyAccount *account);
|
|
Returns : |
"connection-status" property"connection-status" guint : Read
The accounts connections status type.
Allowed values: <= 3
Default value: 2
"connection-status-reason" property"connection-status-reason" guint : Read
The account connections status reason.
Allowed values: <= 14
Default value: 0
"dbus-daemon" property"dbus-daemon" TpDBusDaemon* : Read / Write / Construct Only
The Tp Dbus daemon on which this account exists.
"display-name" property"display-name" gchar* : Read
The accounts display name.
Default value: NULL
"enabled" property"enabled" gboolean : Read / Write
Whether this account is enabled or not.
Default value: FALSE
"presence" property"presence" guint : Read
The account connections presence type.
Allowed values: <= 9
Default value: 0
"ready" property"ready" gboolean : Read
Whether this account is ready to be used.
Default value: FALSE
"status-message" property"status-message" gchar* : Read
The Status message string of the account.
Default value: NULL
"unique-name" property"unique-name" gchar* : Read / Write / Construct Only
The accounts unique name.
Default value: NULL
"presence-changed" signalvoid user_function (EmpathyAccount *empathyaccount, guint arg1, gchar *arg2, gchar *arg3, gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
|
|
|
|
user data set when the signal handler was connected. |
"removed" signalvoid user_function (EmpathyAccount *empathyaccount, gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"status-changed" signalvoid user_function (EmpathyAccount *empathyaccount, guint arg1, guint arg2, guint arg3, gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
|
|
|
|
user data set when the signal handler was connected. |