ZegoScreenCaptureSourceEventHandler Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | ZegoExpressEventHandler.h |
– screenCapture:availableFrame:dataLength:param:
Callback screen capture source object.
- (void)screenCapture:(ZegoScreenCaptureSource *)source availableFrame:(const void *)data dataLength:(unsigned int)dataLength param:(ZegoVideoFrameParam *)param
Parameters
source |
Callback screen capture source object. |
---|---|
data |
The screen captures the data of the image frame (eg: RGBA only needs to consider data[0], I420 needs to consider data[0,1,2]). |
dataLength |
Data length (eg: RGBA only needs to consider dataLength[0], I420 needs to consider dataLength[0,1,2]). |
param |
Screen capture image frame parameters. |
Declared In
ZegoExpressEventHandler.h
– screenCapture:exceptionOccurred:
Callback screen capture source object.
- (void)screenCapture:(ZegoScreenCaptureSource *)source exceptionOccurred:(ZegoScreenCaptureSourceExceptionType)exceptionType
Parameters
source |
Callback screen capture source object. |
---|---|
exceptionType |
Capture source exception type. |
Declared In
ZegoExpressEventHandler.h
– screenCapture:windowState:windowRect:
Callback screen capture source object.
- (void)screenCapture:(ZegoScreenCaptureSource *)source windowState:(ZegoScreenCaptureWindowState)windowState windowRect:(CGRect)windowRect
Parameters
source |
Callback screen capture source object. |
---|---|
windowState |
Capture window state. |
windowRect |
Capture window rect. |
Declared In
ZegoExpressEventHandler.h
– screenCapture:rectChanged:
Callback screen capture source object.
- (void)screenCapture:(ZegoScreenCaptureSource *)source rectChanged:(CGRect)rect
Parameters
source |
Callback screen capture source object. |
---|---|
rect |
Capture source rect. |
Declared In
ZegoExpressEventHandler.h