Class MessageContextSkillSystem

All Implemented Interfaces:

public class MessageContextSkillSystem
System context data used by the skill.
  • Constructor Details

    • MessageContextSkillSystem

      public MessageContextSkillSystem()
  • Method Details

    • newBuilder

      public MessageContextSkillSystem.Builder newBuilder()
      New builder.
      a MessageContextSkillSystem builder
    • getState

      public String getState()
      Gets the state.

      An encoded string that represents the current conversation state. By saving this value and then sending it in the context of a subsequent message request, you can return to an earlier point in the conversation. If you are using stateful sessions, you can also use a stored state value to restore a paused conversation whose session is expired.

      the state
    • setState

      public void setState​(String state)
      Sets the state.
      state - the new state