addObserver

open override fun addObserver(observer: WindowVisibility.Observer)

Adds an observer to receive events.