// // CACameraSessionDelegate.h // // Created by Christopher Cohen & Gabriel Alvarado on 1/23/15. // Copyright (c) 2015 Gabriel Alvarado. All rights reserved. // #import ///Protocol Definition @protocol CACameraSessionDelegate @optional - (void)didCaptureImage:(UIImage *)image; @optional - (void)didCaptureImageWithData:(NSData *)imageData; @optional - (void)didDismiss; @end @interface CameraSessionView : UIView //Delegate Property @property (nonatomic, weak) id delegate; @property (nonatomic, assign) BOOL hiddenTopBar; @property (nonatomic, assign) BOOL hiddenShutter; //API Functions - (void)setTopBarColor:(UIColor *)topBarColor; - (void)hideFlashButton; - (void)hideCameraToggleButton; - (void)hideDismissButton; - (void)onTapShutterButton; - (void)onTapFlashButton; - (void)onTapToggleButton; - (void)onTapDismissButton; @end