switchLiveRole method

Future<int> switchLiveRole(
  1. RCRTCRole role
)

Implementation

Future<int> switchLiveRole(RCRTCRole role) async {
  int code = await _channel.invokeMethod('switchLiveRole', role.index) ?? -1;
  return code;
}