setRenderViewID method

Future<V2TXLiveCode> setRenderViewID(
  1. int viewID
)

Set the ID of the rendered view

Parameter:

viewID The ID of the local rendered view

Return:

'0' success, more information please see V2TXLiveCode

Implementation

Future<V2TXLiveCode> setRenderViewID(int viewID) async {
  var result = await _channel.invokeMethod("setRenderView", {"id": viewID});
  return _liveCodeWithResult(result);
}