HVTCameraControllerCameraFlashMode Constants Reference

Declared in HVTCameraController.h

HVTCameraControllerCameraFlashMode

The flash mode to use with the active camera.

The constants in this enumeration are for use as values of the cameraFlashMode property.

The behavior of the flash depends on the camera capture mode.

For a cameraCaptureMode value of HVTCameraControllerCameraCaptureModePhoto, flash is used to transiently illuminate the subject during still image capture.

For a cameraCaptureMode value of HVTCameraControllerCameraCaptureModeVideo, flash is used to continuously illuminate the subject during movie capture.

For a given camera on a device, flash may or may not be available. You specify the active camera by way of the cameraDevice property. You can determine if the active camera has flash available by calling the isFlashAvailableForCameraDevice: class method.

You can manipulate the flash directly to provide effects such as a strobe light. Present the interface set to use video capture mode. Then, turn the flash LED on or off by setting the cameraFlashMode property to HVTCameraControllerCameraFlashModeOn or HVTCameraControllerCameraFlashModeOff.

Definition

typedef NS_ENUM(NSInteger, HVTCameraControllerCameraFlashMode ) {
   HVTCameraControllerCameraFlashModeOff = -1,
   HVTCameraControllerCameraFlashModeAuto = 0,
   HVTCameraControllerCameraFlashModeOn = 1,
};

Constants

HVTCameraControllerCameraFlashModeOff

Specifies that flash illumination is always off, no matter what the ambient light conditions are.

Declared In HVTCameraController.h.

HVTCameraControllerCameraFlashModeAuto

Specifies that the device should consider ambient light conditions to automatically determine whether or not to use flash illumination.

Declared In HVTCameraController.h.

HVTCameraControllerCameraFlashModeOn

Specifies that flash illumination is always on, no matter what the ambient light conditions are.

Declared In HVTCameraController.h.

Declared In

HVTCameraController.h