PlayServicesDevicePerformance


class PlayServicesDevicePerformance : DevicePerformance


A DevicePerformance that uses Google Play Services to retrieve media performance class data.

Summary

Public constructors

A DevicePerformance that uses Google Play Services to retrieve media performance class data.

Public properties

open Int

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

Public constructors

PlayServicesDevicePerformance

Added in 1.0.0
PlayServicesDevicePerformance(context: Context)

A DevicePerformance that uses Google Play Services to retrieve media performance class data.

Parameters
context: Context

The application context value to use.

Public properties

mediaPerformanceClass

Added in 1.0.0
open val mediaPerformanceClassInt

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