import {PlatformWrapperImplElectron} from 'shapez.io/js/platform/electron/wrapper.js'PlatformWrapperImplElectron
Extends:
Method Summary
| Public Methods | ||
| public |
exitApp() |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
initialize(): * |
|
| public |
initializeAdProvider(): * |
|
| public |
openExternalLink(url: *) |
|
| public |
|
|
| public |
setFullscreen(flag: *) |
|
Inherited Summary
| From class PlatformWrapperInterface | ||
| public |
|
|
| 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 |
|
| From class PlatformWrapperImplBrowser | ||
| public |
embedProvider: {"id": string, "adProvider": *, "iframed": *, "externalLinks": boolean, "iogLink": boolean} |
|
| public |
|
|
| public |
Detects if there is an adblocker installed |
|
| public |
|
|
| public |
exitApp() |
|
| public |
getId(): * |
|
| public |
|
|
| public |
getTouchPanStrength(): * |
|
| public |
getUiScale(): * |
|
| public |
initialize(): * |
|
| public |
initializeAdProvider(): * |
|
| public |
openExternalLink(url: *, force: boolean) |
|
| public |
|
|
Public Methods
public getSupportsFullscreen(): boolean source
Returns whether this platform supports a toggleable fullscreen
public initializeAdProvider(): * source
Should initialize the apps ad provider in case supported
Return:
| * |
public openExternalLink(url: *) source
Attempt to open an external url
Params:
| Name | Type | Attribute | Description |
| url | * |
public setFullscreen(flag: *) source
Should set the apps fullscreen state to the desired state
Params:
| Name | Type | Attribute | Description |
| flag | * |
