WindowLayoutInfo.Builder
public final class WindowLayoutInfo.Builder
Builder for WindowLayoutInfo objects.
Summary
Public constructors |
|
|---|---|
Builder() |
|
Public methods |
|
|---|---|
final @NonNull WindowLayoutInfo |
build()Creates a |
final @NonNull WindowLayoutInfo.Builder |
setDisplayFeatures(@NonNull List<@NonNull DisplayFeature> displayFeatures)Sets the display features for the |
Public constructors
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.