setRenderMirror method

Future<V2TXLiveCode> setRenderMirror(
  1. V2TXLiveMirrorType mirrorType
)

Set the camera mirror type

Parameter:

mirrorType V2TXLiveMirrorType

Return:

'0' success, more information please see V2TXLiveCode

Implementation

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