android library Null safety

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.

Mixins

PresetChangeListener
Listens when a CameraController changes CameraControllerPresets.

Typedefs

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