### Interface

# Goa Account

#### 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 from`GObject`.

#### Implementations

- GoaAccountProxy
- GoaAccountSkeleton

#### 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_finish

Finishes an operation started with goa_account_call_remove().

###### 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_dup_id

Gets a copy of the “Id” D-Bus property.

###### goa_account_dup_identity

Gets a copy of the “Identity” D-Bus property.

###### goa_account_dup_presentation_identity

Gets a copy of the “PresentationIdentity” D-Bus property.

###### goa_account_dup_provider_icon

Gets a copy of the “ProviderIcon” D-Bus property.

###### goa_account_dup_provider_name

Gets a copy of the “ProviderName” D-Bus property.

###### goa_account_dup_provider_type

Gets a copy of the “ProviderType” D-Bus property.

###### goa_account_get_attention_needed

Gets the value of the “AttentionNeeded” D-Bus property.

###### goa_account_get_calendar_disabled

Gets the value of the “CalendarDisabled” D-Bus property.

###### goa_account_get_chat_disabled

Gets the value of the “ChatDisabled” D-Bus property.

###### goa_account_get_contacts_disabled

Gets the value of the “ContactsDisabled” D-Bus property.

###### goa_account_get_documents_disabled

Gets the value of the “DocumentsDisabled” D-Bus property.

deprecated: Unknown

###### goa_account_get_files_disabled

Gets the value of the “FilesDisabled” D-Bus property.

###### goa_account_get_id

Gets the value of the “Id” D-Bus property.

###### goa_account_get_identity

Gets the value of the “Identity” D-Bus property.

###### goa_account_get_is_locked

Gets the value of the “IsLocked” D-Bus property.

###### goa_account_get_is_temporary

Gets the value of the “IsTemporary” D-Bus property.

###### goa_account_get_mail_disabled

Gets the value of the “MailDisabled” D-Bus property.

###### goa_account_get_maps_disabled

Gets the value of the “MapsDisabled” D-Bus property.

deprecated: Unknown

###### goa_account_get_music_disabled

Gets the value of the “MusicDisabled” D-Bus property.

###### goa_account_get_photos_disabled

Gets the value of the “PhotosDisabled” D-Bus property.

###### goa_account_get_presentation_identity

Gets the value of the “PresentationIdentity” D-Bus property.

###### goa_account_get_printers_disabled

Gets the value of the “PrintersDisabled” D-Bus property.

deprecated: Unknown

###### goa_account_get_provider_icon

Gets the value of the “ProviderIcon” D-Bus property.

###### goa_account_get_provider_name

Gets the value of the “ProviderName” D-Bus property.

###### goa_account_get_provider_type

Gets the value of the “ProviderType” D-Bus property.

###### goa_account_get_read_later_disabled

Gets the value of the “ReadLaterDisabled” D-Bus property.

deprecated: Unknown

###### goa_account_get_ticketing_disabled

Gets the value of the “TicketingDisabled” D-Bus property.

###### goa_account_get_todo_disabled

Gets the value of the “TodoDisabled” D-Bus property.

deprecated: Unknown

###### goa_account_set_attention_needed

Sets the “AttentionNeeded” D-Bus property to `value`.

###### goa_account_set_calendar_disabled

Sets the “CalendarDisabled” D-Bus property to `value`.

###### goa_account_set_chat_disabled

Sets the “ChatDisabled” D-Bus property to `value`.

###### goa_account_set_contacts_disabled

Sets the “ContactsDisabled” D-Bus property to `value`.

###### goa_account_set_documents_disabled

Sets the “DocumentsDisabled” D-Bus property to `value`.

deprecated: Unknown

###### goa_account_set_files_disabled

Sets the “FilesDisabled” D-Bus property to `value`.

###### goa_account_set_id

Sets the “Id” D-Bus property to `value`.

###### goa_account_set_identity

Sets the “Identity” D-Bus property to `value`.

###### goa_account_set_is_locked

Sets the “IsLocked” D-Bus property to `value`.

###### goa_account_set_is_temporary

Sets the “IsTemporary” D-Bus property to `value`.

###### goa_account_set_mail_disabled

Sets the “MailDisabled” D-Bus property to `value`.

###### goa_account_set_maps_disabled

Sets the “MapsDisabled” D-Bus property to `value`.

deprecated: Unknown

###### goa_account_set_music_disabled

Sets the “MusicDisabled” D-Bus property to `value`.

###### goa_account_set_photos_disabled

Sets the “PhotosDisabled” D-Bus property to `value`.

###### goa_account_set_presentation_identity

Sets the “PresentationIdentity” D-Bus property to `value`.

###### goa_account_set_printers_disabled

Sets the “PrintersDisabled” D-Bus property to `value`.

