0.0.1 • Published 2 years ago

capacitor-plugin-azure-keyword v0.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

capacitor-plugin-azure-keyword

This project hosts the samples for the Microsoft Cognitive Services Speech SDK.

Install

npm install capacitor-plugin-azure-keyword
npx cap sync

API

recognizeKeywordFromMic()

recognizeKeywordFromMic() => Promise<RecognizeResult>

Returns: Promise<RecognizeResult>


addListener('keywordResult', ...)

addListener(eventName: 'keywordResult', listenerFunc: (data: KeywordResult) => void) => Promise<PluginListenerHandle> & PluginListenerHandle

Provides keyword result.

ParamType
eventName'keywordResult'
listenerFunc(data: KeywordResult) => void

Returns: Promise<PluginListenerHandle> & PluginListenerHandle

Since: 0.0.1


Interfaces

RecognizeResult

PropType
isRecognizingboolean
recognizeStringstring

PluginListenerHandle

PropType
remove() => Promise<void>

KeywordResult

PropType
reasonnumber
keywordstring