CameraInfoModule
The CameraInfoModule
class provides access to details about the device camera.
Example
Properties
Property
Description
captureDevicePosition
(get) captureDevicePosition: Signal<CameraPosition> (set) (Not Available)
Specifies a CameraPosition
enum signal identifying the current camera in use on the device.
effectSafeAreaInsets
(get) effectSafeAreaInsets: InsetsSignal (set) (Not Available)
Specifies an InsetsSignal
indicating the insets of the effect safe area.
isCapturingPhoto
(get) isCapturingPhoto: BoolSignal (set) (Not Available)
Specifies a BoolSignal
that indicates whether the camera is capturing a photo.
isRecordingVideo
(get) isRecordingVideo: BoolSignal (set) (Not Available)
Specifies a BoolSignal
that indicates whether the camera is recording video.
previewScreenScale
(get) previewScreenScale: ScalarSignal (set) (Not Available)
Specifies a ScalarSignal
describing the scale of the preview's screen, i.e. the number of pixels per point.
previewSize
(get) previewSize: PixelSizeSignal (set) (Not Available)
Specifies a PixelSizeSignal
describing the size of the preview, in pixels.
Methods
This module exposes no methods.
Classes
This module exposes no classes.
Enums
Enum
Description
The CameraPosition
enum describes the direction the camera is facing.
Last updated