WindowSizeClassFactory

Added in 1.4.0-alpha05

public final class WindowSizeClassFactory


Summary

Public methods

static final @NonNull WindowSizeClass
computeWindowSizeClass(
    @NonNull Set<@NonNull WindowSizeClass> receiver,
    @NonNull WindowMetrics windowMetrics
)

A convenience function for computing the WindowSizeClass from the WindowMetrics

Public methods

computeWindowSizeClass

public static final @NonNull WindowSizeClass computeWindowSizeClass(
    @NonNull Set<@NonNull WindowSizeClass> receiver,
    @NonNull WindowMetrics windowMetrics
)

A convenience function for computing the WindowSizeClass from the WindowMetrics