join method
Join the room with configuration options passed as an HMSConfig object. Refer Join Room guide here.
Implementation
Future<dynamic> join({
required HMSConfig config,
}) async {
if (previewState) {
return HMSException(
message: "Preview in progress",
description: "Preview in progress",
action: "PREVIEW",
isTerminal: false,
params: {...config.getJson()});
}
return await PlatformService.invokeMethod(PlatformMethod.join,
arguments: {...config.getJson()});
}