IntentEventInternal
A structure containing voice intent event data.
Public Attributes
AppIntentSlotCount
Count of an array AppIntentSlots.
public uint AppIntentSlotCount;
AppIntentSlots
Array of app-intent slot, array count is set in app_intent_slot_count. Count of an array app_intent_slots.
public IntPtr AppIntentSlots;
IntentID
User defined intent index which is detected.
public uint IntentID;
IsSuccess
Voice event handling result in the voice intent event. In case of false, other member variables should be ignored. (text will be NULL)
public bool IsSuccess;
NoIntentReason
If intent is not detected, it contains the reason, otherwise the value is MLVoiceIntentNoIntentReason.NoReason.
public NoIntentReason NoIntentReason;
Type | Description |
---|---|
NoIntentReason | No intent reason code in voice event. |
State
Voice state when generating the voice intent event.
public State State;
Type | Description |
---|---|
State | Voice state in voice event. |
Text
The string carrying identifier data which is UTF-8 and null terminated. And the memory of this variable is managed by system.
public string Text;