onStop method

Future<void> onStop()

Forcefully releases hardware resources (e.g. camera, microphone etc.) from using.

Use it after the session is over if needed.

This method is only for Android. On iOS will do nothing.

Implementation

Future<void> onStop() async {
  try {
    return await _openTokHostApi.onStop();
  } catch (e) {
    rethrow;
  }
}