ConstConfiguration options for the foreground service.
A type representing the configuration for foreground service permissions.
OptionalchannelId?: stringThe id of the channel. Must be unique per package.
OptionalchannelName?: stringThe user visible name of the channel.
OptionalenableCamera?: booleanIndicates whether the camera is enabled for the foreground service.
OptionalenableMicrophone?: booleanIndicates whether the microphone is enabled for the foreground service.
OptionalnotificationContent?: stringThe text (second row) of the notification, in a standard notification.
OptionalnotificationTitle?: 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.