// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module media.mojom;
// Used by the browser's speech recognition engine to indicate the reason for a
// speech recognition error.
[Stable, Extensible]
enum SpeechRecognitionErrorCode {
[Default] kNone,
kNoSpeech,
kAborted,
kAudioCapture,
kNetwork,
kNotAllowed,
kServiceNotAllowed,
kBadGrammar,
kLanguageNotSupported,
kNoMatch,
};