Class Prompt

  • All Implemented Interfaces:
    org.freedesktop.dbus.interfaces.DBusInterface

    public class Prompt
    extends Prompt
    • Field Detail

      • signals

        public static final List<Class<? extends org.freedesktop.dbus.messages.DBusSignal>> signals
    • Constructor Detail

      • Prompt

        public Prompt​(Service service)
    • Method Detail

      • prompt

        public void prompt​(String window_id)
        Description copied from class: Prompt
        Perform the prompt.
        Specified by:
        prompt in class Prompt
        Parameters:
        window_id - Platform specific window handle to use for showing the prompt.
        See Also:
        Prompt.Completed
      • prompt

        public void prompt​(org.freedesktop.dbus.ObjectPath prompt)
                    throws NoSuchObject
        Description copied from class: Prompt
        Perform the prompt.
        Specified by:
        prompt in class Prompt
        Parameters:
        prompt - Objectpath of the prompt.
        Throws:
        NoSuchObject - No such item or collection exists.
        See Also:
        Prompt.Completed
      • await

        public Prompt.Completed await​(org.freedesktop.dbus.ObjectPath path)
        Description copied from class: Prompt
        Await the user interaction with the prompt. A prompt can either be dismissed or be completed successfully.
        Specified by:
        await in class Prompt
        Parameters:
        path - Objectpath of the prompt.
        Returns:
        Completed or null if user input exceeds the default timeout of 300 seconds.
        See Also:
        Prompt.Completed
      • dismiss

        public void dismiss()
        Description copied from class: Prompt
        Dismiss the prompt.
        Specified by:
        dismiss in class Prompt
      • isRemote

        public boolean isRemote()
      • getObjectPath

        public String getObjectPath()
        Specified by:
        getObjectPath in interface org.freedesktop.dbus.interfaces.DBusInterface
        Overrides:
        getObjectPath in class Messaging