Skip to main content
Version: 0.29.0

Type Alias: ForegroundServiceConfig

ForegroundServiceConfig = object

Defined in: mobile-client/src/useForegroundService.ts:8

Configuration options for foreground service permissions.

A type representing the configuration for foreground service permissions.

Properties​

channelId?​

optional channelId: string

Defined in: mobile-client/src/useForegroundService.ts:24

The id of the channel. Must be unique per package.


channelName?​

optional channelName: string

Defined in: mobile-client/src/useForegroundService.ts:28

The user visible name of the channel.


enableCamera?​

optional enableCamera: boolean

Defined in: mobile-client/src/useForegroundService.ts:12

Indicates whether the camera is enabled for the foreground service.


enableMicrophone?​

optional enableMicrophone: boolean

Defined in: mobile-client/src/useForegroundService.ts:16

Indicates whether the microphone is enabled for the foreground service.


enableScreenSharing?​

optional enableScreenSharing: boolean

Defined in: mobile-client/src/useForegroundService.ts:20

Indicates whether screen sharing is enabled for the foreground service.


notificationContent?​

optional notificationContent: string

Defined in: mobile-client/src/useForegroundService.ts:36

The text (second row) of the notification, in a standard notification.


notificationTitle?​

optional notificationTitle: string

Defined in: mobile-client/src/useForegroundService.ts:32

The title (first row) of the notification, in a standard notification.