public interface MenuOption
A configured option that the user can trigger to perform an action.

Use the MenuOptionActionFactory factory builder helper to create menu action

See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Dedicated Builder
  • Method Summary

    Modifier and Type
    Method
    Description
    Getting builder
    Determines which action is taken when the DTMF digit is pressed.
    A DTMF digit the user can press to trigger the configured action.
  • Method Details

    • getDtmf

      A DTMF digit the user can press to trigger the configured action.
      Returns:
      dtmf
    • getAction

      String getAction()
      Determines which action is taken when the DTMF digit is pressed. The following values are accepted: - If you want to navigate to another menu, use menu(value). - If you want to perform another behavior you have coded in your application, use return (value) , where (value) is the name of the method you want to execute.
      Returns:
      action
    • builder

      static MenuOption.Builder builder()
      Getting builder
      Returns:
      New Builder instance