setView abstract method

Future<void> setView(
  1. int view
)

Sets the player rendering view.

In Flutter, you do not need to call this method manually. Use AgoraVideoView to render local and remote views.

  • view Rendering view. On Windows, this is a 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. See Error Codes for details and resolution suggestions.

Implementation

Future<void> setView(int view);