WindowInfoTracker

interface WindowInfoTracker

Known direct subclasses
WindowInfoTrackerCallbackAdapter

An adapted interface for WindowInfoTracker that allows listening for events via a callback shaped API.


An interface to provide all the relevant info about a android.view.Window.

Summary

Public methods

abstract @NonNull Flow<@NonNull WindowLayoutInfo>

A Flow of WindowLayoutInfo that contains all the available features.

Extension functions

default final @NonNull Flowable<@NonNull WindowLayoutInfo>

Return a Flowable stream of WindowLayoutInfo.

default final @NonNull Flowable<@NonNull WindowLayoutInfo>

Return a Flowable stream of WindowLayoutInfo.

default final @NonNull Observable<@NonNull WindowLayoutInfo>

Return an Observable stream of WindowLayoutInfo.

default final @NonNull Observable<@NonNull WindowLayoutInfo>

Return an Observable stream of WindowLayoutInfo.

Public methods

windowLayoutInfo

abstract @NonNull Flow<@NonNull WindowLayoutInfowindowLayoutInfo(Activity activity)

A Flow of WindowLayoutInfo that contains all the available features. A WindowLayoutInfo contains a