ImageCaptureCapabilities
interface ImageCaptureCapabilities
ImageCaptureCapabilities is used to query ImageCapture use case capabilities on the device.
Summary
Public functions |
|
|---|---|
(Mutable)Set<Int!> |
Gets the supported |
Boolean |
Returns if the takePicture() call in |
Boolean |
Returns if the takePicture() call in |
Public functions
getSupportedOutputFormats
fun getSupportedOutputFormats(): (Mutable)Set<Int!>
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
fun isCaptureProcessProgressSupported(): Boolean
Returns if the takePicture() call in ImageCapture is capable of notifying the onCaptureProcessProgressed or onCaptureProcessProgressed callback to the apps.
isPostviewSupported
fun isPostviewSupported(): Boolean
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.