AlwaysOnHotwordDetector.EventPayload.GetTriggerAudio Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the raw audio that triggered the keyphrase.
[Android.Runtime.Register("getTriggerAudio", "()[B", "GetGetTriggerAudioHandler")]
public virtual byte[]? GetTriggerAudio ();
[<Android.Runtime.Register("getTriggerAudio", "()[B", "GetGetTriggerAudioHandler")>]
abstract member GetTriggerAudio : unit -> byte[]
override this.GetTriggerAudio : unit -> byte[]
Returns
- Attributes
Remarks
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()
.
This member is deprecated. Use #getData()
instead.
Java documentation for android.service.voice.AlwaysOnHotwordDetector.EventPayload.getTriggerAudio()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.