Device.whenReady()
  • References/Game Development/Phaser/System/Device

<static> whenReady(handler, context, nonPrimer)

2025-01-10 15:47:30
Device#getUserMedia
  • References/Game Development/Phaser/System/Device

getUserMedia : boolean Does the device support the getUserMedia API? Default

2025-01-10 15:47:30
Device#file
  • References/Game Development/Phaser/System/Device

file : boolean Is file available? Source code:

2025-01-10 15:47:30
Device#chromeVersion
  • References/Game Development/Phaser/System/Device

chromeVersion : number If running in Chrome this will contain the major version number.

2025-01-10 15:47:30
Device#fileSystem
  • References/Game Development/Phaser/System/Device

fileSystem : boolean Is fileSystem available? Source code:

2025-01-10 15:47:30
Device#iPhone
  • References/Game Development/Phaser/System/Device

iPhone : boolean Is running on iPhone? Source code:

2025-01-10 15:47:30
Device#chrome
  • References/Game Development/Phaser/System/Device

chrome : boolean Set to true if running in Chrome. Source code:

2025-01-10 15:47:30
Device#crosswalk
  • References/Game Development/Phaser/System/Device

crosswalk : boolean Is the game running under the Intel Crosswalk XDK? Source

2025-01-10 15:47:30
Device#safari
  • References/Game Development/Phaser/System/Device

safari : boolean Set to true if running in Safari. Source code:

2025-01-10 15:47:30
Device#iOSVersion
  • References/Game Development/Phaser/System/Device

iOSVersion : number If running in iOS this will contain the major version number. Source

2025-01-10 15:47:30