MediaPerformanceClassResult
@ShowFirstParty class MediaPerformanceClassResult : AbstractSafeParcelable
com.google.android.gms.deviceperformance.MediaPerformanceClassResult |
Data object used for retrieving the media performance result.
Summary
Public constructors |
|
---|---|
Data object used for retrieving the media performance result. |
Public methods |
|
---|---|
Unit |
writeToParcel(dest: Parcel, flags: Int) |
Properties |
|
---|---|
Int |
The media performance class of the device or 0 if none. |
Companion properties |
|
---|---|
Creator<MediaPerformanceClassResult> |
Public constructors
<init>
MediaPerformanceClassResult(mediaPerformanceClass: Int)
Data object used for retrieving the media performance result.
Public methods
Properties
mediaPerformanceClass
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.
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
.
Companion properties
CREATOR
val CREATOR: Creator<MediaPerformanceClassResult>