Documentation
¶
Index ¶
Constants ¶
View Source
const ( Creator int = 0 ConfidenceLevelHigh int = 5 ConfidenceLevelLow int = 1 ConfidenceLevelMedium int = 3 ConfidenceLevelMediumHigh int = 4 ConfidenceLevelMediumLow int = 2 ConfidenceLevelUnknown int = 0 ErrorAudio int = 3 ErrorCannotCheckSupport int = 14 ErrorCannotListenToDownloadEvents int = 15 ErrorClient int = 5 ErrorInsufficientPermissions int = 9 ErrorLanguageNotSupported int = 12 ErrorNetwork int = 2 ErrorNetworkTimeout int = 1 ErrorNoMatch int = 7 ErrorRecognizerBusy int = 8 ErrorServer int = 4 ErrorServerDisconnected int = 11 ErrorSpeechTimeout int = 6 ErrorTooManyRequests int = 10 LanguageDetectionConfidenceLevelConfident int = 2 LanguageDetectionConfidenceLevelHighlyConfident int = 3 LanguageDetectionConfidenceLevelNotConfident int = 1 LanguageDetectionConfidenceLevelUnknown int = 0 LanguageSwitchResultFailed int = 2 LanguageSwitchResultNotAttempted int = 0 LanguageSwitchResultSkippedNoModel int = 3 LanguageSwitchResultSucceeded int = 1 ResultAudioError int = 5 ResultClientError int = 2 ResultNetworkError int = 4 ResultNoMatch int = 1 ResultServerError int = 3 Error int = -1 ErrorInvalidRequest int = -8 ErrorNotInstalledYet int = -9 ErrorOutput int = -5 ErrorService int = -4 ErrorSynthesis int = -3 LangAvailable int = 0 LangCountryAvailable int = 1 LangCountryVarAvailable int = 2 LangMissingData int = -1 LangNotSupported int = -2 QueueAdd int = 1 QueueFlush int = 0 Stopped int = -2 Success int = 0 CheckVoiceDataBadData int = -1 CheckVoiceDataFail int = 0 CheckVoiceDataMissingData int = -2 CheckVoiceDataMissingVolume int = -3 CheckVoiceDataPass int = 1 DefaultStream int = 3 )
View Source
const ( ConfidenceScores string = "confidence_scores" DetectedLanguage string = "detected_language" LanguageDetectionConfidenceLevel string = "language_detection_confidence_level" LanguageSwitchResult string = "language_switch_result" RecognitionParts string = "recognition_parts" ResultsAlternatives string = "results_alternatives" ResultsRecognition string = "results_recognition" TopLocaleAlternatives string = "top_locale_alternatives" ServiceInterface string = "android.speech.RecognitionService" ServiceMetaData string = "android.speech" ActionVoiceSearchResults string = "android.speech.action.VOICE_SEARCH_RESULTS" ExtraVoiceSearchResultHtml string = "android.speech.extras.VOICE_SEARCH_RESULT_HTML" ExtraVoiceSearchResultHtmlBaseUrls string = "android.speech.extras.VOICE_SEARCH_RESULT_HTML_BASE_URLS" ExtraVoiceSearchResultHttpHeaders string = "android.speech.extras.EXTRA_VOICE_SEARCH_RESULT_HTTP_HEADERS" ExtraVoiceSearchResultStrings string = "android.speech.extras.VOICE_SEARCH_RESULT_STRINGS" ExtraVoiceSearchResultUrls string = "android.speech.extras.VOICE_SEARCH_RESULT_URLS" UriSchemeInline string = "inline" ActionGetLanguageDetails string = "android.speech.action.GET_LANGUAGE_DETAILS" ActionRecognizeSpeech string = "android.speech.action.RECOGNIZE_SPEECH" ActionVoiceSearchHandsFree string = "android.speech.action.VOICE_SEARCH_HANDS_FREE" ActionWebSearch string = "android.speech.action.WEB_SEARCH" DetailsMetaData string = "android.speech.DETAILS" ExtraAudioInjectSource string = "android.speech.extra.AUDIO_INJECT_SOURCE" ExtraAudioSource string = "android.speech.extra.AUDIO_SOURCE" ExtraAudioSourceChannelCount string = "android.speech.extra.AUDIO_SOURCE_CHANNEL_COUNT" ExtraAudioSourceEncoding string = "android.speech.extra.AUDIO_SOURCE_ENCODING" ExtraAudioSourceSamplingRate string = "android.speech.extra.AUDIO_SOURCE_SAMPLING_RATE" ExtraBiasingStrings string = "android.speech.extra.BIASING_STRINGS" ExtraCallingPackage string = "calling_package" ExtraConfidenceScores string = "android.speech.extra.CONFIDENCE_SCORES" ExtraEnableBiasingDeviceContext string = "android.speech.extra.ENABLE_BIASING_DEVICE_CONTEXT" ExtraEnableFormatting string = "android.speech.extra.ENABLE_FORMATTING" ExtraEnableLanguageDetection string = "android.speech.extra.ENABLE_LANGUAGE_DETECTION" ExtraEnableLanguageSwitch string = "android.speech.extra.ENABLE_LANGUAGE_SWITCH" ExtraHidePartialTrailingPunctuation string = "android.speech.extra.HIDE_PARTIAL_TRAILING_PUNCTUATION" ExtraLanguage string = "android.speech.extra.LANGUAGE" ExtraLanguageDetectionAllowedLanguages string = "android.speech.extra.LANGUAGE_DETECTION_ALLOWED_LANGUAGES" ExtraLanguageModel string = "android.speech.extra.LANGUAGE_MODEL" ExtraLanguagePreference string = "android.speech.extra.LANGUAGE_PREFERENCE" ExtraLanguageSwitchAllowedLanguages string = "android.speech.extra.LANGUAGE_SWITCH_ALLOWED_LANGUAGES" ExtraLanguageSwitchInitialActiveDurationTimeMillis string = "android.speech.extra.LANGUAGE_SWITCH_INITIAL_ACTIVE_DURATION_TIME_MILLIS" ExtraLanguageSwitchMaxSwitches string = "android.speech.extra.LANGUAGE_SWITCH_MAX_SWITCHES" ExtraMaskOffensiveWords string = "android.speech.extra.MASK_OFFENSIVE_WORDS" ExtraMaxResults string = "android.speech.extra.MAX_RESULTS" ExtraOnlyReturnLanguagePreference string = "android.speech.extra.ONLY_RETURN_LANGUAGE_PREFERENCE" ExtraOrigin string = "android.speech.extra.ORIGIN" ExtraPartialResults string = "android.speech.extra.PARTIAL_RESULTS" ExtraPreferOffline string = "android.speech.extra.PREFER_OFFLINE" ExtraPrompt string = "android.speech.extra.PROMPT" ExtraRequestWordConfidence string = "android.speech.extra.REQUEST_WORD_CONFIDENCE" ExtraRequestWordTiming string = "android.speech.extra.REQUEST_WORD_TIMING" ExtraResults string = "android.speech.extra.RESULTS" ExtraResultsPendingintent string = "android.speech.extra.RESULTS_PENDINGINTENT" ExtraResultsPendingintentBundle string = "android.speech.extra.RESULTS_PENDINGINTENT_BUNDLE" ExtraSecure string = "android.speech.extras.EXTRA_SECURE" ExtraSegmentedSession string = "android.speech.extra.SEGMENTED_SESSION" ExtraSpeechInputCompleteSilenceLengthMillis string = "android.speech.extras.SPEECH_INPUT_COMPLETE_SILENCE_LENGTH_MILLIS" ExtraSpeechInputMinimumLengthMillis string = "android.speech.extras.SPEECH_INPUT_MINIMUM_LENGTH_MILLIS" ExtraSpeechInputPossiblyCompleteSilenceLengthMillis string = "android.speech.extras.SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS" ExtraSupportedLanguages string = "android.speech.extra.SUPPORTED_LANGUAGES" ExtraWebSearchOnly string = "android.speech.extra.WEB_SEARCH_ONLY" FormattingOptimizeLatency string = "latency" FormattingOptimizeQuality string = "quality" LanguageModelFreeForm string = "free_form" LanguageModelWebSearch string = "web_search" LanguageSwitchBalanced string = "balanced" LanguageSwitchHighPrecision string = "high_precision" LanguageSwitchQuickResponse string = "quick_response" ActionTtsQueueProcessingCompleted string = "android.speech.tts.TTS_QUEUE_PROCESSING_COMPLETED" ActionCheckTtsData string = "android.speech.tts.engine.CHECK_TTS_DATA" ActionGetSampleText string = "android.speech.tts.engine.GET_SAMPLE_TEXT" ActionInstallTtsData string = "android.speech.tts.engine.INSTALL_TTS_DATA" ActionTtsDataInstalled string = "android.speech.tts.engine.TTS_DATA_INSTALLED" ExtraAvailableVoices string = "availableVoices" ExtraCheckVoiceDataFor string = "checkVoiceDataFor" ExtraSampleText string = "sampleText" ExtraTtsDataInstalled string = "dataInstalled" ExtraVoiceDataFiles string = "dataFiles" ExtraVoiceDataFilesInfo string = "dataFilesInfo" ExtraVoiceDataRootDirectory string = "dataRoot" IntentActionTtsService string = "android.intent.action.TTS_SERVICE" KeyFeatureEmbeddedSynthesis string = "embeddedTts" KeyFeatureNetworkRetriesCount string = "networkRetriesCount" KeyFeatureNetworkSynthesis string = "networkTts" KeyFeatureNetworkTimeoutMs string = "networkTimeoutMs" KeyFeatureNotInstalled string = "notInstalled" KeyParamPan string = "pan" KeyParamSessionId string = "sessionId" KeyParamStream string = "streamType" KeyParamUtteranceId string = "utteranceId" KeyParamVolume string = "volume" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.