Package im.zego.internal.screencapture
Class ZegoScreenCapture
- java.lang.Object
-
- im.zego.internal.screencapture.ZegoScreenCapture
-
- All Implemented Interfaces:
ZegoScreenCaptureHandler
public class ZegoScreenCapture extends java.lang.Object implements ZegoScreenCaptureHandler
-
-
Constructor Summary
Constructors Constructor Description ZegoScreenCapture(android.content.Context context, android.media.projection.MediaProjection mediaProjection)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voiddestroyCapture()booleanIsCapturing()voidonScreenCaptureResolutionChanged(int width, int height)voidsetThis(long pThis)static voidsetVideoCaptureFactory(android.content.Context context, int channel)booleanstartCapture()voidstopCapture()voidupdateVideoConfig(boolean captureVideo, android.graphics.Rect cropRect, int captureOrientation)
-
-
-
Method Detail
-
IsCapturing
public boolean IsCapturing()
-
startCapture
public boolean startCapture()
-
stopCapture
public void stopCapture()
-
updateVideoConfig
public void updateVideoConfig(boolean captureVideo, android.graphics.Rect cropRect, int captureOrientation)
-
destroyCapture
public static void destroyCapture()
-
setVideoCaptureFactory
public static void setVideoCaptureFactory(android.content.Context context, int channel)
-
onScreenCaptureResolutionChanged
public void onScreenCaptureResolutionChanged(int width, int height)- Specified by:
onScreenCaptureResolutionChangedin interfaceZegoScreenCaptureHandler
-
setThis
public void setThis(long pThis)
-
-