ApplicationStartInfo.LaunchModeSingleInstancePerTask Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This constant will be removed in the future version. Use Android.App.ApplicationStartInfoLaunchMode enum directly instead of this field.
The activity can only be running as the root activity of the task, the first activity that created the task, and therefore there will only be one instance of this activity in a task; but activity can be instantiated multiple times in different tasks.
[Android.Runtime.Register("LAUNCH_MODE_SINGLE_INSTANCE_PER_TASK", ApiSince=35)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.ApplicationStartInfoLaunchMode enum directly instead of this field.", true)]
public const Android.App.ApplicationStartInfoLaunchMode LaunchModeSingleInstancePerTask = 4;
[<Android.Runtime.Register("LAUNCH_MODE_SINGLE_INSTANCE_PER_TASK", ApiSince=35)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.ApplicationStartInfoLaunchMode enum directly instead of this field.", true)>]
val mutable LaunchModeSingleInstancePerTask : Android.App.ApplicationStartInfoLaunchMode
Field Value
Value = 4Implements
- Attributes
Remarks
The activity can only be running as the root activity of the task, the first activity that created the task, and therefore there will only be one instance of this activity in a task; but activity can be instantiated multiple times in different tasks.
Java documentation for android.app.ApplicationStartInfo.LAUNCH_MODE_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.