PlatformWrapperInterface
Direct Subclass:
Indirect Subclass:
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public |
|
|
Method Summary
| Public Methods | ||
| public |
exitApp() Attempts to quit the app |
|
| public |
|
|
| public |
Should return the maximum supported zoom level |
|
| public |
Should return the minimum supported zoom level |
|
| public |
getScreenScale(): * |
|
| public |
Should return if this platform supports ads at all |
|
| public |
Returns whether this platform supports quitting the app |
|
| public |
Returns whether this platform supports a toggleable fullscreen |
|
| public |
getSupportsKeyboard(): * Whether this platform supports a keyboard |
|
| public |
|
|
| public |
Returns the strength of touch pans with the mouse |
|
| public |
getUiScale(): number Returns the UI scale, called on every resize |
|
| public |
initialize(): Promise<void> |
|
| public |
initializeAdProvider(): Promise<void> Should initialize the apps ad provider in case supported |
|
| public |
openExternalLink(url: string, force: boolean=) Attempt to open an external url |
|
| public |
Attempt to restart the app |
|
| public |
setFullscreen(flag: boolean) Should set the apps fullscreen state to the desired state |
|
Public Constructors
public constructor() source
Public Members
public app: Application source
Public Methods
public getSupportsFullscreen(): boolean source
Returns whether this platform supports a toggleable fullscreen
public initializeAdProvider(): Promise<void> source
Should initialize the apps ad provider in case supported
