共用方式為


ActivityInfo.LaunchSingleInstancePerTask Field

Definition

Caution

This constant will be removed in the future version. Use Android.Content.PM.LaunchMode enum directly instead of this field.

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

[Android.Runtime.Register("LAUNCH_SINGLE_INSTANCE_PER_TASK", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.LaunchMode enum directly instead of this field.", true)]
public const Android.Content.PM.LaunchMode LaunchSingleInstancePerTask = 4;
[<Android.Runtime.Register("LAUNCH_SINGLE_INSTANCE_PER_TASK", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.LaunchMode enum directly instead of this field.", true)>]
val mutable LaunchSingleInstancePerTask : Android.Content.PM.LaunchMode

Field Value

Value = 4

Implements

Attributes

Remarks

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

Java documentation 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.

Applies to