Intent.ActionUserBackground 字段

定义

在用户切换完成后发送,如果该开关导致进程的用户发送到后台。

[Android.Runtime.Register("ACTION_USER_BACKGROUND")]
public const string ActionUserBackground;
[<Android.Runtime.Register("ACTION_USER_BACKGROUND")>]
val mutable ActionUserBackground : string

字段值

实现

属性

注解

在用户切换完成后发送,如果该开关导致进程的用户发送到后台。 这仅发送到通过 Context#registerReceiver(BroadcastReceiver, IntentFilter) Context.registerReceiver注册的接收方。 它发送到要转到后台的用户。 这是作为前台广播发送的,因为它是可见用户交互的一部分;处理时尽可能快。

Java文档android.content.Intent.ACTION_USER_BACKGROUND

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于