android-components / mozilla.components.feature.media / RecordingDevicesNotificationFeature

RecordingDevicesNotificationFeature

class RecordingDevicesNotificationFeature (source)

Feature for displaying an ongoing notification while recording devices (camera, microphone) are used.

This feature should be initialized globally (application scope) and only once.

Constructors

Name Summary
<init> RecordingDevicesNotificationFeature(context: <ERROR CLASS>, sessionManager: SessionManager)
Feature for displaying an ongoing notification while recording devices (camera, microphone) are used.

Functions

Name Summary
enable fun enable(): Unit
Enable the media notification feature. An ongoing notification will be shown while recording devices (camera, microphone) are used.