| java.lang.Object | |
| ↳ | android.service.voice.AlwaysOnHotwordDetector.EventPayload |
Additional payload for onDetected(AlwaysOnHotwordDetector.EventPayload).
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Gets the format of the audio obtained using
getTriggerAudio().
| |||||||||||
Gets the raw audio that triggered the keyphrase.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Gets the format of the audio obtained using getTriggerAudio().
May be null if there's no audio present.
Gets the raw audio that triggered the keyphrase.
This may be null if the trigger audio isn't available.
If non-null, the format of the audio can be obtained by calling
getCaptureAudioFormat().