setRenderRotation method

Future<V2TXLiveCode> setRenderRotation(
  1. V2TXLiveRotation rotation
)

Sets the rotation angle of the local rendered picture

Parameter:

rotation Rotation angle V2TXLiveRotation

Return:

'0' success, more information please see V2TXLiveCode

Implementation

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