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
viewThe flash control view.
selectedRingLightColorThe 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
viewThe flash control view.
updatedRingLightValueThe 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
viewThe flash control view.
updatedFlashModeThe updated flash mode selection.