setRenderMode abstract method

Future<void> setRenderMode(
  1. RenderModeType renderMode
)

Sets the render mode of the media player.

  • renderMode Sets the render mode of the view. See RenderModeType.

Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.

Implementation

Future<void> setRenderMode(RenderModeType renderMode);