// // SCFeatureToggleCamera.h // SCCamera // // Created by Michel Loenngren on 4/17/18. // #import #import @protocol SCCapturer , SCFeatureToggleCamera, SCLensCameraScreenDataProviderProtocol; @protocol SCFeatureToggleCameraDelegate - (void)featureToggleCamera:(id)feature willToggleToDevicePosition:(SCManagedCaptureDevicePosition)devicePosition; - (void)featureToggleCamera:(id)feature didToggleToDevicePosition:(SCManagedCaptureDevicePosition)devicePosition; @end /** SCFeature protocol for toggling the camera. */ @protocol SCFeatureToggleCamera @property (nonatomic, weak) id delegate; - (void)toggleCameraWithRecording:(BOOL)isRecording takingPicture:(BOOL)isTakingPicture lensDataProvider:(id)lensDataProvider completion:(void (^)(BOOL success))completion; - (void)reset; @end