|
long | getNativeHandle () |
|
void | setVideoRenderMode (Constants.VideoRenderMode mode) throws RteException |
|
Constants.VideoRenderMode | getVideoRenderMode () throws RteException |
|
void | setVideoMirrorMode (Constants.VideoMirrorMode mode) throws RteException |
|
Constants.VideoMirrorMode | getVideoMirrorMode () throws RteException |
|
void | setCropArea (Rect rect) throws RteException |
|
Rect | getCropArea () throws RteException |
|
The CanvasConfig class is used to configure the Canvas object.
- Since
- v4.4.0
◆ setVideoRenderMode()
void io.agora.rte.CanvasConfig.setVideoRenderMode |
( |
Constants.VideoRenderMode |
mode | ) |
throws RteException |
Set the video render mode.
- Since
- v4.4.0
- Parameters
-
- Exceptions
-
RteException | RteException.errorCode() may return the following ErrorCode:
- ErrorCode.INVALID_ARGUMENT: The mode parameter is set to an illegal value.
|
- Returns
- void
◆ getVideoRenderMode()
Constants.VideoRenderMode io.agora.rte.CanvasConfig.getVideoRenderMode |
( |
| ) |
throws RteException |
◆ setVideoMirrorMode()
void io.agora.rte.CanvasConfig.setVideoMirrorMode |
( |
Constants.VideoMirrorMode |
mode | ) |
throws RteException |
Set the video mirror mode.
- Since
- v4.4.0
- Parameters
-
- Exceptions
-
RteException | RteException.errorCode() may return the following ErrorCode:
- ErrorCode.INVALID_ARGUMENT: The mode parameter is set to an illegal value.
|
- Returns
- void
◆ getVideoMirrorMode()
Constants.VideoMirrorMode io.agora.rte.CanvasConfig.getVideoMirrorMode |
( |
| ) |
throws RteException |