文档

Unity Engine

Download Unity

Unity Engine

StartReason

Reason codes for an Android app process start.
阅读时间1 分钟最后更新于 1 个月前

Definition

public enum StartReason

Remarks

Use this enum with the IApplicationStartInfo.reason property.

Fields

Value

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
.