Versions in this module Expand all Collapse all v0 v0.0.6 Mar 22, 2026 v0.0.5 Mar 22, 2026 Changes in this version + const DescriptorIModelDownloadListener + const DescriptorIRecognitionListener + const DescriptorIRecognitionService + const DescriptorIRecognitionServiceManager + const DescriptorIRecognitionServiceManagerCallback + const DescriptorIRecognitionSupportCallback + const MethodIModelDownloadListenerOnError + const MethodIModelDownloadListenerOnProgress + const MethodIModelDownloadListenerOnScheduled + const MethodIModelDownloadListenerOnSuccess + const MethodIRecognitionListenerOnBeginningOfSpeech + const MethodIRecognitionListenerOnBufferReceived + const MethodIRecognitionListenerOnEndOfSegmentedSession + const MethodIRecognitionListenerOnEndOfSpeech + const MethodIRecognitionListenerOnError + const MethodIRecognitionListenerOnEvent + const MethodIRecognitionListenerOnLanguageDetection + const MethodIRecognitionListenerOnPartialResults + const MethodIRecognitionListenerOnReadyForSpeech + const MethodIRecognitionListenerOnResults + const MethodIRecognitionListenerOnRmsChanged + const MethodIRecognitionListenerOnSegmentResults + const MethodIRecognitionServiceCancel + const MethodIRecognitionServiceCheckRecognitionSupport + const MethodIRecognitionServiceManagerCallbackOnError + const MethodIRecognitionServiceManagerCallbackOnSuccess + const MethodIRecognitionServiceManagerCreateSession + const MethodIRecognitionServiceManagerSetTemporaryComponent + const MethodIRecognitionServiceStartListening + const MethodIRecognitionServiceStopListening + const MethodIRecognitionServiceTriggerModelDownload + const MethodIRecognitionSupportCallbackOnError + const MethodIRecognitionSupportCallbackOnSupportResult + const TransactionIModelDownloadListenerOnError + const TransactionIModelDownloadListenerOnProgress + const TransactionIModelDownloadListenerOnScheduled + const TransactionIModelDownloadListenerOnSuccess + const TransactionIRecognitionListenerOnBeginningOfSpeech + const TransactionIRecognitionListenerOnBufferReceived + const TransactionIRecognitionListenerOnEndOfSegmentedSession + const TransactionIRecognitionListenerOnEndOfSpeech + const TransactionIRecognitionListenerOnError + const TransactionIRecognitionListenerOnEvent + const TransactionIRecognitionListenerOnLanguageDetection + const TransactionIRecognitionListenerOnPartialResults + const TransactionIRecognitionListenerOnReadyForSpeech + const TransactionIRecognitionListenerOnResults + const TransactionIRecognitionListenerOnRmsChanged + const TransactionIRecognitionListenerOnSegmentResults + const TransactionIRecognitionServiceCancel + const TransactionIRecognitionServiceCheckRecognitionSupport + const TransactionIRecognitionServiceManagerCallbackOnError + const TransactionIRecognitionServiceManagerCallbackOnSuccess + const TransactionIRecognitionServiceManagerCreateSession + const TransactionIRecognitionServiceManagerSetTemporaryComponent + const TransactionIRecognitionServiceStartListening + const TransactionIRecognitionServiceStopListening + const TransactionIRecognitionServiceTriggerModelDownload + const TransactionIRecognitionSupportCallbackOnError + const TransactionIRecognitionSupportCallbackOnSupportResult + type AlternativeSpan struct + EndPosition int32 + StartPosition int32 + func (s *AlternativeSpan) MarshalParcel(p *parcel.Parcel) error + func (s *AlternativeSpan) UnmarshalParcel(p *parcel.Parcel) error + type AlternativeSpans struct + func (s *AlternativeSpans) MarshalParcel(p *parcel.Parcel) error + func (s *AlternativeSpans) UnmarshalParcel(p *parcel.Parcel) error + type IModelDownloadListener interface + AsBinder func() binder.IBinder + OnError func(ctx context.Context, error_ int32) error + OnProgress func(ctx context.Context, completedPercent int32) error + OnScheduled func(ctx context.Context) error + OnSuccess func(ctx context.Context) error + func NewModelDownloadListenerStub(impl IModelDownloadListenerServer) IModelDownloadListener + type IModelDownloadListenerServer interface + OnError func(ctx context.Context, error_ int32) error + OnProgress func(ctx context.Context, completedPercent int32) error + OnScheduled func(ctx context.Context) error + OnSuccess func(ctx context.Context) error + type IRecognitionListener interface + AsBinder func() binder.IBinder + OnBeginningOfSpeech func(ctx context.Context) error + OnBufferReceived func(ctx context.Context, buffer []byte) error + OnEndOfSegmentedSession func(ctx context.Context) error + OnEndOfSpeech func(ctx context.Context) error + OnError func(ctx context.Context, error_ int32) error + OnEvent func(ctx context.Context, eventType int32, params os.Bundle) error + OnLanguageDetection func(ctx context.Context, results os.Bundle) error + OnPartialResults func(ctx context.Context, results os.Bundle) error + OnReadyForSpeech func(ctx context.Context, params os.Bundle) error + OnResults func(ctx context.Context, results os.Bundle) error + OnRmsChanged func(ctx context.Context, rmsdB float32) error + OnSegmentResults func(ctx context.Context, results os.Bundle) error + func NewRecognitionListenerStub(impl IRecognitionListenerServer) IRecognitionListener + type IRecognitionListenerServer interface + OnBeginningOfSpeech func(ctx context.Context) error + OnBufferReceived func(ctx context.Context, buffer []byte) error + OnEndOfSegmentedSession func(ctx context.Context) error + OnEndOfSpeech func(ctx context.Context) error + OnError func(ctx context.Context, error_ int32) error + OnEvent func(ctx context.Context, eventType int32, params os.Bundle) error + OnLanguageDetection func(ctx context.Context, results os.Bundle) error + OnPartialResults func(ctx context.Context, results os.Bundle) error + OnReadyForSpeech func(ctx context.Context, params os.Bundle) error + OnResults func(ctx context.Context, results os.Bundle) error + OnRmsChanged func(ctx context.Context, rmsdB float32) error + OnSegmentResults func(ctx context.Context, results os.Bundle) error + type IRecognitionService interface + AsBinder func() binder.IBinder + Cancel func(ctx context.Context, listener IRecognitionListener, isShutdown bool) error + CheckRecognitionSupport func(ctx context.Context, recognizerIntent content.Intent, ...) error + StartListening func(ctx context.Context, recognizerIntent content.Intent, ...) error + StopListening func(ctx context.Context, listener IRecognitionListener) error + TriggerModelDownload func(ctx context.Context, recognizerIntent content.Intent, ...) error + func NewRecognitionServiceStub(impl IRecognitionServiceServer) IRecognitionService + type IRecognitionServiceManager interface + AsBinder func() binder.IBinder + CreateSession func(ctx context.Context, componentName content.ComponentName, ...) error + SetTemporaryComponent func(ctx context.Context, componentName content.ComponentName) error + func NewRecognitionServiceManagerStub(impl IRecognitionServiceManagerServer) IRecognitionServiceManager + type IRecognitionServiceManagerCallback interface + AsBinder func() binder.IBinder + OnError func(ctx context.Context, errorCode int32) error + OnSuccess func(ctx context.Context, service IRecognitionService) error + func NewRecognitionServiceManagerCallbackStub(impl IRecognitionServiceManagerCallbackServer) IRecognitionServiceManagerCallback + type IRecognitionServiceManagerCallbackServer interface + OnError func(ctx context.Context, errorCode int32) error + OnSuccess func(ctx context.Context, service IRecognitionService) error + type IRecognitionServiceManagerServer interface + CreateSession func(ctx context.Context, componentName content.ComponentName, ...) error + SetTemporaryComponent func(ctx context.Context, componentName content.ComponentName) error + type IRecognitionServiceServer interface + Cancel func(ctx context.Context, listener IRecognitionListener, isShutdown bool) error + CheckRecognitionSupport func(ctx context.Context, recognizerIntent content.Intent, ...) error + StartListening func(ctx context.Context, recognizerIntent content.Intent, ...) error + StopListening func(ctx context.Context, listener IRecognitionListener) error + TriggerModelDownload func(ctx context.Context, recognizerIntent content.Intent, ...) error + type IRecognitionSupportCallback interface + AsBinder func() binder.IBinder + OnError func(ctx context.Context, error_ int32) error + OnSupportResult func(ctx context.Context, recognitionSupport RecognitionSupport) error + func NewRecognitionSupportCallbackStub(impl IRecognitionSupportCallbackServer) IRecognitionSupportCallback + type IRecognitionSupportCallbackServer interface + OnError func(ctx context.Context, error_ int32) error + OnSupportResult func(ctx context.Context, recognitionSupport RecognitionSupport) error + type ModelDownloadListenerProxy struct + Remote binder.IBinder + func NewModelDownloadListenerProxy(remote binder.IBinder) *ModelDownloadListenerProxy + func (p *ModelDownloadListenerProxy) AsBinder() binder.IBinder + func (p *ModelDownloadListenerProxy) OnError(ctx context.Context, error_ int32) error + func (p *ModelDownloadListenerProxy) OnProgress(ctx context.Context, completedPercent int32) error + func (p *ModelDownloadListenerProxy) OnScheduled(ctx context.Context) error + func (p *ModelDownloadListenerProxy) OnSuccess(ctx context.Context) error + type ModelDownloadListenerStub struct + Impl IModelDownloadListener + Transport binder.VersionAwareTransport + func (s *ModelDownloadListenerStub) Descriptor() string + func (s *ModelDownloadListenerStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type RecognitionListenerProxy struct + Remote binder.IBinder + func NewRecognitionListenerProxy(remote binder.IBinder) *RecognitionListenerProxy + func (p *RecognitionListenerProxy) AsBinder() binder.IBinder + func (p *RecognitionListenerProxy) OnBeginningOfSpeech(ctx context.Context) error + func (p *RecognitionListenerProxy) OnBufferReceived(ctx context.Context, buffer []byte) error + func (p *RecognitionListenerProxy) OnEndOfSegmentedSession(ctx context.Context) error + func (p *RecognitionListenerProxy) OnEndOfSpeech(ctx context.Context) error + func (p *RecognitionListenerProxy) OnError(ctx context.Context, error_ int32) error + func (p *RecognitionListenerProxy) OnEvent(ctx context.Context, eventType int32, params os.Bundle) error + func (p *RecognitionListenerProxy) OnLanguageDetection(ctx context.Context, results os.Bundle) error + func (p *RecognitionListenerProxy) OnPartialResults(ctx context.Context, results os.Bundle) error + func (p *RecognitionListenerProxy) OnReadyForSpeech(ctx context.Context, params os.Bundle) error + func (p *RecognitionListenerProxy) OnResults(ctx context.Context, results os.Bundle) error + func (p *RecognitionListenerProxy) OnRmsChanged(ctx context.Context, rmsdB float32) error + func (p *RecognitionListenerProxy) OnSegmentResults(ctx context.Context, results os.Bundle) error + type RecognitionListenerStub struct + Impl IRecognitionListener + Transport binder.VersionAwareTransport + func (s *RecognitionListenerStub) Descriptor() string + func (s *RecognitionListenerStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type RecognitionPart struct + ConfidenceLevel int32 + Flg int32 + RawText string + TimestampMillis int64 + func (s *RecognitionPart) MarshalParcel(p *parcel.Parcel) error + func (s *RecognitionPart) UnmarshalParcel(p *parcel.Parcel) error + type RecognitionServiceManagerCallbackProxy struct + Remote binder.IBinder + func NewRecognitionServiceManagerCallbackProxy(remote binder.IBinder) *RecognitionServiceManagerCallbackProxy + func (p *RecognitionServiceManagerCallbackProxy) AsBinder() binder.IBinder + func (p *RecognitionServiceManagerCallbackProxy) OnError(ctx context.Context, errorCode int32) error + func (p *RecognitionServiceManagerCallbackProxy) OnSuccess(ctx context.Context, service IRecognitionService) error + type RecognitionServiceManagerCallbackStub struct + Impl IRecognitionServiceManagerCallback + Transport binder.VersionAwareTransport + func (s *RecognitionServiceManagerCallbackStub) Descriptor() string + func (s *RecognitionServiceManagerCallbackStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type RecognitionServiceManagerProxy struct + Remote binder.IBinder + func NewRecognitionServiceManagerProxy(remote binder.IBinder) *RecognitionServiceManagerProxy + func (p *RecognitionServiceManagerProxy) AsBinder() binder.IBinder + func (p *RecognitionServiceManagerProxy) CreateSession(ctx context.Context, componentName content.ComponentName, ...) error + func (p *RecognitionServiceManagerProxy) SetTemporaryComponent(ctx context.Context, componentName content.ComponentName) error + type RecognitionServiceManagerStub struct + Impl IRecognitionServiceManager + Transport binder.VersionAwareTransport + func (s *RecognitionServiceManagerStub) Descriptor() string + func (s *RecognitionServiceManagerStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type RecognitionServiceProxy struct + Remote binder.IBinder + func NewRecognitionServiceProxy(remote binder.IBinder) *RecognitionServiceProxy + func (p *RecognitionServiceProxy) AsBinder() binder.IBinder + func (p *RecognitionServiceProxy) Cancel(ctx context.Context, listener IRecognitionListener, isShutdown bool) error + func (p *RecognitionServiceProxy) CheckRecognitionSupport(ctx context.Context, recognizerIntent content.Intent, ...) error + func (p *RecognitionServiceProxy) StartListening(ctx context.Context, recognizerIntent content.Intent, ...) error + func (p *RecognitionServiceProxy) StopListening(ctx context.Context, listener IRecognitionListener) error + func (p *RecognitionServiceProxy) TriggerModelDownload(ctx context.Context, recognizerIntent content.Intent, ...) error + type RecognitionServiceStub struct + Impl IRecognitionService + Transport binder.VersionAwareTransport + func (s *RecognitionServiceStub) Descriptor() string + func (s *RecognitionServiceStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type RecognitionSupport struct + func (s *RecognitionSupport) MarshalParcel(p *parcel.Parcel) error + func (s *RecognitionSupport) UnmarshalParcel(p *parcel.Parcel) error + type RecognitionSupportCallbackProxy struct + Remote binder.IBinder + func NewRecognitionSupportCallbackProxy(remote binder.IBinder) *RecognitionSupportCallbackProxy + func (p *RecognitionSupportCallbackProxy) AsBinder() binder.IBinder + func (p *RecognitionSupportCallbackProxy) OnError(ctx context.Context, error_ int32) error + func (p *RecognitionSupportCallbackProxy) OnSupportResult(ctx context.Context, recognitionSupport RecognitionSupport) error + type RecognitionSupportCallbackStub struct + Impl IRecognitionSupportCallback + Transport binder.VersionAwareTransport + func (s *RecognitionSupportCallbackStub) Descriptor() string + func (s *RecognitionSupportCallbackStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error)