[**@notifee/react-native**](react-native/reference/index)

***

[@notifee/react-native](react-native/reference/index) / AndroidForegroundServiceType

# Enumeration: AndroidForegroundServiceType

Enum used to set the foreground service types identifying the work done by the service.
See Android's [foreground service types](https://developer.android.com/develop/background-work/services/fg-service-types) documentation.

## Platform

android

## Enumeration Members

### FOREGROUND\_SERVICE\_TYPE\_CAMERA

> **FOREGROUND\_SERVICE\_TYPE\_CAMERA**: `64`

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1463](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1463)

***

### FOREGROUND\_SERVICE\_TYPE\_CONNECTED\_DEVICE

> **FOREGROUND\_SERVICE\_TYPE\_CONNECTED\_DEVICE**: `16`

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1464](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1464)

***

### FOREGROUND\_SERVICE\_TYPE\_DATA\_SYNC

> **FOREGROUND\_SERVICE\_TYPE\_DATA\_SYNC**: `1`

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1465](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1465)

***

### FOREGROUND\_SERVICE\_TYPE\_HEALTH

> **FOREGROUND\_SERVICE\_TYPE\_HEALTH**: `256`

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1466](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1466)

***

### FOREGROUND\_SERVICE\_TYPE\_LOCATION

> **FOREGROUND\_SERVICE\_TYPE\_LOCATION**: `8`

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1467](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1467)

***

### FOREGROUND\_SERVICE\_TYPE\_MANIFEST

> **FOREGROUND\_SERVICE\_TYPE\_MANIFEST**: `-1`

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1477](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1477)

***

### FOREGROUND\_SERVICE\_TYPE\_MEDIA\_PLAYBACK

> **FOREGROUND\_SERVICE\_TYPE\_MEDIA\_PLAYBACK**: `2`

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1468](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1468)

***

### FOREGROUND\_SERVICE\_TYPE\_MEDIA\_PROCESSING

> **FOREGROUND\_SERVICE\_TYPE\_MEDIA\_PROCESSING**: `8192`

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1470](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1470)

***

### FOREGROUND\_SERVICE\_TYPE\_MEDIA\_PROJECTION

> **FOREGROUND\_SERVICE\_TYPE\_MEDIA\_PROJECTION**: `32`

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1469](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1469)

***

### FOREGROUND\_SERVICE\_TYPE\_MICROPHONE

> **FOREGROUND\_SERVICE\_TYPE\_MICROPHONE**: `128`

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1471](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1471)

***

### FOREGROUND\_SERVICE\_TYPE\_PHONE\_CALL

> **FOREGROUND\_SERVICE\_TYPE\_PHONE\_CALL**: `4`

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1472](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1472)

***

### FOREGROUND\_SERVICE\_TYPE\_REMOTE\_MESSAGING

> **FOREGROUND\_SERVICE\_TYPE\_REMOTE\_MESSAGING**: `512`

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1473](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1473)

***

### FOREGROUND\_SERVICE\_TYPE\_SHORT\_SERVICE

> **FOREGROUND\_SERVICE\_TYPE\_SHORT\_SERVICE**: `2048`

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1474](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1474)

***

### FOREGROUND\_SERVICE\_TYPE\_SPECIAL\_USE

> **FOREGROUND\_SERVICE\_TYPE\_SPECIAL\_USE**: `1073741824`

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1475](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1475)

***

### FOREGROUND\_SERVICE\_TYPE\_SYSTEM\_EXEMPTED

> **FOREGROUND\_SERVICE\_TYPE\_SYSTEM\_EXEMPTED**: `1024`

#### Defined in

[packages/react-native/src/types/NotificationAndroid.ts:1476](https://github.com/invertase/notifee/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L1476)
