An Enum representing all the internal events that apps can listen to.
Connect to a Channel. This should be called before a MediaPanel is created and presented with MediaPanel.
Disconnect from all channels and tear down the Client. Once destroy is invoked, the client cannot be used anymore.
Disconnect from a Channel.
Unregister from a previously registered event.
Register a new handler for a given event.
Sets the user avatar image.
Optional
avatarUrl: stringSets the user display name.
Update the current auth token. Typically called when the token is nearing expiry and to continue the session uninterrupted.
The Client is the primary controller which powers the MediaPanel.