update Media
fun updateMedia(context: Context, mediaTypes: List<MediaType>, onCompletion: (ConferenceError?) -> Unit)
Updates the media types shared by the user, overridden the current ones.
Parameters
context
Context used to capture local media.
media Types
List of new media types to be shared.
on Completion
Callback that will be invoked when the request is completed. It will receive a ConferenceError if any error occurs. In case of success, error will be null.