"description":"The system is considered idle if detectionIntervalInSeconds seconds have elapsed since the last user input detected."
},
{
"name":"callback",
"type":"function",
"parameters":[
{
"name":"newState",
"$ref":"IdleState"
}
]
}
]
},
{
"name":"setDetectionInterval",
"type":"function",
"description":"Sets the interval, in seconds, used to determine when the system is in an idle state for onStateChanged events. The default interval is 60 seconds.",
"parameters":[
{
"name":"intervalInSeconds",
"type":"integer",
"minimum":15,
"description":"Threshold, in seconds, used to determine when the system is in an idle state."
"description":"Fired when the system changes to an active or idle state. The event fires with \"idle\" if the the user has not generated any input for a specified number of seconds, and \"active\" when the user generates input on an idle system.",