Language

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前の既定の動作でした。 その後、バインド時にこのフラグが指定されていない限り、既定の動作が変更され、バインドされたサービスがバックグラウンド アクティビティを開始できないように変更されました。ただし、アプリにバインドされているアプリがフォアグラウンドにある場合でも、バックグラウンド アクティビティを開始できません。

Javaドキュメント。

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

適用対象