Google is committed to advancing racial equity for Black communities. See how.

Builder

class Builder
kotlin.Any
   ↳ androidx.window.WindowLayoutInfo.Builder

Builder for WindowLayoutInfo objects.

Summary

Public constructors

Creates an initially empty builder.

Public methods
open WindowLayoutInfo

Creates a WindowLayoutInfo instance with the specified fields.

open WindowLayoutInfo.Builder
setDisplayFeatures(@NonNull displayFeatures: MutableList<DisplayFeature!>)

Set the display features for the WindowLayoutInfo instance.

Public constructors

<init>

Builder()

Creates an initially empty builder.

Public methods

build

@NonNull open fun build(): WindowLayoutInfo

Creates a WindowLayoutInfo instance with the specified fields.

Return
WindowLayoutInfo A WindowLayoutInfo instance.

setDisplayFeatures

@NonNull open fun setDisplayFeatures(@NonNull displayFeatures: MutableList<DisplayFeature!>): WindowLayoutInfo.Builder

Set the display features for the WindowLayoutInfo instance.