subscribes method

Future<int> subscribes(
  1. List<String> userIds,
  2. RCRTCMediaType type, [
  3. bool tiny = true
])

Implementation

Future<int> subscribes(
  List<String> userIds,
  RCRTCMediaType type, [
  bool tiny = true,
]) async {
  Map<String, dynamic> arguments = {
    'ids': userIds,
    'type': type.index,
    'tiny': tiny,
  };
  int code = await _channel.invokeMethod('subscribes', arguments) ?? -1;
  return code;
}