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
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.freedesktop.secret.interfaces.Prompt
Prompt.Completed -
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class org.freedesktop.secret.handlers.Messaging
connection, interfaceName, msg, objectPath, serviceName, sh -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawait(org.freedesktop.dbus.ObjectPath path) Await the user interaction with the prompt.Await the user interaction with the prompt.voiddismiss()Dismiss the prompt.booleanisRemote()voidPerform 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
-
signals
-
-
Constructor Details
-
Prompt
-
-
Method Details
-
prompt
Description copied from interface:PromptPerform the prompt. -
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:
-
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:
-
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:
-
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
-