Constructors
Methods
Static
addEventListener
- addEventListener(
type: "networkStatusChanged",
callback: (ev: any) => void,
): void Parameters
- type: "networkStatusChanged"
- callback: (ev: any) => void
Returns void
Static
isOnline
- isOnline(): boolean
Returns boolean
Static
openExternalUrl
- openExternalUrl(url: string, target?: string): void
Parameters
- url: string
Optional
target: string
Returns void
Static
openFileWithExternalApplication
- openFileWithExternalApplication(
filepath: string,
mimetype: string,
): Promise<void> Parameters
- filepath: string
- mimetype: string
Returns Promise<void>
Static
removeEventListener
- removeEventListener(
type: "networkStatusChanged",
callback: (ev: any) => void,
): void Parameters
- type: "networkStatusChanged"
- callback: (ev: any) => void
Returns void
Static properties and methods related to the platform.