Interface Backend

All Superinterfaces:
AsyncInitable, Proxy
All Known Implementing Classes:
Backend.Backend$Impl, Service

@Generated("org.javagi.JavaGI") public interface Backend extends Proxy, AsyncInitable
SecretBackend represents a backend implementation of password storage.
Since:
0.19.0
  • Method Details

    • getType

      static @Nullable Type getType()
      Get the GType of the Backend class.
      Returns:
      the GType
    • get

      static void get(BackendFlags flags, @Nullable Cancellable cancellable, @Nullable AsyncReadyCallback callback)

      Get a SecretBackend instance.

      If such a backend already exists, then the same backend is returned.

      If flags contains 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 initialized
      cancellable - optional cancellation object
      callback - called when the operation completes
      Since:
      0.19.0
    • getFinish

      static Backend getFinish(AsyncResult result) throws GErrorException
      Complete an asynchronous operation to get a SecretBackend.
      Parameters:
      result - the asynchronous result passed to the callback
      Returns:
      a new reference to a SecretBackend proxy, which should be released with GObject#unref.
      Throws:
      GErrorException - see GError
      Since:
      0.19.0