WindowVisibility

Interface for receiving events of window visibility.

Inheritors

Types

Link copied to clipboard
interface Observer

Observer interface for receiving events of window visibility.

Link copied to clipboard

An object indicating unsupported for the capability of window visibility.

Functions

Link copied to clipboard
abstract fun addObserver(observer: WindowVisibility.Observer)

Adds an observer to receive events.

Link copied to clipboard
open fun asFlow(): Flow<WindowVisibilityEvent>

Provides a Flow to receive events of window visibility.

Link copied to clipboard

Removes an observer that receives events.