Skip to main content

android.platform

Android platform services exposed to the engine (media session, display, storage, input).

20 types in this package.

TypeKindExtendsSummary
AndroidBridgeclass—Central JNI bridge between the Haxe engine and the Phoenix Android native
AndroidDiscordclass—Android stand-in for Discord Rich Presence.
AndroidDisplayclass—Native display information: physical resolution, density/DPI, orientation,
AndroidGamepadclass—Native Android gamepad/controller support: connected device information,
AndroidHapticsclass—Android vibration/haptic feedback for gameplay events, menu interactions
AndroidHardwareInputclass—Non-standard Android hardware triggers (currently the volume buttons)
AndroidIntentsclass—Common Android intents: opening URLs, files and Settings pages, and
AndroidLifecycleclass—Exposes Android Activity lifecycle events to Haxe and keeps gameplay/audio
AndroidMediaclass—Android media integration: Jetpack Media3 MediaSession / MediaSessionService
AndroidNotificationclass—Native Android notifications. The media (MediaStyle) notification is
AndroidPlatformclass—Facade for the Phoenix Android platform layer.
AndroidStorageclass—Android Storage Access Framework (SAF) integration plus content:// URI
AndroidStorageResulttypedef—Result of an Android Storage Access Framework picker.
AndroidSystemclass—Device-state information: memory pressure, battery state, screen wake
AudioOutputInfotypedef——
BatteryInfotypedef——
ControllerTypeenum——
CutoutInsetstypedef——
DisplayInfotypedef——
GamepadInfotypedef——