Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Platform

Hierarchy

  • Platform

Implements

  • IPlatform

Index

Constructors

constructor

  • Returns Platform

Properties

Private isLittleEndian

isLittleEndian: boolean = false

Private isMobile

isMobile: boolean = false

Private littleEndianChecked

littleEndianChecked: boolean = false

Static Private instance

instance: IPlatform = new Platform()

Methods

getArchitecture

  • getArchitecture(): Architecture
  • Returns Architecture

getDirectorySeparator

  • getDirectorySeparator(): string
  • Returns string

getIsLittleEndian

  • getIsLittleEndian(): boolean
  • Returns boolean

getIsMobile

  • getIsMobile(): boolean
  • Returns boolean

getOperatingSystem

  • getOperatingSystem(): OperatingSystem
  • Returns OperatingSystem

getSourceLanguage

  • getSourceLanguage(): SourceLanguage
  • Returns SourceLanguage

setIsMobile

  • setIsMobile(isMobile: boolean): void
  • Parameters

    • isMobile: boolean

    Returns void

Static getInstance

  • getInstance(): IPlatform
  • Returns IPlatform