Class WindowInfoRepositoryCallbackAdapterWrapper

java.lang.Object
io.flutter.embedding.android.WindowInfoRepositoryCallbackAdapterWrapper

public class WindowInfoRepositoryCallbackAdapterWrapper extends Object
Wraps WindowInfoTrackerCallbackAdapter in order to be able to mock it during testing.
  • Constructor Details

    • WindowInfoRepositoryCallbackAdapterWrapper

      public WindowInfoRepositoryCallbackAdapterWrapper(@NonNull androidx.window.java.layout.WindowInfoTrackerCallbackAdapter adapter)
  • Method Details

    • addWindowLayoutInfoListener

      public void addWindowLayoutInfoListener(@NonNull Activity activity, @NonNull Executor executor, @NonNull androidx.core.util.Consumer<androidx.window.layout.WindowLayoutInfo> consumer)
    • removeWindowLayoutInfoListener

      public void removeWindowLayoutInfoListener(@NonNull androidx.core.util.Consumer<androidx.window.layout.WindowLayoutInfo> consumer)