Interface GeckoSession.MediaDelegate

Enclosing class:
GeckoSession

public static interface GeckoSession.MediaDelegate
GeckoSession applications implement this interface to handle media events.
  • Method Details

    • onRecordingStatusChanged

      @UiThread default void onRecordingStatusChanged(@NonNull GeckoSession session, @NonNull GeckoSession.MediaDelegate.RecordingDevice[] devices)
      A recording device has changed state. Any change to the recording state of the devices microphone or camera will call this delegate method. The argument provides details of the active recording devices.
      Parameters:
      session - The session that the event has originated from.
      devices - The list of active devices and their recording state.