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
749 B

  1. //
  2. // SCBlackCameraNoOutputDetector.h
  3. // Snapchat
  4. //
  5. // Created by Derek Wang on 05/12/2017.
  6. //
  7. #import "SCManagedCapturerListener.h"
  8. #import <SCCameraFoundation/SCManagedVideoDataSourceListener.h>
  9. #import <Foundation/Foundation.h>
  10. @class SCBlackCameraNoOutputDetector, SCBlackCameraReporter;
  11. @protocol SCManiphestTicketCreator;
  12. @protocol SCBlackCameraDetectorDelegate
  13. - (void)detector:(SCBlackCameraNoOutputDetector *)detector didDetectBlackCamera:(id<SCCapturer>)capture;
  14. @end
  15. @interface SCBlackCameraNoOutputDetector : NSObject <SCManagedVideoDataSourceListener, SCManagedCapturerListener>
  16. @property (nonatomic, weak) id<SCBlackCameraDetectorDelegate> delegate;
  17. - (instancetype)initWithReporter:(SCBlackCameraReporter *)reporter;
  18. @end