# WindowInfoTrackerRx

Added in 1.0.0

*** ** * ** ***


```
public final class WindowInfoTrackerRx
```

<br />

*** ** * ** ***

## Summary

| ### Public methods |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://reactivex.io/RxJava/2.x/javadoc/io/reactivex/Flowable.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/window/layout/WindowLayoutInfo>` | `https://developer.android.com/reference/androidx/window/rxjava2/layout/WindowInfoTrackerRx#(androidx.window.layout.WindowInfoTracker).windowLayoutInfoFlowable(android.app.Activity)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/window/layout/WindowInfoTracker receiver, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/app/Activity.html activity )` Return a `https://reactivex.io/RxJava/2.x/javadoc/io/reactivex/Flowable.html` stream of `https://developer.android.com/reference/androidx/window/layout/WindowLayoutInfo`. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://reactivex.io/RxJava/2.x/javadoc/io/reactivex/Flowable.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/window/layout/WindowLayoutInfo>` | `https://developer.android.com/reference/androidx/window/rxjava2/layout/WindowInfoTrackerRx#(androidx.window.layout.WindowInfoTracker).windowLayoutInfoFlowable(android.content.Context)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/window/layout/WindowInfoTracker receiver, @https://developer.android.com/reference/androidx/annotation/UiContext @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/content/Context.html context )` Return a `https://reactivex.io/RxJava/2.x/javadoc/io/reactivex/Flowable.html` stream of `https://developer.android.com/reference/androidx/window/layout/WindowLayoutInfo`. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://reactivex.io/RxJava/2.x/javadoc/io/reactivex/Observable.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/window/layout/WindowLayoutInfo>` | `https://developer.android.com/reference/androidx/window/rxjava2/layout/WindowInfoTrackerRx#(androidx.window.layout.WindowInfoTracker).windowLayoutInfoObservable(android.app.Activity)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/window/layout/WindowInfoTracker receiver, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/app/Activity.html activity )` Return an `https://reactivex.io/RxJava/2.x/javadoc/io/reactivex/Observable.html` stream of `https://developer.android.com/reference/androidx/window/layout/WindowLayoutInfo`. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://reactivex.io/RxJava/2.x/javadoc/io/reactivex/Observable.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/window/layout/WindowLayoutInfo>` | `https://developer.android.com/reference/androidx/window/rxjava2/layout/WindowInfoTrackerRx#(androidx.window.layout.WindowInfoTracker).windowLayoutInfoObservable(android.content.Context)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/window/layout/WindowInfoTracker receiver, @https://developer.android.com/reference/androidx/annotation/UiContext @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/content/Context.html context )` Return an `https://reactivex.io/RxJava/2.x/javadoc/io/reactivex/Observable.html` stream of `https://developer.android.com/reference/androidx/window/layout/WindowLayoutInfo`. |

## Public methods

### windowLayoutInfoFlowable

Artifact: [androidx.window:window-rxjava2](https://developer.android.com/jetpack/androidx/releases/window) [View Source](https://cs.android.com/search?q=file:androidx/window/rxjava2/layout/WindowInfoTrackerRx.kt+function:windowLayoutInfoFlowable) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/window#1.0.0)

```
public static final @NonNull Flowable<@NonNull WindowLayoutInfo> windowLayoutInfoFlowable(
    @NonNull WindowInfoTracker receiver,
    @NonNull Activity activity
)
```

Return a `https://reactivex.io/RxJava/2.x/javadoc/io/reactivex/Flowable.html` stream of `https://developer.android.com/reference/androidx/window/layout/WindowLayoutInfo`.

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/window/layout/WindowInfoTracker#windowLayoutInfo(android.content.Context)` |   |

### windowLayoutInfoFlowable

Artifact: [androidx.window:window-rxjava2](https://developer.android.com/jetpack/androidx/releases/window) [View Source](https://cs.android.com/search?q=file:androidx/window/rxjava2/layout/WindowInfoTrackerRx.kt+function:windowLayoutInfoFlowable) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/window#1.1.0)

```
public static final @NonNull Flowable<@NonNull WindowLayoutInfo> windowLayoutInfoFlowable(
    @NonNull WindowInfoTracker receiver,
    @UiContext @NonNull Context context
)
```

Return a `https://reactivex.io/RxJava/2.x/javadoc/io/reactivex/Flowable.html` stream of `https://developer.android.com/reference/androidx/window/layout/WindowLayoutInfo`.

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/window/layout/WindowInfoTracker#windowLayoutInfo(android.content.Context)` |   |

### windowLayoutInfoObservable

Artifact: [androidx.window:window-rxjava2](https://developer.android.com/jetpack/androidx/releases/window) [View Source](https://cs.android.com/search?q=file:androidx/window/rxjava2/layout/WindowInfoTrackerRx.kt+function:windowLayoutInfoObservable) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/window#1.0.0)

```
public static final @NonNull Observable<@NonNull WindowLayoutInfo> windowLayoutInfoObservable(
    @NonNull WindowInfoTracker receiver,
    @NonNull Activity activity
)
```

Return an `https://reactivex.io/RxJava/2.x/javadoc/io/reactivex/Observable.html` stream of `https://developer.android.com/reference/androidx/window/layout/WindowLayoutInfo`.

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/window/layout/WindowInfoTracker#windowLayoutInfo(android.content.Context)` |   |

### windowLayoutInfoObservable

Artifact: [androidx.window:window-rxjava2](https://developer.android.com/jetpack/androidx/releases/window) [View Source](https://cs.android.com/search?q=file:androidx/window/rxjava2/layout/WindowInfoTrackerRx.kt+function:windowLayoutInfoObservable) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/window#1.1.0)

```
public static final @NonNull Observable<@NonNull WindowLayoutInfo> windowLayoutInfoObservable(
    @NonNull WindowInfoTracker receiver,
    @UiContext @NonNull Context context
)
```

Return an `https://reactivex.io/RxJava/2.x/javadoc/io/reactivex/Observable.html` stream of `https://developer.android.com/reference/androidx/window/layout/WindowLayoutInfo`.

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/window/layout/WindowInfoTracker#windowLayoutInfo(android.content.Context)` |   |