// // SCFeatureTapToFocusAndExposureImpl.h // SCCamera // // Created by Michel Loenngren on 4/5/18. // #import "SCFeatureTapToFocusAndExposure.h" #import #import @protocol SCCapturer; /** Protocol describing unique camera commands to run when the user taps on screen. These could be focus, exposure or tap to portrait mode. */ @protocol SCFeatureCameraTapCommand - (void)execute:(CGPoint)pointOfInterest capturer:(id)capturer; @end /** This is the default implementation of SCFeatureTapToFocusAndExposure allowing the user to tap on the camera overlay view in order to adjust focus and exposure. */ @interface SCFeatureTapToFocusAndExposureImpl : NSObject SC_INIT_AND_NEW_UNAVAILABLE - (instancetype)initWithCapturer:(id)capturer commands:(NSArray> *)commands; @end /** Adjust focus on tap. */ @interface SCFeatureCameraFocusTapCommand : NSObject @end /** Adjust exposure on tap. */ @interface SCFeatureCameraExposureTapCommand : NSObject @end /** Adjust portrait mode point of interest on tap. */ @interface SCFeatureCameraPortraitTapCommand : NSObject @end