Versions in this module Expand all Collapse all v0 v0.0.6 Mar 29, 2026 Changes in this version + type AlternativeSpanClient struct + func NewAlternativeSpanClient(cc grpc.ClientConnInterface) *AlternativeSpanClient + func (c *AlternativeSpanClient) DescribeContents(ctx context.Context, handle int64) (int32, error) + func (c *AlternativeSpanClient) Equals(ctx context.Context, handle int64, arg0 int64) (bool, error) + func (c *AlternativeSpanClient) GetAlternatives(ctx context.Context, handle int64) (int64, error) + func (c *AlternativeSpanClient) GetEndPosition(ctx context.Context, handle int64) (int32, error) + func (c *AlternativeSpanClient) GetStartPosition(ctx context.Context, handle int64) (int32, error) + func (c *AlternativeSpanClient) HashCode(ctx context.Context, handle int64) (int32, error) + func (c *AlternativeSpanClient) ToString(ctx context.Context, handle int64) (string, error) + func (c *AlternativeSpanClient) WriteToParcel(ctx context.Context, handle int64, arg0 int64, arg1 int32) error + type AlternativeSpansClient struct + func NewAlternativeSpansClient(cc grpc.ClientConnInterface) *AlternativeSpansClient + func (c *AlternativeSpansClient) DescribeContents(ctx context.Context, handle int64) (int32, error) + func (c *AlternativeSpansClient) Equals(ctx context.Context, handle int64, arg0 int64) (bool, error) + func (c *AlternativeSpansClient) GetSpans(ctx context.Context, handle int64) (int64, error) + func (c *AlternativeSpansClient) HashCode(ctx context.Context, handle int64) (int32, error) + func (c *AlternativeSpansClient) ToString(ctx context.Context, handle int64) (string, error) + func (c *AlternativeSpansClient) WriteToParcel(ctx context.Context, handle int64, arg0 int64, arg1 int32) error + type ModelDownloadListenerClient struct + func NewModelDownloadListenerClient(cc grpc.ClientConnInterface) *ModelDownloadListenerClient + func (c *ModelDownloadListenerClient) OnError(ctx context.Context, arg0 int32) error + func (c *ModelDownloadListenerClient) OnProgress(ctx context.Context, arg0 int32) error + func (c *ModelDownloadListenerClient) OnScheduled(ctx context.Context) error + func (c *ModelDownloadListenerClient) OnSuccess(ctx context.Context) error + type RecognitionListenerClient struct + func NewRecognitionListenerClient(cc grpc.ClientConnInterface) *RecognitionListenerClient + func (c *RecognitionListenerClient) OnBeginningOfSpeech(ctx context.Context) error + func (c *RecognitionListenerClient) OnBufferReceived(ctx context.Context, arg0 int64) error + func (c *RecognitionListenerClient) OnEndOfSpeech(ctx context.Context) error + func (c *RecognitionListenerClient) OnError(ctx context.Context, arg0 int32) error + func (c *RecognitionListenerClient) OnEvent(ctx context.Context, arg0 int32, arg1 int64) error + func (c *RecognitionListenerClient) OnPartialResults(ctx context.Context, arg0 int64) error + func (c *RecognitionListenerClient) OnReadyForSpeech(ctx context.Context, arg0 int64) error + func (c *RecognitionListenerClient) OnResults(ctx context.Context, arg0 int64) error + func (c *RecognitionListenerClient) OnRmsChanged(ctx context.Context, arg0 float32) error + type RecognitionPartBuilderClient struct + func NewRecognitionPartBuilderClient(cc grpc.ClientConnInterface) *RecognitionPartBuilderClient + func (c *RecognitionPartBuilderClient) Build(ctx context.Context) (int64, error) + func (c *RecognitionPartBuilderClient) SetConfidenceLevel(ctx context.Context, arg0 int32) (int64, error) + func (c *RecognitionPartBuilderClient) SetFormattedText(ctx context.Context, arg0 string) (int64, error) + func (c *RecognitionPartBuilderClient) SetRawText(ctx context.Context, arg0 string) (int64, error) + func (c *RecognitionPartBuilderClient) SetTimestampMillis(ctx context.Context, arg0 int64) (int64, error) + type RecognitionPartClient struct + func NewRecognitionPartClient(cc grpc.ClientConnInterface) *RecognitionPartClient + func (c *RecognitionPartClient) DescribeContents(ctx context.Context) (int32, error) + func (c *RecognitionPartClient) Equals(ctx context.Context, arg0 int64) (bool, error) + func (c *RecognitionPartClient) GetConfidenceLevel(ctx context.Context) (int32, error) + func (c *RecognitionPartClient) GetFormattedText(ctx context.Context) (string, error) + func (c *RecognitionPartClient) GetRawText(ctx context.Context) (string, error) + func (c *RecognitionPartClient) GetTimestampMillis(ctx context.Context) (int64, error) + func (c *RecognitionPartClient) HashCode(ctx context.Context) (int32, error) + func (c *RecognitionPartClient) ToString(ctx context.Context) (string, error) + func (c *RecognitionPartClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error + type RecognitionServiceCallbackClient struct + func NewRecognitionServiceCallbackClient(cc grpc.ClientConnInterface) *RecognitionServiceCallbackClient + func (c *RecognitionServiceCallbackClient) BeginningOfSpeech(ctx context.Context) error + func (c *RecognitionServiceCallbackClient) BufferReceived(ctx context.Context, arg0 int64) error + func (c *RecognitionServiceCallbackClient) EndOfSegmentedSession(ctx context.Context) error + func (c *RecognitionServiceCallbackClient) EndOfSpeech(ctx context.Context) error + func (c *RecognitionServiceCallbackClient) Error(ctx context.Context, arg0 int32) error + func (c *RecognitionServiceCallbackClient) GetCallingAttributionSource(ctx context.Context) (int64, error) + func (c *RecognitionServiceCallbackClient) GetCallingUid(ctx context.Context) (int32, error) + func (c *RecognitionServiceCallbackClient) LanguageDetection(ctx context.Context, arg0 int64) error + func (c *RecognitionServiceCallbackClient) PartialResults(ctx context.Context, arg0 int64) error + func (c *RecognitionServiceCallbackClient) ReadyForSpeech(ctx context.Context, arg0 int64) error + func (c *RecognitionServiceCallbackClient) Results(ctx context.Context, arg0 int64) error + func (c *RecognitionServiceCallbackClient) RmsChanged(ctx context.Context, arg0 float32) error + func (c *RecognitionServiceCallbackClient) SegmentResults(ctx context.Context, arg0 int64) error + type RecognitionServiceClient struct + func NewRecognitionServiceClient(cc grpc.ClientConnInterface) *RecognitionServiceClient + func (c *RecognitionServiceClient) CreateContext(ctx context.Context, arg0 int64) (int64, error) + func (c *RecognitionServiceClient) GetMaxConcurrentSessionsCount(ctx context.Context) (int32, error) + func (c *RecognitionServiceClient) OnBind(ctx context.Context, arg0 int64) (int64, error) + func (c *RecognitionServiceClient) OnCheckRecognitionSupport2_1(ctx context.Context, arg0 int64, arg1 int64) error + func (c *RecognitionServiceClient) OnCheckRecognitionSupport3(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error + func (c *RecognitionServiceClient) OnDestroy(ctx context.Context) error + func (c *RecognitionServiceClient) OnTriggerModelDownload1(ctx context.Context, arg0 int64) error + func (c *RecognitionServiceClient) OnTriggerModelDownload2_1(ctx context.Context, arg0 int64, arg1 int64) error + func (c *RecognitionServiceClient) OnTriggerModelDownload3_2(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error + type RecognitionServiceSupportCallbackClient struct + func NewRecognitionServiceSupportCallbackClient(cc grpc.ClientConnInterface) *RecognitionServiceSupportCallbackClient + func (c *RecognitionServiceSupportCallbackClient) OnError(ctx context.Context, arg0 int32) error + func (c *RecognitionServiceSupportCallbackClient) OnSupportResult(ctx context.Context, arg0 int64) error + type RecognitionSupportBuilderClient struct + func NewRecognitionSupportBuilderClient(cc grpc.ClientConnInterface) *RecognitionSupportBuilderClient + func (c *RecognitionSupportBuilderClient) AddInstalledOnDeviceLanguage(ctx context.Context, arg0 string) (int64, error) + func (c *RecognitionSupportBuilderClient) AddOnlineLanguage(ctx context.Context, arg0 string) (int64, error) + func (c *RecognitionSupportBuilderClient) AddPendingOnDeviceLanguage(ctx context.Context, arg0 string) (int64, error) + func (c *RecognitionSupportBuilderClient) AddSupportedOnDeviceLanguage(ctx context.Context, arg0 string) (int64, error) + func (c *RecognitionSupportBuilderClient) Build(ctx context.Context) (int64, error) + type RecognitionSupportCallbackClient struct + func NewRecognitionSupportCallbackClient(cc grpc.ClientConnInterface) *RecognitionSupportCallbackClient + func (c *RecognitionSupportCallbackClient) OnError(ctx context.Context, arg0 int32) error + func (c *RecognitionSupportCallbackClient) OnSupportResult(ctx context.Context, arg0 int64) error + type RecognitionSupportClient struct + func NewRecognitionSupportClient(cc grpc.ClientConnInterface) *RecognitionSupportClient + func (c *RecognitionSupportClient) DescribeContents(ctx context.Context) (int32, error) + func (c *RecognitionSupportClient) Equals(ctx context.Context, arg0 int64) (bool, error) + func (c *RecognitionSupportClient) GetInstalledOnDeviceLanguages(ctx context.Context) (int64, error) + func (c *RecognitionSupportClient) GetOnlineLanguages(ctx context.Context) (int64, error) + func (c *RecognitionSupportClient) GetPendingOnDeviceLanguages(ctx context.Context) (int64, error) + func (c *RecognitionSupportClient) GetSupportedOnDeviceLanguages(ctx context.Context) (int64, error) + func (c *RecognitionSupportClient) HashCode(ctx context.Context) (int32, error) + func (c *RecognitionSupportClient) ToString(ctx context.Context) (string, error) + func (c *RecognitionSupportClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error + type RecognizerClient struct + func NewRecognizerClient(cc grpc.ClientConnInterface) *RecognizerClient + func (c *RecognizerClient) Cancel(ctx context.Context) error + func (c *RecognizerClient) CheckRecognitionSupport(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error + func (c *RecognizerClient) CreateOnDeviceSpeechRecognizer(ctx context.Context, arg0 int64) (int64, error) + func (c *RecognizerClient) CreateSpeechRecognizer1(ctx context.Context, arg0 int64) (int64, error) + func (c *RecognizerClient) CreateSpeechRecognizer2_1(ctx context.Context, arg0 int64, arg1 int64) (int64, error) + func (c *RecognizerClient) Destroy(ctx context.Context) error + func (c *RecognizerClient) IsOnDeviceRecognitionAvailable(ctx context.Context, arg0 int64) (bool, error) + func (c *RecognizerClient) IsRecognitionAvailable(ctx context.Context, arg0 int64) (bool, error) + func (c *RecognizerClient) SetRecognitionListener(ctx context.Context, arg0 int64) error + func (c *RecognizerClient) StartListening(ctx context.Context, arg0 int64) error + func (c *RecognizerClient) StopListening(ctx context.Context) error + func (c *RecognizerClient) TriggerModelDownload1(ctx context.Context, arg0 int64) error + func (c *RecognizerClient) TriggerModelDownload3_1(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error + type RecognizerIntentClient struct + func NewRecognizerIntentClient(cc grpc.ClientConnInterface) *RecognizerIntentClient + func (c *RecognizerIntentClient) GetVoiceDetailsIntent(ctx context.Context, arg0 int64) (int64, error) + type TextToSpeechClient struct + func NewTextToSpeechClient(cc grpc.ClientConnInterface) *TextToSpeechClient + func (c *TextToSpeechClient) AddEarcon2(ctx context.Context, handle int64, arg0 string, arg1 int64) (int32, error) + func (c *TextToSpeechClient) AddEarcon2_1(ctx context.Context, handle int64, arg0 string, arg1 int64) (int32, error) + func (c *TextToSpeechClient) AddEarcon2_2(ctx context.Context, handle int64, arg0 string, arg1 string) (int32, error) + func (c *TextToSpeechClient) AddEarcon3_3(ctx context.Context, handle int64, arg0 string, arg1 string, arg2 int32) (int32, error) + func (c *TextToSpeechClient) AddSpeech2(ctx context.Context, handle int64, arg0 string, arg1 int64) (int32, error) + func (c *TextToSpeechClient) AddSpeech2_1(ctx context.Context, handle int64, arg0 string, arg1 int64) (int32, error) + func (c *TextToSpeechClient) AddSpeech2_3(ctx context.Context, handle int64, arg0 string, arg1 string) (int32, error) + func (c *TextToSpeechClient) AddSpeech3_2(ctx context.Context, handle int64, arg0 string, arg1 string, arg2 int32) (int32, error) + func (c *TextToSpeechClient) AddSpeech3_4(ctx context.Context, handle int64, arg0 string, arg1 string, arg2 int32) (int32, error) + func (c *TextToSpeechClient) AreDefaultsEnforced(ctx context.Context, handle int64) (bool, error) + func (c *TextToSpeechClient) GetAvailableLanguages(ctx context.Context, handle int64) (int64, error) + func (c *TextToSpeechClient) GetDefaultEngine(ctx context.Context, handle int64) (string, error) + func (c *TextToSpeechClient) GetDefaultLanguage(ctx context.Context, handle int64) (int64, error) + func (c *TextToSpeechClient) GetDefaultVoice(ctx context.Context, handle int64) (int64, error) + func (c *TextToSpeechClient) GetEngines(ctx context.Context, handle int64) (int64, error) + func (c *TextToSpeechClient) GetFeatures(ctx context.Context, handle int64, arg0 int64) (int64, error) + func (c *TextToSpeechClient) GetLanguage(ctx context.Context, handle int64) (int64, error) + func (c *TextToSpeechClient) GetMaxSpeechInputLength(ctx context.Context, handle int64) (int32, error) + func (c *TextToSpeechClient) GetVoice(ctx context.Context, handle int64) (int64, error) + func (c *TextToSpeechClient) GetVoices(ctx context.Context, handle int64) (int64, error) + func (c *TextToSpeechClient) IsLanguageAvailable(ctx context.Context, handle int64, arg0 int64) (int32, error) + func (c *TextToSpeechClient) IsSpeaking(ctx context.Context, handle int64) (bool, error) + func (c *TextToSpeechClient) PlayEarcon(ctx context.Context, handle int64, arg0 string, arg1 int32, arg2 int64, ...) (int32, error) + func (c *TextToSpeechClient) PlaySilentUtterance(ctx context.Context, handle int64, arg0 int64, arg1 int32, arg2 string) (int32, error) + func (c *TextToSpeechClient) SetAudioAttributes(ctx context.Context, handle int64, arg0 int64) (int32, error) + func (c *TextToSpeechClient) SetEngineByPackageName(ctx context.Context, handle int64, arg0 string) (int32, error) + func (c *TextToSpeechClient) SetLanguage(ctx context.Context, handle int64, arg0 int64) (int32, error) + func (c *TextToSpeechClient) SetOnUtteranceCompletedListener(ctx context.Context, handle int64, arg0 int64) (int32, error) + func (c *TextToSpeechClient) SetOnUtteranceProgressListener(ctx context.Context, handle int64, arg0 int64) (int32, error) + func (c *TextToSpeechClient) SetPitch(ctx context.Context, handle int64, arg0 float32) (int32, error) + func (c *TextToSpeechClient) SetSpeechRate(ctx context.Context, handle int64, arg0 float32) (int32, error) + func (c *TextToSpeechClient) SetVoice(ctx context.Context, handle int64, arg0 int64) (int32, error) + func (c *TextToSpeechClient) Shutdown(ctx context.Context, handle int64) error + func (c *TextToSpeechClient) Speak(ctx context.Context, handle int64, arg0 string, arg1 int32, arg2 int64, ...) (int32, error) + func (c *TextToSpeechClient) Stop(ctx context.Context, handle int64) (int32, error) + func (c *TextToSpeechClient) SynthesizeToFile4(ctx context.Context, handle int64, arg0 string, arg1 int64, arg2 int64, ...) (int32, error) + func (c *TextToSpeechClient) SynthesizeToFile4_1(ctx context.Context, handle int64, arg0 string, arg1 int64, arg2 int64, ...) (int32, error) + type TextToSpeechEngineInfoClient struct + func NewTextToSpeechEngineInfoClient(cc grpc.ClientConnInterface) *TextToSpeechEngineInfoClient + func (c *TextToSpeechEngineInfoClient) ToString(ctx context.Context) (string, error) + type TextToSpeechOnInitListenerClient struct + func NewTextToSpeechOnInitListenerClient(cc grpc.ClientConnInterface) *TextToSpeechOnInitListenerClient + func (c *TextToSpeechOnInitListenerClient) OnInit(ctx context.Context, arg0 int32) error + type TextToSpeechOnUtteranceCompletedListenerClient struct + func NewTextToSpeechOnUtteranceCompletedListenerClient(cc grpc.ClientConnInterface) *TextToSpeechOnUtteranceCompletedListenerClient + func (c *TextToSpeechOnUtteranceCompletedListenerClient) OnUtteranceCompleted(ctx context.Context, arg0 string) error