Skip to main content
Version: 12 Dec 2024

MLVoiceIntentSettings

Module: Input

A structure containing settings for voice app intent. More...

#include <ml_voice.h>

Public Attributes

TypeName
uint32_tversion
const char *app_intent
The C string carrying app intent made by JSON format, which is UTF-8 and null terminated.

Detailed Description

struct MLVoiceIntentSettings;

A structure containing settings for voice app intent.

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

API Level:

  • 20

Public Attributes Documentation

version

uint32_t version;

Version of this settings.


app_intent

const char * app_intent;

The C string carrying app intent made by JSON format, which is UTF-8 and null terminated.

The app intent should contain pre-defined fields, names, and values. Memory of this variable is managed by user.