Package org.gnome.secret
Interface Backend
- All Superinterfaces:
AsyncInitable,Proxy
- All Known Implementing Classes:
Backend.Backend$Impl,Service
SecretBackend represents a backend implementation of password
storage.- Since:
- 0.19.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classThe Backend$Impl type represents a native instance of the Backend interface.static classThe interface forSecretBackend.static interfaceBackend.Builder<B extends Builder<B>>Nested classes/interfaces inherited from interface org.gnome.gio.AsyncInitable
AsyncInitable.AsyncInitable$Impl, AsyncInitable.AsyncInitableIface -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic voidget(BackendFlags flags, @Nullable Cancellable cancellable, @Nullable AsyncReadyCallback callback) Get aSecretBackendinstance.static BackendgetFinish(AsyncResult result) Complete an asynchronous operation to get aSecretBackend.static @Nullable TypegetType()Get the GType of the Backend classMethods inherited from interface org.gnome.gio.AsyncInitable
initAsync, initFinish
-
Method Details
-
getType
-
get
static void get(BackendFlags flags, @Nullable Cancellable cancellable, @Nullable AsyncReadyCallback callback) Get aSecretBackendinstance.If such a backend already exists, then the same backend is returned.
If
flagscontains any flags of which parts of the secret backend to ensure are initialized, then those will be initialized before completing.This method will return immediately and complete asynchronously.
- Parameters:
flags- flags for which service functionality to ensure is initializedcancellable- optional cancellation objectcallback- called when the operation completes- Since:
- 0.19.0
-
getFinish
Complete an asynchronous operation to get aSecretBackend.- Parameters:
result- the asynchronous result passed to the callback- Returns:
- a new reference to a
SecretBackendproxy, which should be released withGObject.unref(). - Throws:
GErrorException- seeGError- Since:
- 0.19.0
-