| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 2 // for details. All rights reserved. Use of this source code is governed by a | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 // WARNING: | |
| 6 // This file contains documentation that is merged into the real source. | |
| 7 // Do not make code changes here. | |
| 8 | |
| 9 /// @domName SpeechRecognitionError | |
| 10 interface SpeechRecognitionError { | |
| 11 | |
| 12 static final int ABORTED = 2; | |
| 13 | |
| 14 static final int AUDIO_CAPTURE = 3; | |
| 15 | |
| 16 static final int BAD_GRAMMAR = 7; | |
| 17 | |
| 18 static final int LANGUAGE_NOT_SUPPORTED = 8; | |
| 19 | |
| 20 static final int NETWORK = 4; | |
| 21 | |
| 22 static final int NOT_ALLOWED = 5; | |
| 23 | |
| 24 static final int NO_SPEECH = 1; | |
| 25 | |
| 26 static final int OTHER = 0; | |
| 27 | |
| 28 static final int SERVICE_NOT_ALLOWED = 6; | |
| 29 | |
| 30 /** @domName SpeechRecognitionError.code */ | |
| 31 final int code; | |
| 32 | |
| 33 /** @domName SpeechRecognitionError.message */ | |
| 34 final String message; | |
| 35 } | |
| OLD | NEW |