AnrInfo


class AnrInfo : Parcelable
kotlin.Any
   ↳ android.app.ApplicationExitInfo.AnrInfo

Summary

Inherited constants
Public methods
Int

Boolean
equals(other: Any?)

Int

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

Boolean

Whether or not ANR is user perceptible i.

String

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

equals

fun equals(other: Any?): Boolean

getAnrId

fun getAnrId(): Int

The id for the ANR event.

For each mAnrType, mAnrId is unique.

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.