MediaOption

class MediaOption

A data type represents the media options of a call.

Since

0.1

Types

Link copied to clipboard
object Companion
Link copied to clipboard

The video layout for the active speaker and other attendees in the group video meeting. The layout only affects when Phone.VideoStreamMode is Phone.VideoStreamMode.COMPOSITED

Functions

Link copied to clipboard
fun getCaptchaCode(): String

Captcha verification code to be entered by user

Link copied to clipboard
fun getCaptchaId(): String

Unique id for the captcha

Link copied to clipboard

Returns the video layout of the active speaker and other attendees for the group video call.

Link copied to clipboard
fun getLocalView(): <Error class: unknown class>?
Link copied to clipboard
fun getPin(): String

If join as moderator, PIN should be a host key, else PIN should be a meeting password.

Link copied to clipboard
fun getRemoteView(): <Error class: unknown class>?
Link copied to clipboard
fun getSharingView(): <Error class: unknown class>?
Link copied to clipboard
fun hasSharing(): Boolean

Whether content sharing is enabled.

Link copied to clipboard
fun hasVideo(): Boolean

Whether video is enabled.

Link copied to clipboard
fun isModerator(): Boolean

If true, join the meeting as a moderator.

Link copied to clipboard
fun setCaptchaCode(captchaCode: String)

Captcha verification code to be entered by user

Link copied to clipboard
fun setCaptchaId(captchaId: String)

Unique id for the captcha

Link copied to clipboard
fun setCompositedVideoLayout(compositedLayout: MediaOption.CompositedVideoLayout)

Set the video layout of the active speaker and other attendees for the group video call.

Link copied to clipboard
fun setModerator(moderator: Boolean)

If true, join the meeting as a moderator.

Link copied to clipboard
fun setPin(pin: String)

If join as moderator, PIN should be a host key, else PIN should be a meeting password.