amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.contentshare / DefaultContentShareController

DefaultContentShareController

class DefaultContentShareController : ContentShareController

Constructors

<init>

DefaultContentShareController(logger: Logger, contentShareVideoClientController: ContentShareVideoClientController)

Functions

addContentShareObserver

Subscribe the given observer to content share events (sharing started and stopped).

fun addContentShareObserver(observer: ContentShareObserver): Unit

removeContentShareObserver

Unsubscribe the given observer from content share events.

fun removeContentShareObserver(observer: ContentShareObserver): Unit

startContentShare

Start sharing the content of a given ContentShareSource.

fun startContentShare(source: ContentShareSource): Unit

Start sharing the content of a given ContentShareSource with configuration.

fun startContentShare(source: ContentShareSource, config: LocalVideoConfiguration): Unit

stopContentShare

Stop sharing the content of a ContentShareSource that previously started.

fun stopContentShare(): Unit