Intent.ActionUserForeground Field

Definition

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

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

Field Value

Implements

Attributes

Remarks

Sent after a user switch is complete, if the switch caused the process's user to be brought to the foreground. 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 foreground. 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_FOREGROUND.

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