Versions in this module Expand all Collapse all v0 v0.0.9 Apr 6, 2026 v0.0.8 Apr 3, 2026 v0.0.7 Mar 28, 2026 v0.0.6 Mar 22, 2026 v0.0.5 Mar 22, 2026 Changes in this version + const DescriptorISoundTriggerDetectionService + const DescriptorISoundTriggerDetectionServiceClient + const MethodISoundTriggerDetectionServiceClientOnOpFinished + const MethodISoundTriggerDetectionServiceOnError + const MethodISoundTriggerDetectionServiceOnGenericRecognitionEvent + const MethodISoundTriggerDetectionServiceOnStopOperation + const MethodISoundTriggerDetectionServiceRemoveClient + const MethodISoundTriggerDetectionServiceSetClient + const TransactionISoundTriggerDetectionServiceClientOnOpFinished + const TransactionISoundTriggerDetectionServiceOnError + const TransactionISoundTriggerDetectionServiceOnGenericRecognitionEvent + const TransactionISoundTriggerDetectionServiceOnStopOperation + const TransactionISoundTriggerDetectionServiceRemoveClient + const TransactionISoundTriggerDetectionServiceSetClient + type AudioCapabilities int32 + const AudioCapabilitiesEchoCancellation + const AudioCapabilitiesNoiseSuppression + type ConfidenceLevel struct + LevelPercent int32 + UserId int32 + func (s *ConfidenceLevel) MarshalParcel(p *parcel.Parcel) error + func (s *ConfidenceLevel) UnmarshalParcel(p *parcel.Parcel) error + type ISoundTriggerDetectionService interface + AsBinder func() binder.IBinder + OnError func(ctx context.Context, uuid os.ParcelUuid, opId int32, status int32) error + OnGenericRecognitionEvent func(ctx context.Context, uuid os.ParcelUuid, opId int32, ...) error + OnStopOperation func(ctx context.Context, uuid os.ParcelUuid, opId int32) error + RemoveClient func(ctx context.Context, uuid os.ParcelUuid) error + SetClient func(ctx context.Context, uuid os.ParcelUuid, params os.Bundle, ...) error + func NewSoundTriggerDetectionServiceStub(impl ISoundTriggerDetectionServiceServer) ISoundTriggerDetectionService + type ISoundTriggerDetectionServiceClient interface + AsBinder func() binder.IBinder + OnOpFinished func(ctx context.Context, opId int32) error + func NewSoundTriggerDetectionServiceClientStub(impl ISoundTriggerDetectionServiceClientServer) ISoundTriggerDetectionServiceClient + type ISoundTriggerDetectionServiceClientServer interface + OnOpFinished func(ctx context.Context, opId int32) error + type ISoundTriggerDetectionServiceServer interface + OnError func(ctx context.Context, uuid os.ParcelUuid, opId int32, status int32) error + OnGenericRecognitionEvent func(ctx context.Context, uuid os.ParcelUuid, opId int32, ...) error + OnStopOperation func(ctx context.Context, uuid os.ParcelUuid, opId int32) error + RemoveClient func(ctx context.Context, uuid os.ParcelUuid) error + SetClient func(ctx context.Context, uuid os.ParcelUuid, params os.Bundle, ...) error + type ModelParameter int32 + const ModelParameterINVALID + const ModelParameterThresholdFactor + type ModelParameterRange struct + MaxInclusive int32 + MinInclusive int32 + func (s *ModelParameterRange) MarshalParcel(p *parcel.Parcel) error + func (s *ModelParameterRange) UnmarshalParcel(p *parcel.Parcel) error + type Phrase struct + Id int32 + Locale string + RecognitionModes int32 + Text string + Users []int32 + func (s *Phrase) MarshalParcel(p *parcel.Parcel) error + func (s *Phrase) UnmarshalParcel(p *parcel.Parcel) error + type PhraseRecognitionEvent struct + Common RecognitionEvent + PhraseExtras []PhraseRecognitionExtra + func (s *PhraseRecognitionEvent) MarshalParcel(p *parcel.Parcel) error + func (s *PhraseRecognitionEvent) UnmarshalParcel(p *parcel.Parcel) error + type PhraseRecognitionExtra struct + ConfidenceLevel int32 + Id int32 + Levels []ConfidenceLevel + RecognitionModes int32 + func (s *PhraseRecognitionExtra) MarshalParcel(p *parcel.Parcel) error + func (s *PhraseRecognitionExtra) UnmarshalParcel(p *parcel.Parcel) error + type PhraseSoundModel struct + Common SoundModel + Phrases []Phrase + func (s *PhraseSoundModel) MarshalParcel(p *parcel.Parcel) error + func (s *PhraseSoundModel) UnmarshalParcel(p *parcel.Parcel) error + type Properties struct + AudioCapabilities int32 + CaptureTransition bool + ConcurrentCapture bool + Description string + Implementor string + MaxBufferMs int32 + MaxKeyPhrases int32 + MaxSoundModels int32 + MaxUsers int32 + PowerConsumptionMw int32 + RecognitionModes int32 + SupportedModelArch string + TriggerInEvent bool + Uuid string + Version int32 + func (s *Properties) MarshalParcel(p *parcel.Parcel) error + func (s *Properties) UnmarshalParcel(p *parcel.Parcel) error + type RecognitionConfig struct + AudioCapabilities int32 + CaptureRequested bool + Data []byte + PhraseRecognitionExtras []PhraseRecognitionExtra + func (s *RecognitionConfig) MarshalParcel(p *parcel.Parcel) error + func (s *RecognitionConfig) UnmarshalParcel(p *parcel.Parcel) error + type RecognitionEvent struct + AudioConfig *common.AudioConfig + CaptureAvailable bool + CaptureDelayMs int32 + CapturePreambleMs int32 + Data []byte + RecognitionStillActive bool + Status RecognitionStatus + TriggerInData bool + Type SoundModelType + func (s *RecognitionEvent) MarshalParcel(p *parcel.Parcel) error + func (s *RecognitionEvent) UnmarshalParcel(p *parcel.Parcel) error + type RecognitionMode int32 + const RecognitionModeGenericTrigger + const RecognitionModeUserAuthentication + const RecognitionModeUserIdentification + const RecognitionModeVoiceTrigger + type RecognitionStatus int32 + const RecognitionStatusABORTED + const RecognitionStatusFAILURE + const RecognitionStatusFORCED + const RecognitionStatusINVALID + const RecognitionStatusSUCCESS + type SoundModel struct + Data int32 + DataSize int32 + Type SoundModelType + Uuid string + VendorUuid string + func (s *SoundModel) MarshalParcel(p *parcel.Parcel) error + func (s *SoundModel) UnmarshalParcel(p *parcel.Parcel) error + type SoundModelType int32 + const SoundModelTypeGENERIC + const SoundModelTypeINVALID + const SoundModelTypeKEYPHRASE + type SoundTriggerDetectionServiceClientProxy struct + Remote binder.IBinder + func NewSoundTriggerDetectionServiceClientProxy(remote binder.IBinder) *SoundTriggerDetectionServiceClientProxy + func (p *SoundTriggerDetectionServiceClientProxy) AsBinder() binder.IBinder + func (p *SoundTriggerDetectionServiceClientProxy) OnOpFinished(ctx context.Context, opId int32) error + type SoundTriggerDetectionServiceClientStub struct + Impl ISoundTriggerDetectionServiceClient + Transport binder.VersionAwareTransport + func (s *SoundTriggerDetectionServiceClientStub) Descriptor() string + func (s *SoundTriggerDetectionServiceClientStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type SoundTriggerDetectionServiceProxy struct + Remote binder.IBinder + func NewSoundTriggerDetectionServiceProxy(remote binder.IBinder) *SoundTriggerDetectionServiceProxy + func (p *SoundTriggerDetectionServiceProxy) AsBinder() binder.IBinder + func (p *SoundTriggerDetectionServiceProxy) OnError(ctx context.Context, uuid os.ParcelUuid, opId int32, status int32) error + func (p *SoundTriggerDetectionServiceProxy) OnGenericRecognitionEvent(ctx context.Context, uuid os.ParcelUuid, opId int32, ...) error + func (p *SoundTriggerDetectionServiceProxy) OnStopOperation(ctx context.Context, uuid os.ParcelUuid, opId int32) error + func (p *SoundTriggerDetectionServiceProxy) RemoveClient(ctx context.Context, uuid os.ParcelUuid) error + func (p *SoundTriggerDetectionServiceProxy) SetClient(ctx context.Context, uuid os.ParcelUuid, params os.Bundle, ...) error + type SoundTriggerDetectionServiceStub struct + Impl ISoundTriggerDetectionService + Transport binder.VersionAwareTransport + func (s *SoundTriggerDetectionServiceStub) Descriptor() string + func (s *SoundTriggerDetectionServiceStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type Status int32 + const StatusDeadObject + const StatusINVALID + const StatusInternalError + const StatusOperationNotSupported + const StatusResourceContention + const StatusSUCCESS + const StatusTemporaryPermissionDenied