setRenderViewID method
Set the ID of the local camera preview
The image captured by the local camera will be displayed on the incoming View after being superimposed with various effects such as beautification, face shape adjustment, and filters.
Parameter:
identifier
Local camera preview ID
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);
}