Added in API level 1

ProcessErrorStateInfo


open class ProcessErrorStateInfo : Parcelable
kotlin.Any
   ↳ android.app.ActivityManager.ProcessErrorStateInfo

Information you can retrieve about any processes that are in an error condition.

Summary

Constants
static Int

static Int

static Int

Condition codes

Inherited constants
Public constructors

Public methods
open Int

open Unit

open Unit
writeToParcel(dest: Parcel, flags: Int)

Properties
static Parcelable.Creator<ActivityManager.ProcessErrorStateInfo!>

Int

The condition that the process is in.

ByteArray!

to be deprecated: This value will always be null.

String!

A long message describing the error condition.

Int

The pid of this process; 0 if none

String!

The process name in which the crash or error occurred.

String!

A short message describing the error condition.

String!

The stack trace where the error originated.

String!

The activity name associated with the error, if known.

Int

The kernel user-ID that has been assigned to this process; currently this is not a unique ID (multiple applications can have the same uid).

Constants

CRASHED

Added in API level 1
static val CRASHED: Int
Value: 1

NOT_RESPONDING

Added in API level 1
static val NOT_RESPONDING: Int
Value: 2

NO_ERROR

Added in API level 1
static val NO_ERROR: Int

Condition codes

Value: 0

Public constructors

ProcessErrorStateInfo

Added in API level 1
ProcessErrorStateInfo()

Public methods

describeContents

Added in API level 1
open fun describeContents(): Int
Return
Int a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0 or android.os.Parcelable#CONTENTS_FILE_DESCRIPTOR

readFromParcel

Added in API level 1
open fun readFromParcel(source: Parcel!): Unit

writeToParcel

Added in API level 1
open fun writeToParcel(
    dest: Parcel,
    flags: Int
): Unit
Parameters
dest Parcel: The Parcel in which the object should be written. 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 android.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE, and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES

Properties

condition

Added in API level 1
var condition: Int

The condition that the process is in.

crashData

Added in API level 1
var crashData: ByteArray!

to be deprecated: This value will always be null.

longMsg

Added in API level 1
var longMsg: String!

A long message describing the error condition.

pid

Added in API level 1
var pid: Int

The pid of this process; 0 if none

processName

Added in API level 1
var processName: String!

The process name in which the crash or error occurred.

shortMsg

Added in API level 1
var shortMsg: String!

A short message describing the error condition.

stackTrace

Added in API level 8
var stackTrace: String!

The stack trace where the error originated. May be null.

tag

Added in API level 1
var tag: String!

The activity name associated with the error, if known. May be null.

uid

Added in API level 1
var uid: Int

The kernel user-ID that has been assigned to this process; currently this is not a unique ID (multiple applications can have the same uid).