Version: Unity 6.7 Alpha (6000.7)
LanguageEnglish
  • C#

StartReason

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Reason codes for an Android app process start.

Use this enum with the IApplicationStartInfo.reason property.

Properties

Property Description
AlarmMirrors android:public static final int START_REASON_ALARM.
BackupMirrors android:public static final int START_REASON_BACKUP.
BootCompleteMirrors android:public static final int START_REASON_BOOT_COMPLETE.
BroadcastMirrors android:public static final int START_REASON_BROADCAST.
ContentProviderMirrors android:public static final int START_REASON_CONTENT_PROVIDER.
JobMirrors android:public static final int START_REASON_JOB.
LauncherMirrors android:public static final int START_REASON_LAUNCHER.
LauncherRecentsMirrors android:public static final int START_REASON_LAUNCHER_RECENTS.
OtherMirrors android:public static final int START_REASON_OTHER.
PushMirrors android:public static final int START_REASON_PUSH.
ServiceMirrors android:public static final int START_REASON_SERVICE.
StartActivityMirrors android:public static final int START_REASON_START_ACTIVITY.