Const
Configuration options for the foreground service.
A type representing the configuration for foreground service permissions.
Optional
channelId?: stringThe id of the channel. Must be unique per package.
Optional
channelName?: stringThe user visible name of the channel.
Optional
enableCamera?: booleanIndicates whether the camera is enabled for the foreground service.
Optional
enableMicrophone?: booleanIndicates whether the microphone is enabled for the foreground service.
Optional
notificationContent?: stringThe text (second row) of the notification, in a standard notification.
Optional
notificationTitle?: stringThe title (first row) of the notification, in a standard notification.
A hook for managing a foreground service on Android. Does nothing on other platforms. You can use this hook to keep your app running in the background. You're also required to run a foreground service when screen sharing.