UsageEventType 枚举
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
枚举多个类型返回的值。
public enum UsageEventType
type UsageEventType =
- 继承
-
UsageEventType
字段
| 名称 | 值 | 说明 |
|---|---|---|
| None | 0 | |
| ActivityResumed | 1 | |
| MoveToForeground | 1 | |
| ActivityPaused | 2 | |
| MoveToBackground | 2 | |
| ConfigurationChange | 5 | |
| UserInteraction | 7 | |
| ShortcutInvocation | 8 | |
| StandbyBucketChanged | 11 | |
| ScreenInteractive | 15 | |
| ScreenNonInteractive | 16 | |
| KeyguardShown | 17 | |
| 18 | ||
| ForegroundServiceStart | 19 | |
| ForegroundServiceStop | 20 | |
| ActivityStopped | 23 | |
| DeviceShutdown | 26 | |
| DeviceStartup | 27 |
注解
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。