java.lang.Object
de.swiesend.secretservice.handlers.Messaging
de.swiesend.secretservice.Prompt
- All Implemented Interfaces:
Prompt,org.freedesktop.dbus.interfaces.DBusInterface
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.swiesend.secretservice.interfaces.Prompt
Prompt.Completed -
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class de.swiesend.secretservice.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 de.swiesend.secretservice.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
public void prompt(org.freedesktop.dbus.ObjectPath prompt) throws de.swiesend.secretservice.errors.NoSuchObject Description copied from interface:PromptPerform the prompt. -
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 classde.swiesend.secretservice.handlers.Messaging
-