언어

Notification.ForegroundServiceImmediate 필드

정의

주의

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

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

[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

구현

특성

설명

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

에 대한 android.app.Notification.FOREGROUND_SERVICE_IMMEDIATEAndroid 참조

이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.

적용 대상