Share via


AudioRecord.Metrics Property

Definition

Return Metrics data about the current AudioTrack instance.

public virtual Android.OS.PersistableBundle? Metrics { [Android.Runtime.Register("getMetrics", "()Landroid/os/PersistableBundle;", "GetGetMetricsHandler", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getMetrics", "()Landroid/os/PersistableBundle;", "GetGetMetricsHandler", ApiSince=28)>]
member this.Metrics : Android.OS.PersistableBundle

Property Value

a PersistableBundle containing the set of attributes and values available for the media being handled by this instance of AudioRecord The attributes are descibed in MetricsConstants.

        Additional vendor-specific fields may also be present in
        the return value.
Attributes

Remarks

Return Metrics data about the current AudioTrack instance.

Java documentation for android.media.AudioRecord.getMetrics().

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