Package com.codename1.camera
package com.codename1.camera
Session based camera API for live preview, photo capture and video recording.
A CameraSession is configured through CameraSessionOptions (selecting the
CameraFacing, FlashMode, FrameFormat and so on) and rendered through a
CameraView using a ScaleType. Individual CameraFrames can be observed
with a FrameListener, still images are returned as a CapturedPhoto
according to PhotoCaptureOptions, and movies are produced as a
VideoRecording. CameraInfo describes the devices available on the
platform.
-
ClassDescriptionEntry point for the low-level cross-platform camera API.Direction a camera faces relative to the device screen.A single frame delivered to a
FrameListener.Describes a physical camera available on the device.Active camera session.Configuration for aCameraSession.Component that renders a live camera preview.Result of a still-photo capture viaCameraSession#takePhoto().Flash behavior for still capture or continuous illumination.Pixel format requested forCameraFramedata delivered to aFrameListener.Receives camera frames from an activeCameraSession.Per-capture options forCameraSession#takePhoto(PhotoCaptureOptions).How the live preview from aCameraViewis fitted inside its component bounds.Handle for an in-progress video recording started viaCameraSession#startVideoRecording(String).