ApplicationExitInfo.Reason Property

Definition

The reason code of the process's death.

public int Reason { [Android.Runtime.Register("getReason", "()I", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getReason", "()I", "", ApiSince=30)>]
member this.Reason : int

Property Value

Value is one of the following: REASON_UNKNOWN REASON_EXIT_SELF REASON_SIGNALED REASON_LOW_MEMORY REASON_CRASH REASON_CRASH_NATIVE REASON_ANR REASON_INITIALIZATION_FAILURE REASON_PERMISSION_CHANGE REASON_EXCESSIVE_RESOURCE_USAGE REASON_USER_REQUESTED REASON_USER_STOPPED REASON_DEPENDENCY_DIED REASON_OTHER REASON_FREEZER REASON_PACKAGE_STATE_CHANGE REASON_PACKAGE_UPDATED REASON_MEMORY_LIMITER

Attributes

Remarks

The reason code of the process's death.

Android reference for android.app.ApplicationExitInfo.getReason.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to