New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@morphood/capacitor-plugin-azure-speech

Package Overview
Dependencies
Maintainers
5
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@morphood/capacitor-plugin-azure-speech

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

  • 0.2.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
5
Created
Source

capacitor-plugin-azure-keyword

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

Install

npm install @morphood/capacitor-plugin-azure-keyword
npx cap sync

API

initialize(...)

initialize(options?: InitOptions | undefined) => Promise<void>
ParamType
optionsInitOptions

deniedMicPermission()

deniedMicPermission() => Promise<{ permissionDenied: boolean; }>

Returns: Promise<{ permissionDenied: boolean; }>


checkPermissionMicrophone()

checkPermissionMicrophone() => Promise<{ status: string; }>

Returns: Promise<{ status: string; }>


checkPermissionCamera()

checkPermissionCamera() => Promise<{ status: string; }>

Returns: Promise<{ status: string; }>


requestPermission()

requestPermission() => Promise<{ status: string; }>

Returns: Promise<{ status: string; }>


recognizeKeywordFromMic()

recognizeKeywordFromMic() => Promise<RecognizeResult>

Returns: Promise<RecognizeResult>


stopRecognizeKeyword()

stopRecognizeKeyword() => Promise<RecognizeResult>

Returns: Promise<RecognizeResult>


recognizeSpeech()

recognizeSpeech() => Promise<RecognizeResult>

Returns: Promise<RecognizeResult>


stopRecognizeSpeech()

stopRecognizeSpeech() => Promise<RecognizeResult>

Returns: Promise<RecognizeResult>


recognizeIntent(...)

recognizeIntent(options: RecoIntentOption) => Promise<RecognizeResult>
ParamType
optionsRecoIntentOption

Returns: Promise<RecognizeResult>


stopIntentRecognize()

stopIntentRecognize() => Promise<RecognizeResult>

Returns: Promise<RecognizeResult>


synthesisToSpeaker(...)

synthesisToSpeaker(options: { text: string; }) => Promise<SynthesizingResult>
ParamType
options{ text: string; }

Returns: Promise<SynthesizingResult>


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


addListener('speechResult', ...)

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

Provides Speechl result.

ParamType
eventName'speechResult'
listenerFunc(data: SpeechResult) => void

Returns: Promise<PluginListenerHandle> & PluginListenerHandle

Since: 0.0.1


addListener('speechIntentResult', ...)

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

Provides Speechl result.

ParamType
eventName'speechIntentResult'
listenerFunc(data: SpeechIntentResult) => void

Returns: Promise<PluginListenerHandle> & PluginListenerHandle

Since: 0.0.1


addListener('permissionState', ...)

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

Provides Permission result.

ParamType
eventName'permissionState'
listenerFunc(data: string) => void

Returns: Promise<PluginListenerHandle> & PluginListenerHandle

Since: 0.0.1


Interfaces

InitOptions
PropType
speechKeystring
speechRegionstring
RecognizeResult
PropType
isRecognizingboolean
recognizeStringstring
RecoIntentOption
PropType
appIdstring
SynthesizingResult
PropType
synthesizingboolean
PluginListenerHandle
PropType
remove() => Promise<void>
KeywordResult
PropType
reasonnumber
keywordstring
SpeechResult
PropType
isFinalboolean
textstring
SpeechIntentResult
PropType
isFinalboolean
textstring
intentstring
luisJsonstring

Android Build Command

Add the following to android/build.gradle

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {

  repositories {
      google()
      jcenter()
      mavenCentral()
  }
  dependencies {
      classpath 'com.android.tools.build:gradle:7.2.1'
      classpath 'com.google.gms:google-services:4.3.10'

      // NOTE: Do not place your application dependencies here; they belong
      // in the individual module build.gradle files
  }
}

apply from: "variables.gradle"

allprojects {
  repositories {
      google()
      jcenter()
      mavenCentral()

      maven {
        url 'https://csspeechstorage.blob.core.windows.net/maven/'
      }
  }
}

task clean(type: Delete) {
  delete rootProject.buildDir
}

ext {
rgcfaIncludeGoogle = true
}

Keywords

FAQs

Package last updated on 31 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc