DVVoiceLanguage enum
One language voice mode can use.
Values
- english → const DVVoiceLanguage
-
const DVVoiceLanguage('en', 'en-US', 'English', 'English') - pidgin → const DVVoiceLanguage
-
const DVVoiceLanguage('pcm', 'en-NG', 'Nigerian Pidgin', 'Naijá') - yoruba → const DVVoiceLanguage
-
const DVVoiceLanguage('yo', 'yo-NG', 'Yoruba', 'Yorùbá') - igbo → const DVVoiceLanguage
-
const DVVoiceLanguage('ig', 'ig-NG', 'Igbo', 'Igbo') - hausa → const DVVoiceLanguage
-
const DVVoiceLanguage('ha', 'ha-NG', 'Hausa', 'Hausa') - ibibio → const DVVoiceLanguage
-
const DVVoiceLanguage('ibb', 'ibb-NG', 'Ibibio', 'Ibibio') - swahili → const DVVoiceLanguage
-
const DVVoiceLanguage('sw', 'sw-KE', 'Swahili', 'Kiswahili') - amharic → const DVVoiceLanguage
-
const DVVoiceLanguage('am', 'am-ET', 'Amharic', 'አማርኛ') - zulu → const DVVoiceLanguage
-
const DVVoiceLanguage('zu', 'zu-ZA', 'Zulu', 'isiZulu') - afrikaans → const DVVoiceLanguage
-
const DVVoiceLanguage('af', 'af-ZA', 'Afrikaans', 'Afrikaans') - french → const DVVoiceLanguage
-
const DVVoiceLanguage('fr', 'fr-FR', 'French', 'Français') - spanish → const DVVoiceLanguage
-
const DVVoiceLanguage('es', 'es-ES', 'Spanish', 'Español') - portuguese → const DVVoiceLanguage
-
const DVVoiceLanguage('pt', 'pt-BR', 'Portuguese', 'Português') - german → const DVVoiceLanguage
-
const DVVoiceLanguage('de', 'de-DE', 'German', 'Deutsch') - italian → const DVVoiceLanguage
-
const DVVoiceLanguage('it', 'it-IT', 'Italian', 'Italiano') - dutch → const DVVoiceLanguage
-
const DVVoiceLanguage('nl', 'nl-NL', 'Dutch', 'Nederlands') - arabic → const DVVoiceLanguage
-
const DVVoiceLanguage('ar', 'ar-SA', 'Arabic', 'العربية') - turkish → const DVVoiceLanguage
-
const DVVoiceLanguage('tr', 'tr-TR', 'Turkish', 'Türkçe') - russian → const DVVoiceLanguage
-
const DVVoiceLanguage('ru', 'ru-RU', 'Russian', 'Русский') - hindi → const DVVoiceLanguage
-
const DVVoiceLanguage('hi', 'hi-IN', 'Hindi', 'हिन्दी') - chinese → const DVVoiceLanguage
-
const DVVoiceLanguage('zh', 'zh-CN', 'Chinese', '中文') - japanese → const DVVoiceLanguage
-
const DVVoiceLanguage('ja', 'ja-JP', 'Japanese', '日本語') - korean → const DVVoiceLanguage
-
const DVVoiceLanguage('ko', 'ko-KR', 'Korean', '한국어')
Properties
- code → String
-
ISO 639 code: how a language is named in the pubspec and kept.
final
- displayName → String
-
What a menu shows: the English name, and the native one where it differs.
no setter
- englishName → String
-
The language's name in English.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - nativeName → String
-
The language's name in itself.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- speechTag → String
-
The BCP 47 tag asked of the device's speech engines.
final
Methods
-
hasVoiceIn(
Set< String> tags) → bool -
Whether one of the device's voices, by their language
tags(en-US,yo_NG), speaks this language. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromCode(
String? code) → DVVoiceLanguage -
The language whose
codeiscode, or english. -
tryCode(
String? code) → DVVoiceLanguage? -
The language whose
codeiscode, or null.
Constants
-
values
→ const List<
DVVoiceLanguage> - A constant List of the values in this enum, in order of their declaration.