Skip to content

Instantly share code, notes, and snippets.

@abhimuralidharan
Created December 29, 2017 09:58
Show Gist options
  • Save abhimuralidharan/cc57764dfc0ded979f92baa4e2482938 to your computer and use it in GitHub Desktop.
Save abhimuralidharan/cc57764dfc0ded979f92baa4e2482938 to your computer and use it in GitHub Desktop.
//
// ScreenRecordingDetector.h
// ScreenCaptureDetector
//
// Created by Abhilash on 29/12/17.
// Copyright © 2017 Abhilash. All rights reserved.
//
/*
ScreenRecordingDetector checks for screen capturing as well as airplay mirroring
*/
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
extern NSString *kScreenRecordingDetectorRecordingStatusChangedNotification;
@interface ScreenRecordingDetector : NSObject
+(instancetype)sharedInstance;
+ (void)triggerDetectorTimer;
+ (void)stopDetectorTimer;
- (BOOL)isRecording;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment