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