-
- All Implemented Interfaces:
-
com.otaliastudios.cameraview.controls.Control
public enum PictureFormat implements Control
Format of the picture results for pictures that are taken with takePicture. This does not apply to picture snapshots.
-
-
Field Summary
Fields Modifier and Type Field Description final static PictureFormatDEFAULT
-
Constructor Summary
Constructors Constructor Description PictureFormat(int value)
-
Enum Constant Summary
Enum Constants Enum Constant Description JPEGThe picture result data will be a JPEG file.This value is always supported.
DNGThe picture result data will be a DNG file.This is only supported with the CAMERA2 engine and only onspecific devices. Please check getSupportedPictureFormats.
-
Method Summary
Modifier and Type Method Description intvalue()static PictureFormatfromValue(int value)static Array<PictureFormat>values()static PictureFormatvalueOf(String name)-
-
Method Detail
-
value
int value()
-
fromValue
@NonNull() static PictureFormat fromValue(int value)
-
values
static Array<PictureFormat> values()
-
valueOf
static PictureFormat valueOf(String name)
-
-
-
-