updateRemoteView method Null safety

Future<void> updateRemoteView(
  1. String userId,
  2. int streamType,
  3. int viewId
)

Update the window of remote video image

Note: When viewtype is TRTCCloudDef.TRTC_ VideoView_ TextureView is valid for Android

Parameters:

userId: userId of the specified remote user

streamType: Video stream type of the userId specified for watching:

viewId: Control that carries the video image

Implementation

Future<void> updateRemoteView(String userId, int streamType, int viewId) {
  return TRTCCloudVideoViewController(viewId)
      .updateRemoteView(userId, streamType, viewId);
}