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.
 
 
 

26 lines
640 B

//
// SCFeatureScanning.h
// Snapchat
//
// Created by Xiaokang Liu on 2018/4/19.
//
#import "SCFeature.h"
@protocol SCFeatureScanning;
@protocol SCFeatureScanningDelegate <NSObject>
- (void)featureScanning:(id<SCFeatureScanning>)featureScanning didFinishWithResult:(NSObject *)resultObject;
@end
/**
This SCFeature allows the user to long press on the screen to scan a snapcode.
*/
@protocol SCFeatureScanning <SCFeature>
@property (nonatomic, weak) id<SCFeatureScanningDelegate> delegate;
@property (nonatomic, assign) NSTimeInterval lastSuccessfulScanTime;
- (void)startScanning;
- (void)stopScanning;
- (void)stopSearch;
@end