NotificationForegroundService 열거형

정의

public enum NotificationForegroundService
type NotificationForegroundService = 
상속
NotificationForegroundService

필드

Name Description
Default 0

이 동작과 함께 Notification.Builder.setForegroundServiceBehavior(int)를 사용하여 포그라운드 서비스 시작과 관련된 알림을 빌드한 경우 일반적으로 사용자에게 시각적 장애가 발생하지 않도록 짧은 시간 동안 알림 표시가 표시되지 않습니다.

Immediate 1

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

Deferred 2

이 동작과 함께 Notification.Builder.setForegroundServiceBehavior(int)를 사용하여 포그라운드 서비스 시작과 관련된 알림을 빌드한 경우 일반적으로 사용자에게 시각적 장애가 발생하지 않도록 짧은 시간 동안 알림 표시가 표시되지 않습니다.

설명

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

적용 대상