Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ListControlState

State tracked by a ListControl.

Hierarchy

  • ListControlState

Implements

Properties

Optional elicitationAction

elicitationAction: undefined | string

Tracks the most recent elicitation action.

Note: this isn't cleared immediate after user provides a value as the value maybe be invalid and has to be re-elicited. Use state.activeInitiate to test if the most recent turn was a direct elicitation.

Optional erMatch

erMatch: undefined | false | true

Tracks whether the value is an Entity Resolution match.

isValueConfirmed

isValueConfirmed: boolean = false

Tracks whether the value has been explicitly confirmed by the user.

lastInitiative

lastInitiative: LastInitiativeState

Tracks the last initiative act from the control

Optional previousValue

previousValue: undefined | string

The previous value.

Optional spokenItemsPageIndex

spokenItemsPageIndex: undefined | number

Index of the page of items most recently spoken.

value

value: string

The value.

If erMatch = true the value is a slot value ID for the slot type this.slotType. If erMatch = false the value may be an arbitrary string.