/ fm / liveswitch / Platform
Class: Platform
fm.liveswitch.Platform
Implements
Table of contents
Constructors
Properties
Methods
- getArchitecture
- getCoreCount
- getCryptoLibrary
- getDirectorySeparator
- getIsLittleEndian
- getIsMobile
- getMachineName
- getMobileType
- getOperatingSystem
- getOperatingSystemVersion
- getPhysicalMemory
- getPlatformTypeVersion
- getProcessId
- getSourceLanguage
- getType
- getUseFipsAlgorithms
- setCryptoLibrary
- setIsMobile
- setUseFipsAlgorithms
- toString
- getInstance
Constructors
constructor
+ new Platform(): Platform
Returns: Platform
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:7
Properties
isLittleEndian
• Private
isLittleEndian: boolean= false
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:16
isMobile
• Private
isMobile: boolean= false
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:17
littleEndianChecked
• Private
littleEndianChecked: boolean= false
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:15
useFipsAlgorithms
• Private
useFipsAlgorithms: boolean= false
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:18
instance
▪ Private
Static
instance: IPlatform
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:4
Methods
getArchitecture
▸ getArchitecture(): Architecture
Returns: Architecture
Implementation of: IPlatform
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:155
getCoreCount
▸ getCoreCount(): number
Returns: number
Implementation of: IPlatform
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:164
getCryptoLibrary
▸ getCryptoLibrary(): Default
Returns: Default
Implementation of: IPlatform
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:183
getDirectorySeparator
▸ getDirectorySeparator(): string
Returns: string
Implementation of: IPlatform
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:173
getIsLittleEndian
▸ getIsLittleEndian(): boolean
Returns: boolean
Implementation of: IPlatform
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:25
getIsMobile
▸ getIsMobile(): boolean
Returns: boolean
Implementation of: IPlatform
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:19
getMachineName
▸ getMachineName(): string
Returns: string
Implementation of: IPlatform
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:170
getMobileType
▸ getMobileType(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:139
getOperatingSystem
▸ getOperatingSystem(): OperatingSystem
Returns: OperatingSystem
Implementation of: IPlatform
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:40
getOperatingSystemVersion
▸ getOperatingSystemVersion(): string
Returns: string
Implementation of: IPlatform
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:50
getPhysicalMemory
▸ getPhysicalMemory(): number
Returns: number
Implementation of: IPlatform
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:167
getPlatformTypeVersion
▸ getPlatformTypeVersion(): string
Returns: string
Implementation of: IPlatform
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:73
getProcessId
▸ getProcessId(): number
Returns: number
Implementation of: IPlatform
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:176
getSourceLanguage
▸ getSourceLanguage(): SourceLanguage
Returns: SourceLanguage
Implementation of: IPlatform
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:161
getType
▸ getType(): PlatformType
Returns: PlatformType
Implementation of: IPlatform
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:54
getUseFipsAlgorithms
▸ getUseFipsAlgorithms(): boolean
Returns: boolean
Implementation of: IPlatform
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:179
setCryptoLibrary
▸ setCryptoLibrary(cryptoLibrary
: Default): void
Parameters:
Name | Type |
---|---|
cryptoLibrary |
Default |
Returns: void
Implementation of: IPlatform
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:186
setIsMobile
▸ setIsMobile(isMobile
: boolean): void
Parameters:
Name | Type |
---|---|
isMobile |
boolean |
Returns: void
Implementation of: IPlatform
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:22
setUseFipsAlgorithms
▸ setUseFipsAlgorithms(useFipsAlgorithms
: boolean): void
Parameters:
Name | Type |
---|---|
useFipsAlgorithms |
boolean |
Returns: void
Implementation of: IPlatform
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:182
toString
▸ toString(isVerbose
: boolean): string
Parameters:
Name | Type |
---|---|
isVerbose |
boolean |
Returns: string
Implementation of: IPlatform
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:133
getInstance
▸ Static
getInstance(): IPlatform
Returns: IPlatform
Defined in: Generated/TypeScript/fm.liveswitch/Platform.ts:5