src/main/UserActivityMonitor.js
/**
   * Updates internal idle time and sets internal user activity state
   *
   * @param {integer} idleTime
   * @private
   */
Updates internal idle time and sets internal user activity state
@param {integer} idleTime
@private
Updates internal idle time and sets internal user activity state @param { integer } idleTime @private
updateIdleTime(idleTime) {
    this.idleTime = idleTime;
    if (idleTime * 1000 > this.config.inactiveThresholdMs) { 
      this.setActivityState(false);
    } else {
      this.setActivityState(true);
    }
  }
updateIdleTime ( idleTime ) { this . idleTime = idleTime ; if ( idleTime * 1000 > this . config . inactiveThresholdMs ) { this . setActivityState ( false ) ; } else { this . setActivityState ( true ) ; } }
Updates internal idle time and sets internal user activity state
 @param {integer} idleTime
 @private
Updates internal idle time and sets internal user activity state @param { integer } idleTime @private
// eslint-disable-line no-magic-numbers