ApplicationStartInfo.LaunchMode Property
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.
An instruction on how the activity should be launched.
public Android.App.ApplicationStartInfoLaunchMode LaunchMode { [Android.Runtime.Register("getLaunchMode", "()I", "", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getLaunchMode", "()I", "", ApiSince=35)>]
member this.LaunchMode : Android.App.ApplicationStartInfoLaunchMode
Property Value
- Attributes
Remarks
An instruction on how the activity should be launched. There are five modes that work in conjunction with activity flags in Intent objects to determine what should happen when the activity is called upon to handle an intent.
Modes: #LAUNCH_MODE_STANDARD
#LAUNCH_MODE_SINGLE_TOP
#LAUNCH_MODE_SINGLE_INSTANCE
#LAUNCH_MODE_SINGLE_TASK
#LAUNCH_MODE_SINGLE_INSTANCE_PER_TASK
Note: field will be set for any #getStartupState
value.
Java documentation for android.app.ApplicationStartInfo.getLaunchMode()
.
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.