Freigeben über


ApplicationExitInfo.ReasonExitSelf Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.ApplicationExitInfoReason enum directly instead of this field.

Application process exit normally by itself, for example, via java.lang.System#exit; #getStatus will specify the exit code.

[Android.Runtime.Register("REASON_EXIT_SELF", ApiSince=30)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.ApplicationExitInfoReason enum directly instead of this field.", true)]
public const Android.App.ApplicationExitInfoReason ReasonExitSelf = 1;
[<Android.Runtime.Register("REASON_EXIT_SELF", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.ApplicationExitInfoReason enum directly instead of this field.", true)>]
val mutable ReasonExitSelf : Android.App.ApplicationExitInfoReason

Field Value

Value = 1

Implements

Attributes

Remarks

Application process exit normally by itself, for example, via java.lang.System#exit; #getStatus will specify the exit code.

Applications should normally not do this, as the system has a better knowledge in terms of process management.

Java documentation for android.app.ApplicationExitInfo.REASON_EXIT_SELF.

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