onReceive

abstract fun onReceive(event: WindowVisibilityEvent)

Receives a event of window visibility.