CameraManagerStore
@microblink/blinkid-verify / CameraManagerStore
Type Alias: CameraManagerStore
CameraManagerStore =
object
The camera manager store.
Properties
cameraPermission
cameraPermission:
CameraPermission
Browser camera permission.
cameras
cameras:
Camera[]
The list of cameras that are available to the user.
errorState?
optionalerrorState:Error|CameraError
If the Camera manager has encountered an error, this will be set to the error.
extractionArea?
optionalextractionArea:ExtractionArea
Defines the area of the video which will be sent for processing.
facingFilter?
optionalfacingFilter:FacingMode[]
The facing mode filter that will be used to filter the available cameras. Can be a single facing mode or an array of facing modes.
isQueryingCameras
isQueryingCameras:
boolean
Indicates if camera list is currently being queried.
isSwappingCamera
isSwappingCamera:
boolean
Indicates if the camera is currently being swapped.
mirrorX
mirrorX:
boolean
Indicates if the captured frames will be mirrored horizontally
playbackState
playbackState:
PlaybackState
Capturing / playing / idle.
selectedCamera?
optionalselectedCamera:Camera
The currently selected camera.
videoElement?
optionalvideoElement:HTMLVideoElement
The video element that will display the camera stream.
videoResolution?
optionalvideoResolution:Resolution
The resolution of the video on the videoElement