Virtual Config
data class VirtualConfig(showWaitingRoomVideo: Boolean, waitingRoomYouTubeVideoId: String?) : Parcelable
Content copied to clipboard
Contains various values that are optionally customizable, and are specific to the Virtual Visit experience.
Parameters
showWaitingRoomVideo
Whether or not to display a YouTube video on the virtual waiting room screen. Defaults to true. This must be explicitly overridden in order to hide the waiting room, otherwise it will always show.
waitingRoomYouTubeVideoId
The id of the YouTube video that should display on the waiting room screen. This can be retrieved from a YouTube video's URL. If the video's URL is https://www.youtube.com/watch?v=2woiLsEG2zo
, this value should be 2woiLsEG2zo
. The video id defaults to 2woiLsEG2zo
when not specified explicitly. Only YouTube videos are supported.
Constructors
VirtualConfig
Link copied to clipboard
fun VirtualConfig(showWaitingRoomVideo: Boolean = true, waitingRoomYouTubeVideoId: String? = null)
Content copied to clipboard
Whether or not to display a YouTube video on the virtual waiting room screen.