Interface KeyPressResult

All Superinterfaces:
PromptResult<KeyPressPrompt>
All Known Implementing Classes:
DefaultKeyPressResult

public interface KeyPressResult extends PromptResult<KeyPressPrompt>
Result of a key press prompt. Contains the key that was pressed.
  • Method Details

    • getKey

      String getKey()
      Get the key that was pressed.
      Returns:
      the pressed key as a string