Interface
GoaAccount
Description [src]
interface Goa.Account : GObject.Object
Abstract interface type for the D-Bus interface org.gnome.OnlineAccounts.Account.
Prerequisite
In order to implement Account, your type must inherit fromGObject
.
Functions
goa_account_interface_info
Gets a machine-readable description of the org.gnome.OnlineAccounts.Account D-Bus interface.
goa_account_override_properties
Overrides all GObject
properties in the GoaAccount
interface for a concrete class.
The properties are overridden in the order they are defined.
Instance methods
goa_account_call_ensure_credentials
Asynchronously invokes the EnsureCredentials() D-Bus method on 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 goa_account_call_ensure_credentials_finish()
to get the result of the operation.
goa_account_call_ensure_credentials_finish
Finishes an operation started with goa_account_call_ensure_credentials().
goa_account_call_ensure_credentials_sync
Synchronously invokes the EnsureCredentials() D-Bus method on proxy
. The calling thread is blocked until a reply is received.
goa_account_call_remove
Asynchronously invokes the Remove() D-Bus method on 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 goa_account_call_remove_finish()
to get the result of the operation.
goa_account_call_remove_sync
Synchronously invokes the Remove() D-Bus method on proxy
. The calling thread is blocked until a reply is received.
goa_account_complete_ensure_credentials
Helper function used in service implementations to finish handling invocations of the EnsureCredentials() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
goa_account_complete_remove
Helper function used in service implementations to finish handling invocations of the Remove() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
goa_account_get_documents_disabled
Gets the value of the “DocumentsDisabled” D-Bus property.
deprecated: Unknown
goa_account_get_maps_disabled
Gets the value of the “MapsDisabled” D-Bus property.
deprecated: Unknown
goa_account_get_printers_disabled
Gets the value of the “PrintersDisabled” D-Bus property.
deprecated: Unknown
goa_account_get_read_later_disabled
Gets the value of the “ReadLaterDisabled” D-Bus property.
deprecated: Unknown
goa_account_get_todo_disabled
Gets the value of the “TodoDisabled” D-Bus property.
deprecated: Unknown
goa_account_set_documents_disabled
Sets the “DocumentsDisabled” D-Bus property to value
.
deprecated: Unknown
goa_account_set_printers_disabled
Sets the “PrintersDisabled” D-Bus property to value
.
deprecated: Unknown
goa_account_set_read_later_disabled
Sets the “ReadLaterDisabled” D-Bus property to value
.
deprecated: Unknown
Properties
Goa.Account:documents-disabled
Represents the D-Bus property “DocumentsDisabled”.
deprecated: Unknown
Goa.Account:read-later-disabled
Represents the D-Bus property “ReadLaterDisabled”.
deprecated: Unknown
Signals
Goa.Account::handle-ensure-credentials
Signal emitted when a remote caller is invoking the EnsureCredentials() D-Bus method.
Goa.Account::handle-remove
Signal emitted when a remote caller is invoking the Remove() D-Bus method.
Interface structure
struct GoaAccountIface {
GTypeInterface parent_iface;
gboolean (* handle_ensure_credentials) (
GoaAccount* object,
GDBusMethodInvocation* invocation
);
gboolean (* handle_remove) (
GoaAccount* object,
GDBusMethodInvocation* invocation
);
gboolean (* get_attention_needed) (
GoaAccount* object
);
gboolean (* get_calendar_disabled) (
GoaAccount* object
);
gboolean (* get_chat_disabled) (
GoaAccount* object
);
gboolean (* get_contacts_disabled) (
GoaAccount* object
);
gboolean (* get_documents_disabled) (
GoaAccount* object
);
gboolean (* get_files_disabled) (
GoaAccount* object
);
const gchar* (* get_id) (
GoaAccount* object
);
const gchar* (* get_identity) (
GoaAccount* object
);
gboolean (* get_is_locked) (
GoaAccount* object
);
gboolean (* get_is_temporary) (
GoaAccount* object
);
gboolean (* get_mail_disabled) (
GoaAccount* object
);
gboolean (* get_maps_disabled) (
GoaAccount* object
);
gboolean (* get_music_disabled) (
GoaAccount* object
);
gboolean (* get_photos_disabled) (
GoaAccount* object
);
const gchar* (* get_presentation_identity) (
GoaAccount* object
);
gboolean (* get_printers_disabled) (
GoaAccount* object
);
const gchar* (* get_provider_icon) (
GoaAccount* object
);
const gchar* (* get_provider_name) (
GoaAccount* object
);
const gchar* (* get_provider_type) (
GoaAccount* object
);
gboolean (* get_read_later_disabled) (
GoaAccount* object
);
gboolean (* get_ticketing_disabled) (
GoaAccount* object
);
gboolean (* get_todo_disabled) (
GoaAccount* object
);
}
Virtual table for the D-Bus interface org.gnome.OnlineAccounts.Account.
Interface members
parent_iface |
|
The parent interface. |
|
handle_ensure_credentials |
|
Handler for the |
|
handle_remove |
|
Handler for the |
|
get_attention_needed |
|
Getter for the |
|
get_calendar_disabled |
|
Getter for the |
|
get_chat_disabled |
|
Getter for the |
|
get_contacts_disabled |
|
Getter for the |
|
get_documents_disabled |
|
Getter for the |
|
get_files_disabled |
|
Getter for the |
|
get_id |
|
Getter for the |
|
get_identity |
|
Getter for the |
|
get_is_locked |
|
Getter for the |
|
get_is_temporary |
|
Getter for the |
|
get_mail_disabled |
|
Getter for the |
|
get_maps_disabled |
|
Getter for the |
|
get_music_disabled |
|
Getter for the |
|
get_photos_disabled |
|
Getter for the |
|
get_presentation_identity |
|
Getter for the |
|
get_printers_disabled |
|
Getter for the |
|
get_provider_icon |
|
Getter for the |
|
get_provider_name |
|
Getter for the |
|
get_provider_type |
|
Getter for the |
|
get_read_later_disabled |
|
Getter for the |
|
get_ticketing_disabled |
|
Getter for the |
|
get_todo_disabled |
|
Getter for the |
Virtual methods
Goa.Account.get_documents_disabled
Gets the value of the “DocumentsDisabled” D-Bus property.
deprecated: Unknown
Goa.Account.get_maps_disabled
Gets the value of the “MapsDisabled” D-Bus property.
deprecated: Unknown
Goa.Account.get_printers_disabled
Gets the value of the “PrintersDisabled” D-Bus property.
deprecated: Unknown
Goa.Account.get_read_later_disabled
Gets the value of the “ReadLaterDisabled” D-Bus property.
deprecated: Unknown
Goa.Account.get_todo_disabled
Gets the value of the “TodoDisabled” D-Bus property.
deprecated: Unknown