deprecated: Unknown

###### goa_account_set_provider_icon

Sets the “ProviderIcon” D-Bus property to `value`.

###### goa_account_set_provider_name

Sets the “ProviderName” D-Bus property to `value`.

###### goa_account_set_provider_type

Sets the “ProviderType” D-Bus property to `value`.

###### goa_account_set_read_later_disabled

Sets the “ReadLaterDisabled” D-Bus property to `value`.

deprecated: Unknown

###### goa_account_set_ticketing_disabled

Sets the “TicketingDisabled” D-Bus property to `value`.

###### goa_account_set_todo_disabled

Sets the “TodoDisabled” D-Bus property to `value`.

deprecated: Unknown

#### Properties

###### Goa.Account:attention-needed

Represents the D-Bus property “AttentionNeeded”.

###### Goa.Account:calendar-disabled

Represents the D-Bus property “CalendarDisabled”.

###### Goa.Account:chat-disabled

Represents the D-Bus property “ChatDisabled”.

###### Goa.Account:contacts-disabled

Represents the D-Bus property “ContactsDisabled”.

###### Goa.Account:documents-disabled

Represents the D-Bus property “DocumentsDisabled”.

deprecated: Unknown

###### Goa.Account:files-disabled

Represents the D-Bus property “FilesDisabled”.

###### Goa.Account:id

Represents the D-Bus property “Id”.

###### Goa.Account:identity

Represents the D-Bus property “Identity”.

###### Goa.Account:is-locked

Represents the D-Bus property “IsLocked”.

###### Goa.Account:is-temporary

Represents the D-Bus property “IsTemporary”.

###### Goa.Account:mail-disabled

Represents the D-Bus property “MailDisabled”.

###### Goa.Account:maps-disabled

Represents the D-Bus property “MapsDisabled”.

deprecated: Unknown

###### Goa.Account:music-disabled

Represents the D-Bus property “MusicDisabled”.

###### Goa.Account:photos-disabled

Represents the D-Bus property “PhotosDisabled”.

###### Goa.Account:presentation-identity

Represents the D-Bus property “PresentationIdentity”.

###### Goa.Account:printers-disabled

Represents the D-Bus property “PrintersDisabled”.

deprecated: Unknown

###### Goa.Account:provider-icon

Represents the D-Bus property “ProviderIcon”.

###### Goa.Account:provider-name

Represents the D-Bus property “ProviderName”.

###### Goa.Account:provider-type

Represents the D-Bus property “ProviderType”.

###### Goa.Account:read-later-disabled

Represents the D-Bus property “ReadLaterDisabled”.

deprecated: Unknown

###### Goa.Account:ticketing-disabled

Represents the D-Bus property “TicketingDisabled”.

###### Goa.Account:todo-disabled

