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.
observer
- : CaptureSourceObserver - New observer