ApplicationStartInfo.LaunchModeSingleInstancePerTask フィールド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
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 リファレンス。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。