changeMode method

Future<void> changeMode(
  1. Mode mode
)

Changes what the local participant may send and receive.

Implementation

Future<void> changeMode(Mode mode) async {
  // participantModeChanged updates the mode, once the server applied it:
  // native can return while leaving it unchanged.
  await _backend.changeMode(mode);
}