ApplicationStartInfo.LaunchModeSingleTop 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.
If an instance of the activity already exists at the top of the target task, the system routes the intent to that instance through a call to its onNewIntent() method, rather than creating a new instance of the activity.
[Android.Runtime.Register("LAUNCH_MODE_SINGLE_TOP", 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 LaunchModeSingleTop = 1;
[<Android.Runtime.Register("LAUNCH_MODE_SINGLE_TOP", 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 LaunchModeSingleTop : Android.App.ApplicationStartInfoLaunchMode
Field Value
Value = 1Implements
- Attributes
Remarks
If an instance of the activity already exists at the top of the target task, the system routes the intent to that instance through a call to its onNewIntent() method, rather than creating a new instance of the activity.
Java documentation for android.app.ApplicationStartInfo.LAUNCH_MODE_SINGLE_TOP
.
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.