android library

Classes

AudioEncoder
Defines the audio encoding.
AudioSource
Defines the audio source.
CamcorderProfile
Retrieves the predefined camcorder profile settings for camcorder applications.
Camera
The Camera class is used to set image capture settings, start/stop preview, snap pictures, and retrieve frames for encoding for video.
CameraArea
Used for choosing specific metering and focus areas for the camera to use when calculating auto-exposure, auto-white balance, and auto-focus.
CameraController
Implementation of intf.CameraController using Android Camera1 API.
CameraDevice
Implementation of intf.CameraDevice using Android Camera1 API.
CameraInfo
Information about a camera.
CameraParameters
Camera service settings.
CameraPlatform
Implementation of intf.PenguinCameraPlatform using Android Camera1 API.
CameraRect
Holds four integer coordinates for a rectangle.
CameraSize
Image size (width and height dimensions).
ImageCaptureOutput
Implementation of intf.ImageCaptureOutput using Android Camera1 API.
ImageFormat
Image format constants.
MediaRecorder
Used to record audio and video.
OutputFormat
Defines the output format.
PictureCallback
Callback used to supply image data from a photo capture.
PreviewCallback
Callback used to deliver copies of preview frames as they are displayed.
PreviewOutput
Implementation of intf.PreviewOutput using Android Camera1 API.
VideoCaptureOutput
Implementation of intf.VideoCaptureOutput using Android Camera1 API.
VideoEncoder
Defines the video encoding.
VideoSource
Defines the video source.

Typedefs

AutoFocusCallback = void Function(bool success)
Callback used to notify on completion of camera auto focus.
AutoFocusMoveCallback = void Function(bool start)
Callback used to notify on auto focus start and stop.
DataCallback = void Function(Uint8List? data)
Callback when receiving an image or preview byte array.
ErrorCallback = void Function(int error)
Callback for camera error notification.
OnErrorListener = void Function(int what, int extra)
Called when an error occurs while recording with MediaRecorder.
OnInfoListener = void Function(int what, int extra)
Called to indicate an info or a warning during recording with MediaRecorder.
OnZoomChangeListener = void Function(int zoomValue, bool stopped)
Callback for zoom changes during a smooth zoom operation.
ShutterCallback = void Function()
Callback used to signal the moment of actual image capture.