Enums

Details

class EBackend.AuthenticationSessionResult(value)

Bases: GObject.GEnum

Completion codes used by #EAuthenticationSession.

New in version 3.6.

ERROR = 0

An error occurred while authenticating.

SUCCESS = 1

Client reported successful authentication.

DISMISSED = 2

User dismissed the authentication prompt.

class EBackend.CacheDeletedFlag(value)

Bases: GLib.Enum

Declares whether to exclude or include locally deleted objects.

New in version 3.26.

EXCLUDE_DELETED = 0

Do not include locally deleted objects

INCLUDE_DELETED = 1

Include locally deleted objects

class EBackend.CacheError(value)

Bases: GLib.Enum

Defines the types of possible errors reported by the EBackend.Cache

New in version 3.26.

ENGINE = 0

An error was reported from the SQLite engine

CONSTRAINT = 1

The error occurred due to an explicit constraint, like when attempting to add two objects with the same UID.

NOT_FOUND = 2

An object was not found by UID (this is different from a query that returns no results, which is not an error).

INVALID_QUERY = 3

A query was invalid.

UNSUPPORTED_FIELD = 4

A field requested for inclusion in summary is not supported.

UNSUPPORTED_QUERY = 5

A query was not supported.

END_OF_LIST = 6

An attempt was made to fetch results past the end of a the list.

LOAD = 7

An error occured while loading or creating the database.

class EBackend.CacheLockType(value)

Bases: GLib.Enum

Indicates the type of lock requested in EBackend.Cache.lock().

New in version 3.26.

READ = 0

Obtain a lock for reading.

WRITE = 1

Obtain a lock for writing. This also starts a transaction.

class EBackend.CacheOfflineFlag(value)

Bases: GLib.Enum

Declares whether the operation is done in online or offline. This influences the offline state of the related objects.

New in version 3.26.

OFFLINE_UNKNOWN = -1

Do not know current online/offline state

IS_ONLINE = 0

The operation is done in online

IS_OFFLINE = 1

The operation is done in offline

class EBackend.CacheUnlockAction(value)

Bases: GLib.Enum

Indicates what type of action to take while unlocking the cache with EBackend.Cache.unlock().

New in version 3.26.

NONE = 0

Just unlock, this is appropriate for locks which were obtained with EBackend.CacheLockType.READ.

COMMIT = 1

Commit any modifications which were made while the lock was held.

ROLLBACK = 2

Rollback any modifications which were made while the lock was held.

class EBackend.DBusServerExitCode(value)

Bases: GObject.GEnum

Exit codes submitted to EBackend.DBusServer.quit() and returned by EBackend.DBusServer.run().

New in version 3.6.

NONE = 0

The server’s run state is unchanged.

NORMAL = 1

Normal termination. The process itself may now terminate.

RELOAD = 2

The server should reload its configuration and start again. Servers that do not support reloading may wish to intercept this exit code and stop the EBackend.DBusServer ::quit-server emission.

class EBackend.OfflineState(value)

Bases: GObject.GEnum

Defines offline state of an object. Locally changed objects require synchronization with their remote storage.

New in version 3.26.

UNKNOWN = -1

Unknown offline state.

SYNCED = 0

The object if synchnized with no local changes.

LOCALLY_CREATED = 1

The object is locally created.

LOCALLY_MODIFIED = 2

The object is locally modified.

LOCALLY_DELETED = 3

The object is locally deleted.