Options
All
  • Public
  • Public/Protected
  • All
Menu

The StatisticsStore class provides network statistics.

Hierarchy

Index

Constructors

constructor

Accessors

cpu

  • get cpu(): number
  • Application CPU usage, range by: 0 ~ 1 Electron platform use only

    Returns number

cpuTotal

  • get cpuTotal(): number
  • System CPU usage, range by: 0 ~ 1 Electron platform use only

    Returns number

delay

  • get delay(): number
  • Network delay, unit: milliseconds

    Returns number

downlinkNetworkQuality

packetLoss

  • get packetLoss(): number
  • Returns number

uplinkNetworkQuality

Methods

onDestroy

  • onDestroy(): void

onInstall

  • onInstall(): void