Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PluginOptions

example
var includePlugins = [
    {id: 'mmir-plugin-asr-nuance-xhr', config: {
   // ctx: 'nuance',//OPTIONAL install into sub-context "nuance"
     appKey: "9...",
     appId: "NMDPTRIAL....",
    }},
 {id: 'mmir-plugin-asr-google-xhr',
   mode: 'wasm',
   config: {
     appKey: 'A....',
     results: 5
 }},
 {id: 'mmir-plugin-tts-nuance-xhr', config: {
   appKey: "9....",
   appId: "NMDPTRIAL_...",
   voice: {fr: 'Samantha'},
   language: {ja: 'jpn-JPN'}
 }},
 {id: 'mmir-plugin-tts-speakjs', config: {
   env: 'browser',
   ctx: 'local' //OPTIONAL install into sub-context "local"
 }},
 {id: 'mmir-plugin-speech-android', config: {
   // ctx: 'android',//OPTIONAL install into sub-context "android"
   voice: {de: 'male'},
   language: {en: 'eng-IND'}
 }},
];

Hierarchy

  • PluginOptions

Index

Properties

Properties

Optional build

if supported by plugin: custom build options.

NOTE if the plugin does not support custom build configuration, this will be ignored.

Optional config

configuration for the plugin: specific fields/values depending on the plugin NOTE some plugins require credentials, e.g. "appId" and "appKey"

id

id: string

the (package) ID of the plugin NOTE: the plugin needs to be installed, i.e. "npm install ..."

Optional mode

mode for including the plugin: if the plugin does not support the specified mode, will automatically use "default" mode

Generated using TypeDoc