You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

cordova-plugin-speechrecognition

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-speechrecognition - npm Package Compare versions

Comparing version

to
1.2.0

5

CHANGELOG.md
# Changelog
## v1.2.0
- Android: add `stopListening` [by Simone Compagnone]
- Android: enable partial results [by Simone Compagnone]
## v1.1.2

@@ -4,0 +9,0 @@

2

package.json
{
"name": "cordova-plugin-speechrecognition",
"version": "1.1.2",
"version": "1.2.0",
"description": "Cordova Plugin for Speech Recognition",

@@ -5,0 +5,0 @@ "cordova": {

@@ -43,3 +43,3 @@ # cordova-plugin-speechrecognition

Boolean showPopup, // Android only
Boolean showPartial // iOS only
Boolean showPartial
}

@@ -57,3 +57,3 @@

- `showPopup` {Boolean} display listener popup window with prompt (default `true`, Android only)
- `showPartial` {Boolean} Allow partial results to be returned (default `false`, iOS only)
- `showPartial` {Boolean} Allow partial results to be returned (default `false`)

@@ -68,4 +68,2 @@ Result of success callback is an `Array` of recognized terms.

iOS only method.
```js

@@ -135,7 +133,11 @@ window.plugins.speechRecognition.stopListening(

### Ionic 2 Usage
### Ionic Usage
```typescript
import { SpeechRecognition } from 'ionic-native';
import { SpeechRecognition } from '@ionic-native/speech-recognition';
constructor(private speechRecognition: SpeechRecognition) { }
...
// Check feature available

@@ -174,5 +176,5 @@ SpeechRecognition.isRecognitionAvailable()

Required: [ionic-native](https://www.npmjs.com/package/ionic-native) v2.3.0
Required: [ionic-native/speech-recognition](https://www.npmjs.com/package/@ionic-native/speech-recognition)
See [Ionic Native documentation](https://ionicframework.com/docs/v2/native/speechrecognition/).
See [Ionic Native documentation](https://ionicframework.com/docs/native/speech-recognition/).

@@ -179,0 +181,0 @@

Sorry, the diff of this file is not supported yet