file: Platform.aus

class: Platform

[18:14] static extends: object

Helper for FXGL's Platform enum (com.almasb.fxgl.core.util.Platform). Provides runtime detection of the host (WINDOWS / MAC / LINUX / ANDROID / IOS / BROWSER / EMBEDDED) plus convenience predicates (isMobile / isDesktop / isBrowser / isEmbedded). Use through the static-style helper: Platform.current() returns the current platform name; Platform.isDesktop() and friends return convenience flags.

Methods