DevicePerformanceClient
@DoNotMock("Use canonical fakes instead.") interface DevicePerformanceClient : HasApiKey<NoOptions>
com.google.android.gms.deviceperformance.DevicePerformanceClient |
Client interface for the Device Performance API.
Summary
Public methods |
|
---|---|
abstract Task<Int> |
The media performance class of the device or 0 if none. |
Public methods
mediaPerformanceClass
@RequiresGmsVersion(2147483647) abstract fun mediaPerformanceClass(): Task<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.
Possible non-zero values are defined in android.os.Build.VERSION_CODES
starting with
android.os.Build.VERSION_CODES.R
.
Defaults to android.os.Build.VERSION.MEDIA_PERFORMANCE_CLASS