Language

ApplicationStartInfo.LaunchModeSingleInstancePerTask フィールド

定義

注意事項

This constant will be removed in the future version. Use Android.App.ApplicationStartInfoLaunchMode enum directly instead of this field.

アクティビティは、タスクのルート アクティビティ、タスクを作成した最初のアクティビティとしてのみ実行できます。そのため、タスクにはこのアクティビティのインスタンスが 1 つだけ存在します。ただし、アクティビティは異なるタスクで複数回インスタンス化できます。

[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

フィールド値

Value = 4

実装

属性

注釈

アクティビティは、タスクのルート アクティビティ、タスクを作成した最初のアクティビティとしてのみ実行できます。そのため、タスクにはこのアクティビティのインスタンスが 1 つだけ存在します。ただし、アクティビティは異なるタスクで複数回インスタンス化できます。

android.app.ApplicationStartInfo.LAUNCH_MODE_SINGLE_INSTANCE_PER_TASKの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象