VirtualConfig

data class VirtualConfig(showWaitingRoomVideo: Boolean, waitingRoomYouTubeVideoId: String?) : Parcelable

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)
Whether or not to display a YouTube video on the virtual waiting room screen.

Functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

showWaitingRoomVideo
Link copied to clipboard
val showWaitingRoomVideo: Boolean = true
Whether or not to display a YouTube video on the virtual waiting room screen.
waitingRoomYouTubeVideoId
Link copied to clipboard
val waitingRoomYouTubeVideoId: String? = null
The id of the YouTube video that should display on the waiting room screen.