Interface Narratable

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractScreen, CustomScreen, DefaultScreen, Tooltip

public interface Narratable extends Serializable
Represents a screen element that can be spoken by the narrator.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the JSON message that represents the narration of this element.
  • Method Details

    • getNarrationMessageJSON

      @NotNull @NotNull String getNarrationMessageJSON()
      Gets the JSON message that represents the narration of this element. By default, this is the title of the element.
      Returns:
      the JSON message