public class

WindowLayoutInfo.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.window.WindowLayoutInfo.Builder

Overview

Builder for WindowLayoutInfo objects.

Summary

Constructors
publicBuilder()

Creates an initially empty builder.

Methods
public WindowLayoutInfobuild()

Creates a WindowLayoutInfo instance with the specified fields.

public WindowLayoutInfo.BuildersetDisplayFeatures(java.util.List<DisplayFeature> displayFeatures)

Set the display features for the WindowLayoutInfo instance.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Builder()

Creates an initially empty builder.

Methods

public WindowLayoutInfo.Builder setDisplayFeatures(java.util.List<DisplayFeature> displayFeatures)

Set the display features for the WindowLayoutInfo instance.

public WindowLayoutInfo build()

Creates a WindowLayoutInfo instance with the specified fields.

Returns:

A WindowLayoutInfo instance.