Udostępnij za pośrednictwem


Build.VERSION.MediaPerformanceClass Property

Definition

The media performance class of the device or 0 if none.

[Android.Runtime.Register("MEDIA_PERFORMANCE_CLASS", ApiSince=31)]
public static int MediaPerformanceClass { get; }
[<Android.Runtime.Register("MEDIA_PERFORMANCE_CLASS", ApiSince=31)>]
static member MediaPerformanceClass : int

Property Value

Attributes

Remarks

The media performance class of the device or 0 if none.

If this value is not 0, the device conforms to the media performance class definition of the SDK version of this value. This value never changes while a device is booted, but it may increase when the hardware manufacturer provides an OTA update.

Possible non-zero values are defined in Build.VERSION_CODES starting with Build.VERSION_CODES#R.

Java documentation for android.os.Build.VERSION.MEDIA_PERFORMANCE_CLASS.

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