Share via


IdleDetectionMode Enumeration

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Defines the status for idle detection of users and applications. Used with the UserIdleDetectionMode and ApplicationIdleDetectionMode properties.

Namespace:  Microsoft.Phone.Shell
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

Syntax

Public Enumeration IdleDetectionMode
public enum IdleDetectionMode
<object property="enumerationValue" .../>

Members

Member name Description
Enabled When UserIdleDetectionMode is set to enabled, the operating system will consider an application to be idle when no touch events are detected. When ApplicationIdleDetectionMode is set to enabled, the operating system will pause the active application when the lock screen is engaged.
Disabled When UserIdleDetectionMode is set to disabled, the operating system will not consider an application to be idle when no touch events are detected. When ApplicationIdleDetectionMode is set to disabled, the active application will continue to run when the lock screen is engaged.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

Microsoft.Phone.Shell Namespace