Language

ServiceInfo.FlagStopWithTask フィールド

定義

注意事項

This constant will be removed in the future version. Use Android.Content.PM.ServiceInfoFlags enum directly instead of this field.

#flagsビット: 設定されている場合、ユーザーがアプリケーションのいずれかのアクティビティに根ざしたタスクを削除すると、サービスはシステムによって自動的に停止されます。

[Android.Runtime.Register("FLAG_STOP_WITH_TASK")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ServiceInfoFlags enum directly instead of this field.", true)]
public const Android.Content.PM.ServiceInfoFlags FlagStopWithTask = 1;
[<Android.Runtime.Register("FLAG_STOP_WITH_TASK")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ServiceInfoFlags enum directly instead of this field.", true)>]
val mutable FlagStopWithTask : Android.Content.PM.ServiceInfoFlags

フィールド値

Value = 1

実装

属性

注釈

#flagsビット: 設定されている場合、ユーザーがアプリケーションのいずれかのアクティビティに根ざしたタスクを削除すると、サービスはシステムによって自動的に停止されます。 android.R.attr#stopWithTask属性から設定します。

Javaドキュメント。

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

適用対象