Share via


AlwaysOnHotwordDetector.EventPayload.CaptureAudioFormat Property

Definition

Gets the format of the audio obtained using #getTriggerAudio().

public virtual Android.Media.AudioFormat? CaptureAudioFormat { [Android.Runtime.Register("getCaptureAudioFormat", "()Landroid/media/AudioFormat;", "GetGetCaptureAudioFormatHandler")] get; }
[<get: Android.Runtime.Register("getCaptureAudioFormat", "()Landroid/media/AudioFormat;", "GetGetCaptureAudioFormatHandler")>]
member this.CaptureAudioFormat : Android.Media.AudioFormat

Property Value

Attributes

Remarks

Gets the format of the audio obtained using #getTriggerAudio(). May be null if there's no audio present.

Java documentation for android.service.voice.AlwaysOnHotwordDetector.EventPayload.getCaptureAudioFormat().

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.

Applies to