useUserActive
Hook | Source Code
useUserActive(): boolean
Hook that gets updated whenever the user’s activity state changes from being inactive to active or vice versa. To configure options for user inactivity, see UserActivityService
Returns
Section titled “Returns”Whether the user is currently active.