Skip to main content
Version: 12 Dec 2024

IntentCallbacks

A structure containing callbacks for voice intent events. The final parameter to all the callbacks is a IntPtr, which will point to whatever payload data the user provides in MLVoiceIntentSetCallbacks(). Individual callbacks which are not required by the client can be NULL. More...

Detailed Description

public struct IntentCallbacks; 

Details*

This structure must be initialized by calling IntentCallbacks.Create() before use.


Public Methods

IntentCallbacks Create

Creates an initialized IntentCallbacks object.

public static IntentCallbacks Create()

Returns: An initialized IntentCallbacks object.


Public Attributes

OnEvent

Native OnVoiceEvent.


public OnVoiceEventDelegate OnEvent;

TypeDescription
OnVoiceEventDelegateThis callback will be invoked whenever a voice intent event is detected.

Version

Version of the struct.


public uint Version;