IosWindowVisibility

Implementation of WindowVisibility for iOS.

In the iOS system, UIApplicationDidBecomeActiveNotification and UIApplicationWillResignActiveNotification are used to monitor window visibility states. It notifies the window visibility state based on the notification received.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
class ObserverWrapper(observer: WindowVisibility.Observer) : NSObject

Functions

Link copied to clipboard
open override fun addObserver(observer: WindowVisibility.Observer)
Link copied to clipboard
open fun asFlow(): Flow<WindowVisibilityEvent>
Link copied to clipboard
open override fun removeObserver(observer: WindowVisibility.Observer)