CameraExtension

Android
interface CameraExtension extends HybridObject

A Camera Extension is a vendor-specific implementation of a private reprocessing pipeline, at ISP level.

For example, a vendor like Google Pixel might implement a 'hdr' extension to make use of the device's private native HDR implementation for photo capture.

See

CameraX Extensions

Note

Camera Extensions are only supported on Android

Note

Camera Extensions only work on SDR video streams - so make sure you don't have a TargetDynamicRange Constraint.

Note

Camera Extensions don't work with RAW capture - make sure you don't have a CameraPhotoOutput configured for 'dng' attached.

Note

If CameraExtension.supportsFrameStreaming is false, you cannot use a CameraOutput that streams frames.

Properties

supportsFrameStreaming

readonly supportsFrameStreaming: boolean

Whether a Camera Device with this CameraExtension supports Frame Streaming outputs, or not.

If this is false, enabling this CameraExtension and attaching an output that streams Frames (such as CameraFrameOutput) will throw.

See

CameraFrameOutput


type

readonly type: CameraExtensionType

Represents the type of this CameraExtension.

See

CameraExtensionType

On this page