Object

RemoteConfiguration

Provides access to host display and window context variables evaluated by the host player.

Source set: Android
public object RemoteConfiguration

Provides access to host display and window context variables evaluated by the host player.

Properties

density

Source set: Android
public val density: RemoteFloat

The logical screen density scaling factor of the host display as a RemoteFloat.

fontSizePx

Source set: Android
public val fontSizePx: RemoteFloat

The default system font size of the host in pixels as a RemoteFloat.

fontSize

Source set: Android
public val fontSize: RemoteDp

The default system font size of the host as a RemoteDp, using the host density.

windowWidthPx

Source set: Android
public val windowWidthPx: RemoteFloat

The width of the host window in pixels as a RemoteFloat.

windowWidth

Source set: Android
public val windowWidth: RemoteDp

The width of the host window as a RemoteDp, using the host density.

windowHeightPx

Source set: Android
public val windowHeightPx: RemoteFloat

The height of the host window in pixels as a RemoteFloat.

windowHeight

Source set: Android
public val windowHeight: RemoteDp

The height of the host window as a RemoteDp, using the host density.

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: