Class Prompt

java.lang.Object
All Implemented Interfaces:
AsyncInitable, DBusInterface, Initable, Proxy

@Generated("io.github.jwharm.JavaGI") public class Prompt extends DBusProxy implements AsyncInitable, DBusInterface, Initable
A prompt in the Service

A proxy object representing a prompt that the Secret Service will display to the user.

Certain actions on the Secret Service require user prompting to complete, such as creating a collection, or unlocking a collection. When such a prompt is necessary, then a SecretPrompt object is created by this library, and passed to the Service.prompt(org.gnome.secret.Prompt, org.gnome.glib.VariantType, org.gnome.gio.Cancellable, org.gnome.gio.AsyncReadyCallback) method. In this way it is handled automatically.

In order to customize prompt handling, override the Service.promptAsync(org.gnome.secret.Prompt, org.gnome.glib.VariantType, org.gnome.gio.Cancellable, org.gnome.gio.AsyncReadyCallback) and Service.promptFinish(org.gnome.gio.AsyncResult) virtual methods of the Service class.