DialogNodeNextStep

public struct DialogNodeNextStep : Codable, Equatable

The next step to execute following this dialog node.

  • What happens after the dialog node completes. The valid values depend on the node type:

    • The following values are valid for any node:
      • get_user_input
      • skip_user_input
      • jump_to
    • If the node is of type event_handler and its parent node is of type slot or frame, additional values are also valid:
      • if event_name=filled and the type of the parent node is slot:
      • reprompt
      • skip_all_slots
    • if event_name=nomatch and the type of the parent node is slot:
      • reprompt
      • skip_slot
      • skip_all_slots
    • if event_name=generic and the type of the parent node is frame:
      • reprompt
      • skip_slot
      • skip_all_slots If you specify jump_to, then you must also specify a value for the dialog_node property.
    See more

    Declaration

    Swift

    public enum Behavior : String
  • Which part of the dialog node to process next.

    See more

    Declaration

    Swift

    public enum Selector : String
  • What happens after the dialog node completes. The valid values depend on the node type:

    • The following values are valid for any node:
      • get_user_input
      • skip_user_input
      • jump_to
    • If the node is of type event_handler and its parent node is of type slot or frame, additional values are also valid:
      • if event_name=filled and the type of the parent node is slot:
      • reprompt
      • skip_all_slots
    • if event_name=nomatch and the type of the parent node is slot:
      • reprompt
      • skip_slot
      • skip_all_slots
    • if event_name=generic and the type of the parent node is frame:
      • reprompt
      • skip_slot
      • skip_all_slots If you specify jump_to, then you must also specify a value for the dialog_node property.

    Declaration

    Swift

    public var behavior: String
  • The unique ID of the dialog node to process next. This parameter is required if behavior=jump_to.

    Declaration

    Swift

    public var dialogNode: String?
  • Which part of the dialog node to process next.

    Declaration

    Swift

    public var selector: String?
  • Initialize a DialogNodeNextStep with member variables.

    Declaration

    Swift

    public init(
        behavior: String,
        dialogNode: String? = nil,
        selector: String? = nil
    )

    Parameters

    behavior

    What happens after the dialog node completes. The valid values depend on the node type:

    • The following values are valid for any node:
    • get_user_input
    • skip_user_input
    • jump_to
    • If the node is of type event_handler and its parent node is of type slot or frame, additional values are also valid:
    • if event_name=filled and the type of the parent node is slot:
      • reprompt
      • skip_all_slots
    • if event_name=nomatch and the type of the parent node is slot:
      • reprompt
      • skip_slot
      • skip_all_slots
    • if event_name=generic and the type of the parent node is frame:
      • reprompt
      • skip_slot
      • skip_all_slots If you specify jump_to, then you must also specify a value for the dialog_node property.

    dialogNode

    The unique ID of the dialog node to process next. This parameter is required if behavior=jump_to.

    selector

    Which part of the dialog node to process next.

    Return Value

    An initialized DialogNodeNextStep.