onResume method
Resumes the session.
Invoke this method whenever your app comes back to foreground if there is an active session.
This method is only for Android. On iOS will do nothing.
Implementation
Future<void> onResume() async {
try {
return await _openTokHostApi.onResume();
} catch (e) {
rethrow;
}
}