AnrInfo
class AnrInfo : Parcelable
| kotlin.Any | |
| ↳ | android.app.ApplicationExitInfo.AnrInfo |
Summary
| Inherited constants | |
|---|---|
| Public methods | |
|---|---|
| Int | |
| Boolean | |
| Int |
getAnrId()The id for the ANR event. |
| Int |
The type of the ANR event. |
| Long |
The total duration in milliseconds the system waited for this ANR to occur. |
| Int |
hashCode() |
| Boolean |
Whether or not ANR is user perceptible i. |
| String |
toString() |
| Unit |
writeToParcel(dest: Parcel, flags: Int)Flatten this object in to a Parcel. |
| Properties | |
|---|---|
| static Parcelable.Creator<ApplicationExitInfo.AnrInfo!> |
Implement the parcelable interface. |
Public methods
describeContents
fun describeContents(): Int
getAnrType
fun getAnrType(): Int
The type of the ANR event.
getTimeoutMillis
fun getTimeoutMillis(): Long
The total duration in milliseconds the system waited for this ANR to occur.
hashCode
fun hashCode(): Int
isUserPerceptible
fun isUserPerceptible(): Boolean
Whether or not ANR is user perceptible i.e. ANR dialog is shown to the user.
toString
fun toString(): String
writeToParcel
fun writeToParcel(
dest: Parcel,
flags: Int
): Unit
Flatten this object in to a Parcel.
| Parameters | |
|---|---|
dest |
Parcel: This value cannot be null. |
flags |
Int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE. Value is either 0 or a combination of the following:
|
Properties
CREATOR
static val CREATOR: Parcelable.Creator<ApplicationExitInfo.AnrInfo!>
Implement the parcelable interface.