open method
- ParticipantInfo participantInfo
Opens a new session to connect the SDK with the Dolby.io backend. The participantInfo
parameter refers to an additional information about the local participant.
Implementation
Future<void> open(ParticipantInfo participantInfo) async {
var params = {
"name": participantInfo.name,
"avatarUrl": participantInfo.avatarUrl,
"externalId": participantInfo.externalId
};
await _methodChannel.invokeMethod<void>('open', params);
return Future.value();
}