VideoSinkVisibility

abstract class VideoSinkVisibility : Observable

Provides the visibility and dimensions of the video sink, allowing LiveKit to automatically manage the quality of the stream when adaptive streaming is used.

Constructors

VideoSinkVisibility
Link copied to clipboard
fun VideoSinkVisibility()

Functions

addObserver
Link copied to clipboard
open fun addObserver(p0: Observer)
clearChanged
Link copied to clipboard
open fun clearChanged()
close
Link copied to clipboard
open fun close()
Called when this object is no longer needed and should clean up any unused resources.
countObservers
Link copied to clipboard
open fun countObservers(): Int
deleteObserver
Link copied to clipboard
open fun deleteObserver(p0: Observer)
deleteObservers
Link copied to clipboard
open fun deleteObservers()
hasChanged
Link copied to clipboard
open fun hasChanged(): Boolean
isVisible
Link copied to clipboard
abstract fun isVisible(): Boolean
notifyChanged
Link copied to clipboard
fun notifyChanged()
This should be called whenever the visibility or size has changed.
notifyObservers
Link copied to clipboard
open fun notifyObservers()
open fun notifyObservers(p0: Any)
setChanged
Link copied to clipboard
open fun setChanged()
size
Link copied to clipboard
abstract fun size(): Track.Dimensions

Inheritors

ViewVisibility
Link copied to clipboard

Sources

SDK source
Link copied to clipboard