amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture / DefaultScreenCaptureSource / addCaptureSourceObserver

addCaptureSourceObserver

fun addCaptureSourceObserver(observer: CaptureSourceObserver): Unit

Add a capture source observer to receive callbacks from the source on lifecycle events which can be used to trigger UI. This observer is entirely optional.

Parameters

observer - : CaptureSourceObserver - New observer