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 typeslot
orframe
, additional values are also valid:- if event_name=
filled
and the type of the parent node isslot
: reprompt
skip_all_slots
- if event_name=
- if event_name=
nomatch
and the type of the parent node isslot
:reprompt
skip_slot
skip_all_slots
- if event_name=
generic
and the type of the parent node isframe
:reprompt
skip_slot
skip_all_slots
If you specifyjump_to
, then you must also specify a value for thedialog_node
property.
Declaration
Swift
public enum Behavior : String
- The following values are valid for any node:
-
Which part of the dialog node to process next.
See moreDeclaration
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 typeslot
orframe
, additional values are also valid:- if event_name=
filled
and the type of the parent node isslot
: reprompt
skip_all_slots
- if event_name=
- if event_name=
nomatch
and the type of the parent node isslot
:reprompt
skip_slot
skip_all_slots
- if event_name=
generic
and the type of the parent node isframe
:reprompt
skip_slot
skip_all_slots
If you specifyjump_to
, then you must also specify a value for thedialog_node
property.
Declaration
Swift
public var behavior: String
- The following values are valid for any node:
-
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 typeslot
orframe
, additional values are also valid: - if event_name=
filled
and the type of the parent node isslot
:reprompt
skip_all_slots
- if event_name=
nomatch
and the type of the parent node isslot
:reprompt
skip_slot
skip_all_slots
- if event_name=
generic
and the type of the parent node isframe
:reprompt
skip_slot
skip_all_slots
If you specifyjump_to
, then you must also specify a value for thedialog_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
.