WindowLayoutInfoTesting

Added in 1.0.0

public final class WindowLayoutInfoTesting

Summary

Public methods

createWindowLayoutInfo

public static final @NonNull WindowLayoutInfocreateWindowLayoutInfo(
 @NonNull List<@NonNull DisplayFeature> displayFeatures,
 @NonNull Set<@NonNull WindowLayoutInfo.EngagementMode> engagementModes
)

Returns a WindowLayoutInfo with default values for testing.

Returns
@NonNull WindowLayoutInfo

WindowLayoutInfo with matching parameters.