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, ZegoScreenCaptureFactory factory, android.media.projection.MediaProjection mediaProjection, int publishChannel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
IsCapturing()
void
onScreenCaptureResolutionChanged(int width, int height)
void
setThis(long pThis)
boolean
startCapture()
void
stopCapture()
void
updateVideoConfig(boolean captureVideo)
void
updateVideoCropRect(android.graphics.Rect cropRect)
-
-
-
Constructor Detail
-
ZegoScreenCapture
public ZegoScreenCapture(android.content.Context context, ZegoScreenCaptureFactory factory, android.media.projection.MediaProjection mediaProjection, int publishChannel)
-
-
Method Detail
-
IsCapturing
public boolean IsCapturing()
-
startCapture
public boolean startCapture()
-
stopCapture
public void stopCapture()
-
updateVideoConfig
public void updateVideoConfig(boolean captureVideo)
-
updateVideoCropRect
public void updateVideoCropRect(android.graphics.Rect cropRect)
-
onScreenCaptureResolutionChanged
public void onScreenCaptureResolutionChanged(int width, int height)
- Specified by:
onScreenCaptureResolutionChanged
in interfaceZegoScreenCaptureHandler
-
setThis
public void setThis(long pThis)
-
-