FlashState
public enum FlashState : Equatable
Enumerates the different possible flash states.
-
Undocumented
Declaration
Swift
case off
-
Undocumented
Declaration
Swift
case on(FlashMode)
-
The AVCaptureDevice.FlashMode that should be used when taking photos as per the FlashState.
Declaration
Swift
public var captureDeviceFlashMode: AVCaptureDevice.FlashMode { get }
-
The AVCaptureDevice.torchMode that should be used when recording videos as per the FlashState.
Declaration
Swift
public var captureDeviceTorchMode: AVCaptureDevice.TorchMode { get }