Basics
Guides
API Reference
Basics
Guides
API Reference
[14:7] extends: FxObj
Wraps FXGL's RuntimeInfo data class (com.almasb.fxgl.app.RuntimeInfo). Bundles the running Platform, FXGL version string, and build identifier. FXGL populates this at engine init and exposes it through GameSettings.getRuntimeInfo.
RuntimeInfo (PlatformObj = null, string Version = "", string Build = "")
Creates a new RuntimeInfo with the given values. Pass null for PlatformObj to construct an empty wrapper for adopt.
PlatformObj is an AussomJavaObject around a com.almasb.fxgl.core.util.Platform enum value, or null.Version is the FXGL version string.Build is the build identifier.adopt (object Ajo)
Wraps an existing RuntimeInfo AussomJavaObject.
Ajo is an AussomJavaObject around a RuntimeInfo.A new wrapper.getPlatform ()
Returns the running platform enum value.
An AussomJavaObject around a Platform.getVersion ()
Returns the FXGL version string.
A string.getBuild ()
Returns the build identifier string.
A string.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.