WindowLayoutInfo.Builder

public final class WindowLayoutInfo.Builder


Builder for WindowLayoutInfo objects.

Summary

Public constructors

Public methods

final @NonNull WindowLayoutInfo

Creates a WindowLayoutInfo instance with the specified fields.

final @NonNull WindowLayoutInfo.Builder

Sets the display features for the WindowLayoutInfo instance.

Public constructors

Builder

public final Builder()

Public methods

build

@NonNull
public final WindowLayoutInfo build()

Creates a WindowLayoutInfo instance with the specified fields.

Returns
WindowLayoutInfo

A WindowLayoutInfo instance.

setDisplayFeatures

@NonNull
public final WindowLayoutInfo.Builder setDisplayFeatures(@NonNull List<@NonNull DisplayFeature> displayFeatures)

Sets the display features for the WindowLayoutInfo instance.