setView abstract method

Future<void> setView(
  1. int view
)

Sets the view.

In Flutter, you don't need to call this method. Use AgoraVideoView instead to render local and remote views.

  • view The render view. On Windows, this parameter sets the window handle (HWND).

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> setView(int view);