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

# ContentShareController

`interface ContentShareController`

ContentShareController exposes methods for starting and stopping content share with a ContentShareSource. The content represents a media steam to be shared in the meeting, such as screen capture or media files. Read content share guide for details.

### Functions

#### addContentShareObserver | Subscribe the given observer to content share events (sharing started and stopped). `abstract fun addContentShareObserver(observer: ContentShareObserver): Unit`
#### removeContentShareObserver | Unsubscribe the given observer from content share events. `abstract fun removeContentShareObserver(observer: ContentShareObserver): Unit`
#### startContentShare | Start sharing the content of a given ContentShareSource. `abstract fun startContentShare(source: ContentShareSource): Unit` Start sharing the content of a given ContentShareSource with configuration. `abstract fun startContentShare(source: ContentShareSource, config: LocalVideoConfiguration): Unit`
#### stopContentShare | Stop sharing the content of a ContentShareSource that previously started. `abstract fun stopContentShare(): Unit`

### Inheritors

#### AudioVideoFacade | `interface AudioVideoFacade : AudioVideoControllerFacade, RealtimeControllerFacade, DeviceController, VideoTileControllerFacade, ActiveSpeakerDetectorFacade, ContentShareController, EventAnalyticsFacade`
#### DefaultContentShareController | `class DefaultContentShareController : ContentShareController`