Receiver

interface Receiver(source)

Interface for platform-specific window visibility receivers.

Implementations should monitor window visibility state changes and notify the provider when the window transitions between foreground and background states.

Functions

Link copied to clipboard
abstract fun start()

Starts monitoring window visibility changes.

Link copied to clipboard
abstract fun stop()

Stops monitoring window visibility changes.