5package io.flutter.embedding.android;
8import androidx.annotation.NonNull;
9import androidx.core.util.Consumer;
10import androidx.window.java.layout.WindowInfoTrackerCallbackAdapter;
11import androidx.window.layout.WindowLayoutInfo;
12import java.util.concurrent.Executor;
17 @NonNull
final WindowInfoTrackerCallbackAdapter
adapter;
20 @NonNull WindowInfoTrackerCallbackAdapter
adapter) {
25 @NonNull Activity activity,
26 @NonNull Executor executor,
27 @NonNull Consumer<WindowLayoutInfo> consumer) {
28 adapter.addWindowLayoutInfoListener(activity, executor, consumer);
32 adapter.removeWindowLayoutInfoListener(consumer);
void removeWindowLayoutInfoListener(@NonNull Consumer< WindowLayoutInfo > consumer)
final WindowInfoTrackerCallbackAdapter adapter
WindowInfoRepositoryCallbackAdapterWrapper( @NonNull WindowInfoTrackerCallbackAdapter adapter)
void addWindowLayoutInfoListener( @NonNull Activity activity, @NonNull Executor executor, @NonNull Consumer< WindowLayoutInfo > consumer)