Type Alias: ForegroundServiceConfig
ForegroundServiceConfig =
object
Defined in: packages/mobile-client/src/useForegroundService.ts:8
Configuration options for foreground service permissions.
A type representing the configuration for foreground service permissions.
Properties
channelId?
optionalchannelId:string
Defined in: packages/mobile-client/src/useForegroundService.ts:24
The id of the channel. Must be unique per package.
channelName?
optionalchannelName:string
Defined in: packages/mobile-client/src/useForegroundService.ts:28
The user visible name of the channel.
enableCamera?
optionalenableCamera:boolean
Defined in: packages/mobile-client/src/useForegroundService.ts:12
Indicates whether the camera is enabled for the foreground service.
enableMicrophone?
optionalenableMicrophone:boolean
Defined in: packages/mobile-client/src/useForegroundService.ts:16
Indicates whether the microphone is enabled for the foreground service.
enableScreenSharing?
optionalenableScreenSharing:boolean
Defined in: packages/mobile-client/src/useForegroundService.ts:20
Indicates whether screen sharing is enabled for the foreground service.
notificationContent?
optionalnotificationContent:string
Defined in: packages/mobile-client/src/useForegroundService.ts:36
The text (second row) of the notification, in a standard notification.
notificationTitle?
optionalnotificationTitle:string
Defined in: packages/mobile-client/src/useForegroundService.ts:32
The title (first row) of the notification, in a standard notification.