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.

Types

class CameraEntry point for the low-level cross-platform camera API.
enum CameraFacingDirection a camera faces relative to the device screen.
class CameraFrameA single frame delivered to a FrameListener.
class CameraInfoDescribes a physical camera available on the device.
class CameraSessionActive camera session.
class CameraSessionOptionsConfiguration for a CameraSession.
class CameraViewComponent that renders a live camera preview.
class CapturedPhotoResult of a still-photo capture via CameraSession#takePhoto().
enum FlashModeFlash behavior for still capture or continuous illumination.
enum FrameFormatPixel format requested for CameraFrame data delivered to a FrameListener.
interface FrameListenerReceives camera frames from an active CameraSession.
class PhotoCaptureOptionsPer-capture options for CameraSession#takePhoto(PhotoCaptureOptions).
enum ScaleTypeHow the live preview from a CameraView is fitted inside its component bounds.
class VideoRecordingHandle for an in-progress video recording started via CameraSession#startVideoRecording(String).