mediaPerformanceClass property

int get mediaPerformanceClass

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.

Added in API level 31

Implementation

int get mediaPerformanceClass;