ScreenCapturerIOS Class Reference

Inherits from NSObject
Declared in ScreenCapturerIOS.h
ScreenCapturerIOS.mm

Other Methods

+ destoryManager

销毁对象

+ (void)destoryManager

Discussion

销毁对象

Declared In

ScreenCapturerIOS.mm

+ sharedManager

单例对象

+ (instancetype)sharedManager

Discussion

单例对象

Declared In

ScreenCapturerIOS.h

+ demandForAuthorization:

申请权限

+ (void)demandForAuthorization:(void ( ^ ) ( void ))authorizedResultBlock

Discussion

申请权限

Declared In

ScreenCapturerIOS.mm

– startRecording:audioBuffer:

开始记录

- (void)startRecording:(void ( ^ ) ( uint8_t *baseAddress , size_t frameSize , size_t stride , size_t w , size_t h ))videoCallBack audioBuffer:(void ( ^ ) ( CMSampleBufferRef _Nonnull sampleBuffer ))audioCallBack

Discussion

开始记录

Declared In

ScreenCapturerIOS.h

– turnOnRecord:audioBuffer:

开始记录

- (void)turnOnRecord:(void ( ^ ) ( uint8_t *baseAddress , size_t frameSize , size_t stride , size_t w , size_t h ))videoCallBack audioBuffer:(void ( ^ ) ( CMSampleBufferRef _Nonnull sampleBuffer ))audioCallBack

Discussion

开始记录

Declared In

ScreenCapturerIOS.mm

Other Methods

+ isRecording

当前是否是录制状态

+ (BOOL)isRecording

Discussion

当前是否是录制状态

Declared In

ScreenCapturerIOS.h

– stopRecording

停止记录

- (void)stopRecording

Discussion

停止记录

Declared In

ScreenCapturerIOS.h