blob: dc9ddf9cfe5cf4fcfd85930cbc2f113f51ac4d2f [file]
// Signature format: 4.0
package androidx.window.java.area {
public final class WindowAreaControllerCallbackAdapter {
ctor public WindowAreaControllerCallbackAdapter(androidx.window.area.WindowAreaController controller);
method public void addWindowAreasListener(java.util.concurrent.Executor executor, androidx.core.util.Consumer<java.util.List<androidx.window.area.WindowArea>> listener);
method @SuppressCompatibility @androidx.window.core.ExperimentalWindowApi public androidx.window.area.WindowAreaSessionPresenter? getActivePresentationSession(androidx.window.area.WindowAreaToken windowAreaToken);
method @SuppressCompatibility @androidx.window.core.ExperimentalWindowApi public void presentContentOnWindowArea(androidx.window.area.WindowAreaToken windowAreaToken, android.app.Activity activity, java.util.concurrent.Executor executor, androidx.window.area.WindowAreaPresentationSessionCallback windowAreaPresentationSessionCallback);
method public void removeWindowAreasListener(androidx.core.util.Consumer<java.util.List<androidx.window.area.WindowArea>> listener);
method public void transferToWindowArea(androidx.window.area.WindowAreaToken? windowAreaToken, android.app.Activity activity);
}
}
package androidx.window.java.embedding {
public final class ActivityEmbeddingControllerCallbackAdapter {
ctor public ActivityEmbeddingControllerCallbackAdapter(androidx.window.embedding.ActivityEmbeddingController controller);
method @androidx.window.RequiresWindowSdkExtension(version=6) public void addEmbeddedActivityWindowInfoListener(android.app.Activity activity, java.util.concurrent.Executor executor, androidx.core.util.Consumer<androidx.window.embedding.EmbeddedActivityWindowInfo> listener);
method @androidx.window.RequiresWindowSdkExtension(version=6) public void removeEmbeddedActivityWindowInfoListener(androidx.core.util.Consumer<androidx.window.embedding.EmbeddedActivityWindowInfo> listener);
}
public final class OverlayControllerCallbackAdapter {
ctor public OverlayControllerCallbackAdapter(androidx.window.embedding.OverlayController controller);
method @androidx.window.RequiresWindowSdkExtension(version=5) public void addOverlayInfoListener(String overlayTag, java.util.concurrent.Executor executor, androidx.core.util.Consumer<androidx.window.embedding.OverlayInfo> consumer);
method @androidx.window.RequiresWindowSdkExtension(version=5) public void removeOverlayInfoListener(androidx.core.util.Consumer<androidx.window.embedding.OverlayInfo> consumer);
}
@SuppressCompatibility @androidx.window.core.ExperimentalWindowApi public final class SplitControllerCallbackAdapter {
ctor public SplitControllerCallbackAdapter(androidx.window.embedding.SplitController controller);
method public void addSplitListener(android.app.Activity activity, java.util.concurrent.Executor executor, androidx.core.util.Consumer<java.util.List<androidx.window.embedding.SplitInfo>> consumer);
method public void removeSplitListener(androidx.core.util.Consumer<java.util.List<androidx.window.embedding.SplitInfo>> consumer);
}
}
package androidx.window.java.layout {
@Deprecated public final class WindowInfoTrackerCallbackAdapter implements androidx.window.layout.WindowInfoTracker {
ctor @Deprecated public WindowInfoTrackerCallbackAdapter(androidx.window.layout.WindowInfoTracker tracker);
method @Deprecated public void addWindowLayoutInfoListener(android.app.Activity activity, java.util.concurrent.Executor executor, androidx.core.util.Consumer<androidx.window.layout.WindowLayoutInfo> consumer);
method @Deprecated public void addWindowLayoutInfoListener(@UiContext android.content.Context context, java.util.concurrent.Executor executor, androidx.core.util.Consumer<androidx.window.layout.WindowLayoutInfo> consumer);
method @Deprecated public void removeWindowLayoutInfoListener(androidx.core.util.Consumer<androidx.window.layout.WindowLayoutInfo> consumer);
method @Deprecated public kotlinx.coroutines.flow.Flow<androidx.window.layout.WindowLayoutInfo> windowLayoutInfo(android.app.Activity activity);
property @Deprecated @androidx.window.RequiresWindowSdkExtension(version=6) public java.util.List<androidx.window.layout.SupportedPosture> supportedPostures;
}
}