-
- All Implemented Interfaces:
-
com.otaliastudios.cameraview.controls.Control,java.io.Serializable,java.lang.Comparable
public enum Mode implements Control
Type of the session to be opened or to move to. Session modes have influence over the capture and preview size, ability to shoot pictures, focus modes, runtime permissions needed.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description VIDEOSession used to capture videos.- takePicture will throw an exception- Camera and audio record permissions are requested- Capture size is chosen according to the current video size selector
PICTURESession used to capture pictures.- takeVideo will throw an exception- Only the camera permission is requested- Capture size is chosen according to the current picture size selector
-