Basics
Guides
API Reference
Basics
Guides
API Reference
[13:14] static extends: object
Helper for FXGL's AudioType enum
(com.almasb.fxgl.audio.AudioType): MUSIC (long
MediaPlayer-backed tracks) and SOUND (short AudioClip-backed
effects). Used by AudioPlayer.loadAudio(type, url, isMobile).
get (string Name)
Resolves an AudioType enum value by name.
Name is "MUSIC" or "SOUND".An AussomJavaObject around the AudioType value.values ()
Returns AudioType[] containing every constant.
valueOf (string Name)
Standard Enum.valueOf strict lookup.

Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.