Goa.Account¶
- Implementations:
Methods¶
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
AttentionNeeded |
||
r/w |
CalendarDisabled |
||
r/w |
ChatDisabled |
||
r/w |
ContactsDisabled |
||
d/r/w |
DocumentsDisabled |
||
r/w |
FilesDisabled |
||
r/w |
Id |
||
r/w |
Identity |
||
r/w |
IsLocked |
||
r/w |
IsTemporary |
||
r/w |
MailDisabled |
||
d/r/w |
MapsDisabled |
||
r/w |
MusicDisabled |
||
r/w |
PhotosDisabled |
||
r/w |
PresentationIdentity |
||
d/r/w |
PrintersDisabled |
||
r/w |
ProviderIcon |
||
r/w |
ProviderName |
||
r/w |
ProviderType |
||
d/r/w |
ReadLaterDisabled |
||
r/w |
TicketingDisabled |
||
d/r/w |
TodoDisabled |
Signals¶
Name |
Short Description |
---|---|
Signal emitted when a remote caller is invoking the ‘EnsureCredentials() [gdbus-method-org-gnome-OnlineAccounts-Account.EnsureCredentials]’ D-Bus method. |
|
Signal emitted when a remote caller is invoking the ‘Remove() [gdbus-method-org-gnome-OnlineAccounts-Account.Remove]’ D-Bus method. |
Fields¶
None
Class Details¶
- class Goa.Account¶
- Bases:
- Structure:
Abstract interface type for the D-Bus interface ‘org.gnome.OnlineAccounts.Account [gdbus-interface-org-gnome-OnlineAccounts-Account.top_of_page]’.
- classmethod interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo
. Do not free.- Return type:
Gets a machine-readable description of the ‘org.gnome.OnlineAccounts.Account [gdbus-interface-org-gnome-OnlineAccounts-Account.top_of_page]’ D-Bus interface.
- classmethod override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass
) – The class structure for aGObject.Object
derived class.property_id_begin (
int
) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Object
properties in theGoa.Account
interface for a concrete class. The properties are overridden in the order they are defined.
- call_ensure_credentials(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the ‘EnsureCredentials() [gdbus-method-org-gnome-OnlineAccounts-Account.EnsureCredentials]’ D-Bus method on self. 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
GLib.MainContext.push_thread_default
()). You can then callGoa.Account.call_ensure_credentials_finish
() to get the result of the operation.See
Goa.Account.call_ensure_credentials_sync
() for the synchronous, blocking version of this method.
- call_ensure_credentials_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toGoa.Account.call_ensure_credentials
().- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_expires_in:
Return location for return parameter or
None
to ignore.
- Return type:
Finishes an operation started with
Goa.Account.call_ensure_credentials
().
- call_ensure_credentials_sync(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.- Raises:
- Returns:
True
if the call succeeded,False
if error is set.- out_expires_in:
Return location for return parameter or
None
to ignore.
- Return type:
Synchronously invokes the ‘EnsureCredentials() [gdbus-method-org-gnome-OnlineAccounts-Account.EnsureCredentials]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
Goa.Account.call_ensure_credentials
() for the asynchronous version of this method.
- call_remove(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.callback (
Gio.AsyncReadyCallback
orNone
) – AGio.AsyncReadyCallback
to call when the request is satisfied orNone
.
Asynchronously invokes the ‘Remove() [gdbus-method-org-gnome-OnlineAccounts-Account.Remove]’ D-Bus method on self. 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
GLib.MainContext.push_thread_default
()). You can then callGoa.Account.call_remove_finish
() to get the result of the operation.See
Goa.Account.call_remove_sync
() for the synchronous, blocking version of this method.
- call_remove_finish(res)¶
- Parameters:
res (
Gio.AsyncResult
) – TheGio.AsyncResult
obtained from theGio.AsyncReadyCallback
passed toGoa.Account.call_remove
().- Raises:
- Returns:
- Return type:
Finishes an operation started with
Goa.Account.call_remove
().
- call_remove_sync(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – AGio.Cancellable
orNone
.- Raises:
- Returns:
- Return type:
Synchronously invokes the ‘Remove() [gdbus-method-org-gnome-OnlineAccounts-Account.Remove]’ D-Bus method on self. The calling thread is blocked until a reply is received.
See
Goa.Account.call_remove
() for the asynchronous version of this method.
- complete_ensure_credentials(invocation, expires_in)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.expires_in (
int
) – Parameter to return.
Helper function used in service implementations to finish handling invocations of the ‘EnsureCredentials() [gdbus-method-org-gnome-OnlineAccounts-Account.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.
This method will free invocation, you cannot use it afterwards.
- complete_remove(invocation)¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
Helper function used in service implementations to finish handling invocations of the ‘Remove() [gdbus-method-org-gnome-OnlineAccounts-Account.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.
This method will free invocation, you cannot use it afterwards.
- do_handle_ensure_credentials(invocation) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –- Return type:
Handler for the
Goa.Account
::handle-ensure-credentials
signal.
- do_handle_remove(invocation) virtual¶
- Parameters:
invocation (
Gio.DBusMethodInvocation
) –- Return type:
Handler for the
Goa.Account
::handle-remove
signal.
Signal Details¶
- Goa.Account.signals.handle_ensure_credentials(account, invocation)¶
- Signal Name:
handle-ensure-credentials
- Flags:
- Parameters:
account (
Goa.Account
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘EnsureCredentials() [gdbus-method-org-gnome-OnlineAccounts-Account.EnsureCredentials]’ D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callGoa.Account.complete_ensure_credentials
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.
- Goa.Account.signals.handle_remove(account, invocation)¶
- Signal Name:
handle-remove
- Flags:
- Parameters:
account (
Goa.Account
) – The object which received the signalinvocation (
Gio.DBusMethodInvocation
) – AGio.DBusMethodInvocation
.
- Returns:
Gio.DBUS_METHOD_INVOCATION_HANDLED
orTrue
if the invocation was handled,Gio.DBUS_METHOD_INVOCATION_UNHANDLED
orFalse
to let other signal handlers run.- Return type:
Signal emitted when a remote caller is invoking the ‘Remove() [gdbus-method-org-gnome-OnlineAccounts-Account.Remove]’ D-Bus method.
If a signal handler returns
True
, it means the signal handler will handle the invocation (e.g. take a reference to invocation and eventually callGoa.Account.complete_remove
() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, theGio.DBusError.UNKNOWN_METHOD
error is returned.
Property Details¶
- Goa.Account.props.attention_needed¶
-
Represents the D-Bus property ‘“AttentionNeeded” [gdbus-property-org-gnome-OnlineAccounts-Account.AttentionNeeded]’.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- Goa.Account.props.calendar_disabled¶
-
Represents the D-Bus property ‘“CalendarDisabled” [gdbus-property-org-gnome-OnlineAccounts-Account.CalendarDisabled]’.
Since the D-Bus property for this
GObject.Object
property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
- Goa.Account.props.chat_disabled¶
-
Represents the D-Bus property ‘“ChatDisabled” [gdbus-property-org-gnome-OnlineAccounts-Account.ChatDisabled]’.
Since the D-Bus property for this
GObject.Object
property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
- Goa.Account.props.contacts_disabled¶
-
Represents the D-Bus property ‘“ContactsDisabled” [gdbus-property-org-gnome-OnlineAccounts-Account.ContactsDisabled]’.
Since the D-Bus property for this
GObject.Object
property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
- Goa.Account.props.documents_disabled¶
- Name:
documents-disabled
- Type:
- Default Value:
- Flags:
Represents the D-Bus property ‘“DocumentsDisabled” [gdbus-property-org-gnome-OnlineAccounts-Account.DocumentsDisabled]’.
Since the D-Bus property for this
GObject.Object
property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.Deprecated since version ???: The D-Bus property has been deprecated.
- Goa.Account.props.files_disabled¶
-
Represents the D-Bus property ‘“FilesDisabled” [gdbus-property-org-gnome-OnlineAccounts-Account.FilesDisabled]’.
Since the D-Bus property for this
GObject.Object
property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
- Goa.Account.props.id¶
-
Represents the D-Bus property ‘“Id” [gdbus-property-org-gnome-OnlineAccounts-Account.Id]’.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- Goa.Account.props.identity¶
-
Represents the D-Bus property ‘“Identity” [gdbus-property-org-gnome-OnlineAccounts-Account.Identity]’.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- Goa.Account.props.is_locked¶
-
Represents the D-Bus property ‘“IsLocked” [gdbus-property-org-gnome-OnlineAccounts-Account.IsLocked]’.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- Goa.Account.props.is_temporary¶
-
Represents the D-Bus property ‘“IsTemporary” [gdbus-property-org-gnome-OnlineAccounts-Account.IsTemporary]’.
Since the D-Bus property for this
GObject.Object
property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
- Goa.Account.props.mail_disabled¶
-
Represents the D-Bus property ‘“MailDisabled” [gdbus-property-org-gnome-OnlineAccounts-Account.MailDisabled]’.
Since the D-Bus property for this
GObject.Object
property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
- Goa.Account.props.maps_disabled¶
- Name:
maps-disabled
- Type:
- Default Value:
- Flags:
Represents the D-Bus property ‘“MapsDisabled” [gdbus-property-org-gnome-OnlineAccounts-Account.MapsDisabled]’.
Since the D-Bus property for this
GObject.Object
property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.Deprecated since version ???: The D-Bus property has been deprecated.
- Goa.Account.props.music_disabled¶
-
Represents the D-Bus property ‘“MusicDisabled” [gdbus-property-org-gnome-OnlineAccounts-Account.MusicDisabled]’.
Since the D-Bus property for this
GObject.Object
property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
- Goa.Account.props.photos_disabled¶
-
Represents the D-Bus property ‘“PhotosDisabled” [gdbus-property-org-gnome-OnlineAccounts-Account.PhotosDisabled]’.
Since the D-Bus property for this
GObject.Object
property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
- Goa.Account.props.presentation_identity¶
-
Represents the D-Bus property ‘“PresentationIdentity” [gdbus-property-org-gnome-OnlineAccounts-Account.PresentationIdentity]’.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- Goa.Account.props.printers_disabled¶
- Name:
printers-disabled
- Type:
- Default Value:
- Flags:
Represents the D-Bus property ‘“PrintersDisabled” [gdbus-property-org-gnome-OnlineAccounts-Account.PrintersDisabled]’.
Since the D-Bus property for this
GObject.Object
property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.Deprecated since version ???: The D-Bus property has been deprecated.
- Goa.Account.props.provider_icon¶
-
Represents the D-Bus property ‘“ProviderIcon” [gdbus-property-org-gnome-OnlineAccounts-Account.ProviderIcon]’.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- Goa.Account.props.provider_name¶
-
Represents the D-Bus property ‘“ProviderName” [gdbus-property-org-gnome-OnlineAccounts-Account.ProviderName]’.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- Goa.Account.props.provider_type¶
-
Represents the D-Bus property ‘“ProviderType” [gdbus-property-org-gnome-OnlineAccounts-Account.ProviderType]’.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- Goa.Account.props.read_later_disabled¶
- Name:
read-later-disabled
- Type:
- Default Value:
- Flags:
Represents the D-Bus property ‘“ReadLaterDisabled” [gdbus-property-org-gnome-OnlineAccounts-Account.ReadLaterDisabled]’.
Since the D-Bus property for this
GObject.Object
property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.Deprecated since version ???: The D-Bus property has been deprecated.
- Goa.Account.props.ticketing_disabled¶
-
Represents the D-Bus property ‘“TicketingDisabled” [gdbus-property-org-gnome-OnlineAccounts-Account.TicketingDisabled]’.
Since the D-Bus property for this
GObject.Object
property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
- Goa.Account.props.todo_disabled¶
- Name:
todo-disabled
- Type:
- Default Value:
- Flags:
Represents the D-Bus property ‘“TodoDisabled” [gdbus-property-org-gnome-OnlineAccounts-Account.TodoDisabled]’.
Since the D-Bus property for this
GObject.Object
property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.Deprecated since version ???: The D-Bus property has been deprecated.