Top Inners Methods
org.freedesktop.secret.interfaces

public Interface Prompt

extends DBusInterface
Known Direct Implementers
org.freedesktop.secret.Prompt
Annotations
@DBusInterfaceName:org.freedesktop.Secret.Prompt
Imports
org.freedesktop.dbus.ObjectPath, org.freedesktop.dbus.annotations.DBusInterfaceName, org.freedesktop.dbus.exceptions.DBusException, org.freedesktop.dbus.interfaces.DBusInterface, org.freedesktop.dbus.messages.DBusSignal, org.freedesktop.dbus.types.Variant, org.freedesktop.secret.Static, org.freedesktop.secret.errors.NoSuchObject

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Method Summary

Modifier and TypeMethod and Description
public void
dismiss()

Dismiss the prompt.

public void
prompt(String
Platform specific window handle to use for showing the prompt.
window_id
)

Perform the prompt.

public void
prompt(ObjectPath
Objectpath of the prompt.
prompt
)
References Deprecated ObjectPath is deprecated or references (maybe indirectly) at least one deprecated element.

Perform the prompt.

Inherited from org.freedesktop.dbus.interfaces.DBusInterface:
getObjectPathisRemote

Method Detail

dismissback to summary
public void dismiss()

Dismiss the prompt.

promptback to summary
public void prompt(String window_id)

Perform the prompt.

Parameters
window_id:String

Platform specific window handle to use for showing the prompt.

See Also
Completed
promptback to summary
public void prompt(ObjectPath prompt) throws NoSuchObject

References Deprecated

ObjectPath is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Perform the prompt.

Parameters
prompt:ObjectPath

Objectpath of the prompt.

Exceptions
NoSuchObject:
No such item or collection exists.
See Also
Completed
org.freedesktop.secret.interfaces back to summary

public Class Prompt.Completed

extends DBusSignal
Class Inheritance

Field Summary

Modifier and TypeField and Description
public final boolean
public final Variant<T>

Constructor Summary

AccessConstructor and Description
public
Completed(String
The path to the object this is emitted from.
path
,
boolean
Whether the prompt and operation were dismissed or not.
dismissed
,
Variant<T>
The possibly empty, operation specific, result.
result
)

The prompt and operation completed.

Method Summary

Inherited from org.freedesktop.dbus.messages.DBusSignal:
appendbodycreateReal

Field Detail

dismissedback to summary
public final boolean dismissed
resultback to summary
public final Variant<T> result

Constructor Detail

Completedback to summary
public Completed(String path, boolean dismissed, Variant<T> result) throws DBusException

The prompt and operation completed.

Parameters
path:String

The path to the object this is emitted from.

dismissed:boolean

Whether the prompt and operation were dismissed or not.

result:Variant<T>

The possibly empty, operation specific, result.

Exceptions
DBusException:
Could not communicate properly with the D-Bus.