Skip to content

Commit

Permalink
Update Android SpeechRecognitionListeningOptions
Browse files Browse the repository at this point in the history
Add support for showPartial and preferOffline
  • Loading branch information
CFT-Chris authored Jun 2, 2017
1 parent 41dae53 commit f447757
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/@ionic-native/plugins/speech-recognition/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,16 @@ export interface SpeechRecognitionListeningOptionsAndroid {
* display listener popup window with prompt (default `true`)
*/
showPopup?: boolean;

/**
* Allow partial results to be returned (default `false`)
*/
showPartial?: boolean;

/**
* Prefer offline speech recognition (default `false`)
*/
preferOffline: boolean;
}

/**
Expand Down

0 comments on commit f447757

Please sign in to comment.