voxeet / voxeet-uxkit-cordova

Dolby.io UXKit for Cordova
Other
1 stars 14 forks source link

Add onConferenceStatusUpdatedEvent for Android to get the conference events in cordova layer #44

Closed FabienLavocat closed 3 years ago

FabienLavocat commented 3 years ago

For Cordova on Android only! Add the onConferenceStatusUpdatedEvent function to get the conference events in the Cordova layer. The event object contains the status, the ID and the alias of the conference.

Voxeet.onConferenceStatusUpdatedEvent((event) => {
    console.log("onConferenceStatusUpdatedEvent", event)
});
ghaiat commented 3 years ago

@FabienLavocat @codlab thanks for this, can you merge and generate a new version of the plugin ? Cheers

codlab commented 3 years ago

HHHmmm not a big fan of the method for doing this but we can use this implementation for now. An implementation following the VoxeetSDK.event.on("conferenceStatusUpdatedEvent", (event) -> {} ); will be more interesting in the future with the various events plug