Udostępnij za pośrednictwem


Intent.ActionUserBackground Field

Definition

Sent after a user switch is complete, if the switch caused the process's user to be sent to the background.

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

Field Value

Implements

Attributes

Remarks

Sent after a user switch is complete, if the switch caused the process's user to be sent to the background. This is only sent to receivers registered through Context#registerReceiver(BroadcastReceiver, IntentFilter) Context.registerReceiver. It is sent to the user that is going to the background. This is sent as a foreground broadcast, since it is part of a visible user interaction; be as quick as possible when handling it.

Java documentation for android.content.Intent.ACTION_USER_BACKGROUND.

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