2014 snapchat source code
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
//
// SCFeatureImageCapture.h
// SCCamera
//
// Created by Kristian Bauer on 4/18/18.
//
#import "SCFeature.h"
#import <SCFoundation/SCFuture.h>
@protocol SCFeatureImageCapture;
@protocol SCFeatureImageCaptureDelegate <NSObject> - (void)featureImageCapture:(id<SCFeatureImageCapture>)featureImageCapture willCompleteWithImage:(UIImage *)image; - (void)featureImageCapture:(id<SCFeatureImageCapture>)featureImageCapture didCompleteWithError:(NSError *)error; - (void)featureImageCapturedDidComplete:(id<SCFeatureImageCapture>)featureImageCapture; @end
/**
SCFeature protocol for capturing an image. */ @protocol SCFeatureImageCapture <SCFeature> @property (nonatomic, weak, readwrite) id<SCFeatureImageCaptureDelegate> delegate; @property (nonatomic, strong, readonly) SCPromise<UIImage *> *imagePromise; - (void)captureImage:(NSString *)captureSessionID; @end
|