setRemoteView method

Future<int> setRemoteView(
  1. String userId,
  2. RCRTCView view
)

Implementation

Future<int> setRemoteView(String userId, RCRTCView view) async {
  Map<String, dynamic> arguments = {
    'id': userId,
    'view': view._id,
  };
  int code = await _channel.invokeMethod('setRemoteView', arguments) ?? -1;
  return code;
}