Class

RemoteCreationDisplayInfo

Represents the virtual display metrics and configuration used as guide values for rendering a RemoteCompose document.

Source set: JvmAndAndroid
public class RemoteCreationDisplayInfo internal constructor(
    public val width: Int,
    public val height: Int,
    public val density: Float,
    public val fontScale: Float = 1.0f,
    public val isInspectionMode: Boolean = false,
    public val densityBehavior: RemoteDensityBehavior = RemoteDensityBehavior.Legacy,
)

Represents the virtual display metrics and configuration used as guide values for rendering a RemoteCompose document.

These values serve as a guide for the predicted characteristics of the remote display, but the actual characteristics may differ when the document is played back on a remote client.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: