Language

ApplicationStartInfo.LaunchModeSingleInstance フィールド

定義

注意事項

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

新しいタスクのルートにアクティビティが作成されるか、同じアフィニティを持つ既存のタスクでアクティビティが検索されます。

[Android.Runtime.Register("LAUNCH_MODE_SINGLE_INSTANCE", 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 LaunchModeSingleInstance = 2;
[<Android.Runtime.Register("LAUNCH_MODE_SINGLE_INSTANCE", 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 LaunchModeSingleInstance : Android.App.ApplicationStartInfoLaunchMode

フィールド値

Value = 2

実装

属性

注釈

新しいタスクのルートにアクティビティが作成されるか、同じアフィニティを持つ既存のタスクでアクティビティが検索されます。 アクティビティのインスタンスが既に存在し、タスクのルートにある場合、システムは、新しいインスタンスを作成するのではなく、onNewIntent() メソッドの呼び出しを通じて既存のインスタンスに意図をルーティングします。

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

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

適用対象