FlashControlViewDelegate
public protocol FlashControlViewDelegate : AnyObject
Undocumented
-
Notifies the delegate that a ring light color was selected.
Declaration
Swift
func flashControlView(_ view: FlashControlView, selectedRingLightColor color: UIColor)
Parameters
view
The flash control view.
selectedRingLightColor
The ring light color that was just selected.
-
Notifies the delegate that the control’s ring light intensity slider has an updated value.
Declaration
Swift
func flashControlView(_ view: FlashControlView, updatedRingLightValue value: Float)
Parameters
view
The flash control view.
updatedRingLightValue
The updated intensity value received from the slider.
-
Notifies the delegate that there is an update to the selected flash mode.
Declaration
Swift
func flashControlView(_ view: FlashControlView, updatedFlashMode flashMode: CameraController.FlashMode)
Parameters
view
The flash control view.
updatedFlashMode
The updated flash mode selection.