ImageCaptureCapabilities
public interface ImageCaptureCapabilities
ImageCaptureCapabilities is used to query ImageCapture use case capabilities on the device.
Summary
Public methods |
|
|---|---|
abstract @NonNull Set<Integer> |
Gets the supported |
abstract boolean |
Returns if the takePicture() call in |
abstract boolean |
Returns if the takePicture() call in |
Public methods
getSupportedOutputFormats
abstract @NonNull Set<Integer> getSupportedOutputFormats()
Gets the supported ImageCapture.OutputFormat set.
The set returned will always contain OUTPUT_FORMAT_JPEG format, support for other formats will vary by camera.
| See also | |
|---|---|
setOutputFormat |
isCaptureProcessProgressSupported
abstract boolean isCaptureProcessProgressSupported()
Returns if the takePicture() call in ImageCapture is capable of notifying the onCaptureProcessProgressed or onCaptureProcessProgressed callback to the apps.
isPostviewSupported
abstract boolean isPostviewSupported()
Returns if the takePicture() call in ImageCapture is capable of outputting postview images.
A postview image is a low-quality image that's produced earlier during image capture than the final high-quality image, and can be used as a thumbnail or placeholder until the final image is ready. If supported, apps can enable the postview using setPostviewEnabled.