LaunchMode Enum

Definition

Enumerates values returned by several types.

public enum LaunchMode
type LaunchMode = 
Inheritance
LaunchMode

Fields

Name Value Description
Multiple 0

Constant corresponding to standard in the LaunchModeattribute.

SingleTop 1

Constant corresponding to singleTop in the LaunchModeattribute.

SingleTask 2

Constant corresponding to singleTask in the LaunchModeattribute.

SingleInstance 3

Constant corresponding to singleInstance in the LaunchModeattribute.

SingleInstancePerTask 4

Constant corresponding to singleInstancePerTask in the R.attr.launchMode attribute.

Android reference for android.content.pm.ActivityInfo.LAUNCH_SINGLE_INSTANCE_PER_TASK.

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.

Remarks

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