Methods
Static
addEventListener
- addEventListener(type: "networkStatusChanged", callback: ((ev: any) => void)): void
-
Parameters
-
type: "networkStatusChanged"
-
callback: ((ev: any) => void)
-
- (ev: any): void
-
Returns void
Returns void
Static
getBuildConfig
- getBuildConfig(): string
-
Returns string
Static
getBuildDate
- getBuildDate(): Date
-
Returns Date
Static
getHFVersion
- getHFVersion(): string
-
Returns string
Static
isOnline
- isOnline(): boolean
-
Returns boolean
Static
isV9
- isV9(): 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)
-
- (ev: any): void
-
Returns void
Returns void
Adds an event listener to the platform class.