clik-engine API
GitHub
Preparing search index...
PlatformManager
Class PlatformManager
Index
Constructors
constructor
Accessors
is
Capacitor
is
Desktop
is
Mobile
Methods
exit
Fullscreen
get
OS
get
Safe
Area
is
Fullscreen
is
Landscape
is
Portrait
on
Pause
on
Resume
request
Fullscreen
Constructors
constructor
new
PlatformManager
(
game
:
Game
)
:
PlatformManager
Parameters
game
:
Game
Returns
PlatformManager
Accessors
is
Capacitor
get
isCapacitor
()
:
boolean
Returns
boolean
is
Desktop
get
isDesktop
()
:
boolean
Returns
boolean
is
Mobile
get
isMobile
()
:
boolean
Returns
boolean
Methods
exit
Fullscreen
exitFullscreen
()
:
void
Returns
void
get
OS
getOS
()
:
string
Returns
string
get
Safe
Area
getSafeArea
()
:
SafeArea
Returns
SafeArea
is
Fullscreen
isFullscreen
()
:
boolean
Returns
boolean
is
Landscape
isLandscape
()
:
boolean
Returns
boolean
is
Portrait
isPortrait
()
:
boolean
Returns
boolean
on
Pause
onPause
(
callback
:
()
=>
void
)
:
this
Parameters
callback
:
()
=>
void
Returns
this
on
Resume
onResume
(
callback
:
()
=>
void
)
:
this
Parameters
callback
:
()
=>
void
Returns
this
request
Fullscreen
requestFullscreen
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
is
Capacitor
is
Desktop
is
Mobile
Methods
exit
Fullscreen
get
OS
get
Safe
Area
is
Fullscreen
is
Landscape
is
Portrait
on
Pause
on
Resume
request
Fullscreen
GitHub
clik-engine API
Loading...