setRenderRotation method

Future<V2TXLiveCode> setRenderRotation(
  1. V2TXLiveRotation rotation
)

设置本地渲染画面旋转角度

参数:

rotation 旋转角度 V2TXLiveRotation

返回值:

0 成功,更多信息请查看 V2TXLiveCode

Implementation

Future<V2TXLiveCode> setRenderRotation(V2TXLiveRotation rotation) async {
  var result = await _channel.invokeMethod(
      'setRenderRotation', {"rotation": rotation.index});
  return _liveCodeWithResult(result);
}