Context.BindAllowActivityStarts フィールド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
This constant will be removed in the future version. Use Android.Content.Bind enum directly instead of this field.
フラグ: #bindService
表示されているアプリからのバインドの場合、バインドされたサービスはバックグラウンドからアクティビティを開始できます。
[Android.Runtime.Register("BIND_ALLOW_ACTIVITY_STARTS", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.Bind enum directly instead of this field.", true)]
public const Android.Content.Bind BindAllowActivityStarts = 512;
[<Android.Runtime.Register("BIND_ALLOW_ACTIVITY_STARTS", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.Bind enum directly instead of this field.", true)>]
val mutable BindAllowActivityStarts : Android.Content.Bind
フィールド値
Value = 512- 属性
注釈
フラグ: #bindService
表示されているアプリからのバインドの場合、バインドされたサービスはバックグラウンドからアクティビティを開始できます。 これは、SDK バージョン android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE
より前の既定の動作でした。 それ以来、バインド時にこのフラグが指定されていない限り、既定の動作は、バインドされたサービスがバックグラウンド アクティビティを開始できないように変更されました。ただし、アプリがフォアグラウンドにバインドされている場合でも、そのアクティビティは開始されません。
の android.content.Context.BIND_ALLOW_ACTIVITY_STARTS
Java ドキュメント。
このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。