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
749 B
26 lines
749 B
//
|
|
// SCBlackCameraNoOutputDetector.h
|
|
// Snapchat
|
|
//
|
|
// Created by Derek Wang on 05/12/2017.
|
|
//
|
|
|
|
#import "SCManagedCapturerListener.h"
|
|
|
|
#import <SCCameraFoundation/SCManagedVideoDataSourceListener.h>
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@class SCBlackCameraNoOutputDetector, SCBlackCameraReporter;
|
|
@protocol SCManiphestTicketCreator;
|
|
|
|
@protocol SCBlackCameraDetectorDelegate
|
|
- (void)detector:(SCBlackCameraNoOutputDetector *)detector didDetectBlackCamera:(id<SCCapturer>)capture;
|
|
@end
|
|
|
|
@interface SCBlackCameraNoOutputDetector : NSObject <SCManagedVideoDataSourceListener, SCManagedCapturerListener>
|
|
|
|
@property (nonatomic, weak) id<SCBlackCameraDetectorDelegate> delegate;
|
|
- (instancetype)initWithReporter:(SCBlackCameraReporter *)reporter;
|
|
|
|
@end
|