DytePluginEventsListener

Dyte Plugin events listener

You can subscribe to all plugin events by implementing this interface. To subscribe pass implementation to io.dyte.core.DyteMobileClient.addPluginEventsListener

Functions

Link copied to clipboard
open fun onPluginActivated(plugin: DytePlugin)

On plugin activated Triggered when a Plugin is activated for ongoing meeting. Should be used to pass a webView to show Plugin.

Link copied to clipboard

On plugin deactivated Triggered when a Plugin is deactivated for ongoing meeting. Should be used to hide/remove the Plugin WebView from UI.

Link copied to clipboard

On plugin file request Triggered when the user chooses to upload a file to Plugin. Should be used to launch file chooser UI and select a file. The path of the selected file should be passed to the Plugin object received in the onPluginFileRequest callback. plugin.uploadFile(filePath)

Link copied to clipboard
open fun onPluginMessage(message: JsonObject)