listen method

Future<Conference> listen(
  1. Conference conference,
  2. ConferenceListenOptions options
)

Joins a conference as a listener. The conference parameter refers to the conference that tha local participant wants to join as a listener. The options parameter allows setting additional options for the joining participant.

Implementation

Future<Conference> listen(
    Conference conference, ConferenceListenOptions options) async {
  var arguments = {
    "conference": conference.toJson(),
    "options": options.toJson()
  };
  var result = await _methodChannel.invokeMethod<Map<Object?, Object?>>(
          "listen", arguments) ??
      <String, Object?>{};
  return ConferenceMapper.fromMap(result);
}