Methods
getIdleTimeout
- getIdleTimeout(): number
-
Returns number
getIsActive
- getIsActive(): boolean
-
Returns boolean
getIsIdle
- getIsIdle(): boolean
-
Returns boolean
getSessionId
- getSessionId(): string
-
Returns string
reportIdle
- reportIdle(): void
-
Returns void
reportUserActivity
- reportUserActivity(): void
-
Returns void
setIdleTimeout
- setIdleTimeout(idleTimeoutInSeconds: number): void
-
Parameters
-
idleTimeoutInSeconds: number
Returns void
Events
onActiveChanged
- onActiveChanged(callback: ((isActive: boolean) => void)): EventSubscription
-
Parameters
-
callback: ((isActive: boolean) => void)
-
- (isActive: boolean): void
-
Returns void
onIdleChanged
- onIdleChanged(callback: ((isIdle: boolean) => void)): EventSubscription
-
Parameters
-
callback: ((isIdle: boolean) => void)
-
- (isIdle: boolean): void
-
Returns void
siteKiosk.activityTracker
Example:
Edit this snippet on JSFiddle