다음을 통해 공유


Notification.ForegroundServiceImmediate 필드

정의

주의

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

이 동작과 함께 setForegroundServiceBehavior()를 사용하여 포그라운드 서비스 시작과 관련된 알림을 빌드한 경우 기본 동작이 짧은 시간 동안 표시를 지연하는 경우에도 알림 표시가 즉시 수행됩니다.

[Android.Runtime.Register("FOREGROUND_SERVICE_IMMEDIATE", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.NotificationForegroundService enum directly instead of this field.", true)]
public const Android.App.NotificationForegroundService ForegroundServiceImmediate = 1;
[<Android.Runtime.Register("FOREGROUND_SERVICE_IMMEDIATE", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.NotificationForegroundService enum directly instead of this field.", true)>]
val mutable ForegroundServiceImmediate : Android.App.NotificationForegroundService

필드 값

Value = 1

구현

특성

설명

이 동작과 함께 setForegroundServiceBehavior()를 사용하여 포그라운드 서비스 시작과 관련된 알림을 빌드한 경우 기본 동작이 짧은 시간 동안 표시를 지연하는 경우에도 알림 표시가 즉시 수행됩니다.

에 대한 android.app.Notification.FOREGROUND_SERVICE_IMMEDIATEJava 설명서

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

적용 대상