public interface

ExtensionInterface.ExtensionCallback

 androidx.window.extensions.ExtensionInterface.ExtensionCallback

Overview

Callback that will be registered with the WindowManager library, and that the extension should use to report all state changes.

Summary

Methods
public voidonDeviceStateChanged(ExtensionDeviceState newDeviceState)

Called by extension when the device state changes.

public voidonWindowLayoutChanged(IBinder windowToken, ExtensionWindowLayoutInfo newLayout)

Called by extension when the feature layout inside the window changes.

Methods

public void onDeviceStateChanged(ExtensionDeviceState newDeviceState)

Called by extension when the device state changes.

public void onWindowLayoutChanged(IBinder windowToken, ExtensionWindowLayoutInfo newLayout)

Called by extension when the feature layout inside the window changes.