DefaultDevicePerformance
class DefaultDevicePerformance : DevicePerformance
Reports the media performance class of the device. Contains statically specified values and can be used as a fallback alternative to suppliers with dynamic values.
Summary
Public constructors |
|---|
Public properties |
|
|---|---|
open Int |
The media performance class of the device or 0 if none. |
Public constructors
Public properties
mediaPerformanceClass
open val mediaPerformanceClass: Int
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 is stable for the duration of the process.
Possible non-zero values are defined in Build.VERSION_CODES starting with VERSION_CODES.R.
Defaults to VERSION.MEDIA_PERFORMANCE_CLASS