Interface: CameraListener

CameraListener

CameraListener can be used for getting notifications of all events related to the Camera. For example, if the camera has been acquired and the user unplugged it or revoked permission to "Use the Camera" in Firefox, then onCameraReleasedForcibly method of the listener would be called.

Methods

onCameraReleasedForcibly(camera)

This method is called when the acquired camera is released forcibly. For example, this would happen if the user unplugged the camera or revoked permission to "Use the Camera" in Firefox.

Parameters:
Name Type Description
camera Camera

The camera which was released forcibly.