Introduction
Plugins are one-click add-ons that can make your meetings more immersive and collaborative. RealtimeKit provides a bunch of inbuilt plugins to choose from.
The meeting plugins can be accessed from the meeting.plugins
object, it exposes the following.
Property | Type | Description |
---|---|---|
active | List | All plugins that are currently in use. |
all | List | All plugins the meeting has access to. |
Each plugin in the list is of type RtkPlugin
which has the following public fields and methods:
class RtkPlugin {
val id: String
val name: String
val description: String
val picture: String
val isPrivate: Boolean
val staggered: Boolean
val baseURL: String
val config: PluginConfig
val isActive: Boolean
val enabledBy: String?
fun activate()
fun deactivate()
fun getPluginView(): WebView
fun uploadFile(file: RtkPluginFile)
fun sendData(eventName: String, data: Any?)
}
The PluginConfig
type consists of the following fields:
data class PluginConfig(
val accessControl: String = "FULL_ACCESS"
)