다음을 통해 공유


ActivityManager.RunningServiceInfo.FlagForeground 필드

정의

주의

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

Bit for #flags: 서비스에서 포그라운드 프로세스로 실행하도록 요청했는지 설정합니다.

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

필드 값

Value = 2

구현

특성

설명

Bit for #flags: 서비스에서 포그라운드 프로세스로 실행하도록 요청했는지 설정합니다.

에 대한 android.app.ActivityManager.RunningServiceInfo.FLAG_FOREGROUNDJava 설명서

이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.

적용 대상