Type Alias: ForegroundServiceConfig
ForegroundServiceConfig =
object
Defined in: packages/react-native-client/src/hooks/useForegroundService.ts:9
A type representing the configuration for foreground service permissions.
Properties
channelId?
optionalchannelId:string
Defined in: packages/react-native-client/src/hooks/useForegroundService.ts:21
The id of the channel. Must be unique per package.
channelName?
optionalchannelName:string
Defined in: packages/react-native-client/src/hooks/useForegroundService.ts:25
The user visible name of the channel.
enableCamera?
optionalenableCamera:boolean
Defined in: packages/react-native-client/src/hooks/useForegroundService.ts:13
Indicates whether the camera is enabled for the foreground service.
enableMicrophone?
optionalenableMicrophone:boolean
Defined in: packages/react-native-client/src/hooks/useForegroundService.ts:17
Indicates whether the microphone is enabled for the foreground service.
notificationContent?
optionalnotificationContent:string
Defined in: packages/react-native-client/src/hooks/useForegroundService.ts:33
The text (second row) of the notification, in a standard notification.
notificationTitle?
optionalnotificationTitle:string
Defined in: packages/react-native-client/src/hooks/useForegroundService.ts:29
The title (first row) of the notification, in a standard notification.