How to observe user inactivity and enable or disable the lock screen in Windows Phone 8.1

2

How do I disable automatic screen lock on windows phone 8.1?

 phoneService.UserIdleDetectionMode = IdleDetectionMode.Disabled;

Before using the above line, however, it is no longer valid for the new version of Windows Phone.

    
asked by anonymous 07.08.2014 / 01:18

1 answer

1

Use

DisplayRequest.RequestActive

Documentation and Example in: link

Source: link

    
07.08.2014 / 01:25