Share via


MediaCodec.Metrics Property

Definition

Return Metrics data about the current codec instance.

public Android.OS.PersistableBundle? Metrics { [Android.Runtime.Register("getMetrics", "()Landroid/os/PersistableBundle;", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getMetrics", "()Landroid/os/PersistableBundle;", "", ApiSince=26)>]
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 MediaCodec 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 codec instance.

Java documentation for android.media.MediaCodec.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