Represents the D-Bus property “TodoDisabled”.

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`

    GTypeInterface

| The parent interface.

`handle_ensure_credentials`

    gboolean (* handle_ensure_credentials) (
        GoaAccount* object,
        GDBusMethodInvocation* invocation
      )

| Handler for the `GoaAccount::handle-ensure-credentials` signal.

`handle_remove`

    gboolean (* handle_remove) (
        GoaAccount* object,
        GDBusMethodInvocation* invocation
      )

| Handler for the `GoaAccount::handle-remove` signal.

`get_attention_needed`

    gboolean (* get_attention_needed) (
        GoaAccount* object
      )

| Getter for the `GoaAccount:attention-needed` property.

`get_calendar_disabled`

    gboolean (* get_calendar_disabled) (
        GoaAccount* object
      )

| Getter for the `GoaAccount:calendar-disabled` property.

`get_chat_disabled`

    gboolean (* get_chat_disabled) (
        GoaAccount* object
      )

| Getter for the `GoaAccount:chat-disabled` property.

`get_contacts_disabled`

    gboolean (* get_contacts_disabled) (
        GoaAccount* object
      )

| Getter for the `GoaAccount:contacts-disabled` property.

`get_documents_disabled`

    gboolean (* get_documents_disabled) (
        GoaAccount* object
      )

| Getter for the `GoaAccount:documents-disabled` property.

`get_files_disabled`

    gboolean (* get_files_disabled) (
        GoaAccount* object
      )

| Getter for the `GoaAccount:files-disabled` property.

`get_id`

    const gchar* (* get_id) (
        GoaAccount* object
      )

| Getter for the `GoaAccount:id` property.

`get_identity`

    const gchar* (* get_identity) (
        GoaAccount* object
      )

| Getter for the `GoaAccount:identity` property.

`get_is_locked`

    gboolean (* get_is_locked) (
        GoaAccount* object
      )

| Getter for the `GoaAccount:is-locked` property.

`get_is_temporary`

    gboolean (* get_is_temporary) (
        GoaAccount* object
      )

| Getter for the `GoaAccount:is-temporary` property.

`get_mail_disabled`

    gboolean (* get_mail_disabled) (
        GoaAccount* object
      )

| Getter for the `GoaAccount:mail-disabled` property.

`get_maps_disabled`

    gboolean (* get_maps_disabled) (
        GoaAccount* object
      )

| Getter for the `GoaAccount:maps-disabled` property.

`get_music_disabled`

    gboolean (* get_music_disabled) (
        GoaAccount* object
      )

| Getter for the `GoaAccount:music-disabled` property.

`get_photos_disabled`

    gboolean (* get_photos_disabled) (
        GoaAccount* object
      )

| Getter for the `GoaAccount:photos-disabled` property.

`get_presentation_identity`

    const gchar* (* get_presentation_identity) (
        GoaAccount* object
      )

| Getter for the `GoaAccount:presentation-identity` property.

`get_printers_disabled`

    gboolean (* get_printers_disabled) (
        GoaAccount* object
      )

| Getter for the `GoaAccount:printers-disabled` property.

`get_provider_icon`

    const gchar* (* get_provider_icon) (
        GoaAccount* object
      )

| Getter for the `GoaAccount:provider-icon` property.

`get_provider_name`

    const gchar* (* get_provider_name) (
        GoaAccount* object
      )

| Getter for the `GoaAccount:provider-name` property.

`get_provider_type`

    const gchar* (* get_provider_type) (
        GoaAccount* object
      )

| Getter for the `GoaAccount:provider-type` property.

`get_read_later_disabled`

    gboolean (* get_read_later_disabled) (
        GoaAccount* object
      )

| Getter for the `GoaAccount:read-later-disabled` property.

`get_ticketing_disabled`

    gboolean (* get_ticketing_disabled) (
        GoaAccount* object
      )

| Getter for the `GoaAccount:ticketing-disabled` property.

`get_todo_disabled`

    gboolean (* get_todo_disabled) (
        GoaAccount* object
      )

| Getter for the `GoaAccount:todo-disabled` property.

#### Virtual methods

###### Goa.Account.get_attention_needed

Gets the value of the “AttentionNeeded” D-Bus property.

###### Goa.Account.get_calendar_disabled

Gets the value of the “CalendarDisabled” D-Bus property.

###### Goa.Account.get_chat_disabled

Gets the value of the “ChatDisabled” D-Bus property.

###### Goa.Account.get_contacts_disabled

Gets the value of the “ContactsDisabled” D-Bus property.

###### Goa.Account.get_documents_disabled

Gets the value of the “DocumentsDisabled” D-Bus property.

deprecated: Unknown

###### Goa.Account.get_files_disabled

Gets the value of the “FilesDisabled” D-Bus property.

###### Goa.Account.get_id

Gets the value of the “Id” D-Bus property.

###### Goa.Account.get_identity

Gets the value of the “Identity” D-Bus property.

###### Goa.Account.get_is_locked

Gets the value of the “IsLocked” D-Bus property.

###### Goa.Account.get_is_temporary

Gets the value of the “IsTemporary” D-Bus property.

###### Goa.Account.get_mail_disabled

Gets the value of the “MailDisabled” D-Bus property.

###### Goa.Account.get_maps_disabled

Gets the value of the “MapsDisabled” D-Bus property.

deprecated: Unknown

###### Goa.Account.get_music_disabled

Gets the value of the “MusicDisabled” D-Bus property.

###### Goa.Account.get_photos_disabled

Gets the value of the “PhotosDisabled” D-Bus property.

###### Goa.Account.get_presentation_identity

Gets the value of the “PresentationIdentity” D-Bus property.

###### Goa.Account.get_printers_disabled

Gets the value of the “PrintersDisabled” D-Bus property.

deprecated: Unknown

###### Goa.Account.get_provider_icon

Gets the value of the “ProviderIcon” D-Bus property.

###### Goa.Account.get_provider_name

Gets the value of the “ProviderName” D-Bus property.

###### Goa.Account.get_provider_type

Gets the value of the “ProviderType” D-Bus property.

###### Goa.Account.get_read_later_disabled

Gets the value of the “ReadLaterDisabled” D-Bus property.

deprecated: Unknown

###### Goa.Account.get_ticketing_disabled

Gets the value of the “TicketingDisabled” D-Bus property.

###### Goa.Account.get_todo_disabled

Gets the value of the “TodoDisabled” D-Bus property.

deprecated: Unknown

###### Goa.Account.handle_ensure_credentials

Handler for the `GoaAccount::handle-ensure-credentials` signal.

###### Goa.Account.handle_remove

Handler for the `GoaAccount::handle-remove` signal.