@notifee/react-native

@notifee/react-native / AndroidForegroundServiceType

Enumeration: AndroidForegroundServiceType

Enum used to set the foreground service types identifying the work done by the service. See Android's foreground service types documentation.

Platform

android

Enumeration Members

FOREGROUND_SERVICE_TYPE_CAMERA

FOREGROUND_SERVICE_TYPE_CAMERA: 64

FOREGROUND_SERVICE_TYPE_CONNECTED_DEVICE

FOREGROUND_SERVICE_TYPE_CONNECTED_DEVICE: 16

FOREGROUND_SERVICE_TYPE_DATA_SYNC

FOREGROUND_SERVICE_TYPE_DATA_SYNC: 1

FOREGROUND_SERVICE_TYPE_HEALTH

FOREGROUND_SERVICE_TYPE_HEALTH: 256

FOREGROUND_SERVICE_TYPE_LOCATION

FOREGROUND_SERVICE_TYPE_LOCATION: 8

FOREGROUND_SERVICE_TYPE_MANIFEST

FOREGROUND_SERVICE_TYPE_MANIFEST: -1

FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK

FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK: 2

FOREGROUND_SERVICE_TYPE_MEDIA_PROCESSING

FOREGROUND_SERVICE_TYPE_MEDIA_PROCESSING: 8192

FOREGROUND_SERVICE_TYPE_MEDIA_PROJECTION

FOREGROUND_SERVICE_TYPE_MEDIA_PROJECTION: 32

FOREGROUND_SERVICE_TYPE_MICROPHONE

FOREGROUND_SERVICE_TYPE_MICROPHONE: 128

FOREGROUND_SERVICE_TYPE_PHONE_CALL

FOREGROUND_SERVICE_TYPE_PHONE_CALL: 4

FOREGROUND_SERVICE_TYPE_REMOTE_MESSAGING

FOREGROUND_SERVICE_TYPE_REMOTE_MESSAGING: 512

FOREGROUND_SERVICE_TYPE_SHORT_SERVICE

FOREGROUND_SERVICE_TYPE_SHORT_SERVICE: 2048

FOREGROUND_SERVICE_TYPE_SPECIAL_USE

FOREGROUND_SERVICE_TYPE_SPECIAL_USE: 1073741824

FOREGROUND_SERVICE_TYPE_SYSTEM_EXEMPTED

FOREGROUND_SERVICE_TYPE_SYSTEM_EXEMPTED: 1024