Click or drag to resize

Intents.ActionSwitchForeground Field

ACTION_SWITCH_FOREGROUND Broadcast Action: Sent to notify the change of the foreground activity.

Namespace: Com.Datalogic.Device
Assembly: datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
VB
public const String ActionSwitchForeground = "value"

Field Value

Type: String
Remarks
ACTION_SWITCH_FOREGROUND Broadcast Action: Sent to notify the change of the foreground activity.
The intent carries as extra data the activity that goes to the foreground. The intent is sent any time an activity with an associated profile goes to or leaves the foreground. When the activity goes to the foreground the extra data is the component name of the activity. When the activity leaves the foreground the extra data is the component name of the new activity that goes into the foreground no matter if the activity has an associated profile.
The intent will have the following extra values:
EXTRA_SWITCH_FOREGROUND_TO - String containing the stringified form of the component name of the activity that goes to foreground.

[Android Documentation]

See Also