Package org.freedesktop.secret
Class Prompt
java.lang.Object
org.freedesktop.secret.handlers.Messaging
org.freedesktop.secret.Prompt
- All Implemented Interfaces:
org.freedesktop.dbus.interfaces.DBusInterface,Prompt
public class Prompt extends Messaging implements Prompt
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.freedesktop.secret.interfaces.Prompt
Prompt.Completed -
Field Summary
Fields Modifier and Type Field Description static List<Class<? extends org.freedesktop.dbus.messages.DBusSignal>>signalsFields inherited from class org.freedesktop.secret.handlers.Messaging
connection, interfaceName, msg, objectPath, serviceName, sh -
Constructor Summary
-
Method Summary
Modifier and Type Method Description Prompt.Completedawait(org.freedesktop.dbus.ObjectPath path)Await the user interaction with the prompt.Prompt.Completedawait(org.freedesktop.dbus.ObjectPath path, Duration timeout)Await the user interaction with the prompt.voiddismiss()Dismiss the prompt.StringgetObjectPath()booleanisRemote()voidprompt(String window_id)Perform the prompt.voidprompt(org.freedesktop.dbus.ObjectPath prompt)Perform the prompt.Methods inherited from class org.freedesktop.secret.handlers.Messaging
getAllProperties, getConnection, getInterfaceName, getMessageHandler, getPath, getProperty, getServiceName, getSignalHandler, send, send, setProperty
-
Field Details
-
Constructor Details
-
Method Details
-
prompt
Description copied from interface:PromptPerform the prompt.- Specified by:
promptin interfacePrompt- Parameters:
window_id- Platform specific window handle to use for showing the prompt.- See Also:
Prompt.Completed
-
prompt
Description copied from interface:PromptPerform the prompt.- Specified by:
promptin interfacePrompt- Parameters:
prompt- Objectpath of the prompt.- Throws:
NoSuchObject- No such item or collection exists.- See Also:
Prompt.Completed
-
await
Await the user interaction with the prompt.A prompt can either be dismissed or be completed successfully.
- Parameters:
path- Objectpath of the prompt.timeout- Duration until the prompt times out.- Returns:
- Completed or null if user input exceeds the default timeout.
- See Also:
Prompt.Completed
-
await
Await the user interaction with the prompt.A prompt can either be dismissed or be completed successfully.
- Parameters:
path- Objectpath of the prompt.- Returns:
- Completed or null if user input exceeds the default timeout.
- See Also:
Prompt.Completed
-
dismiss
public void dismiss()Description copied from interface:PromptDismiss the prompt. -
isRemote
public boolean isRemote()- Specified by:
isRemotein interfaceorg.freedesktop.dbus.interfaces.DBusInterface
-
getObjectPath
- Specified by:
getObjectPathin interfaceorg.freedesktop.dbus.interfaces.DBusInterface- Overrides:
getObjectPathin classMessaging
-