Context.BindAllowActivityStarts フィールド

定義

注意事項

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_STARTSJava ドキュメント。

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

適用対象