O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Lock Screen Management

I created a reusable class called LockScreenService that makes it easy to manage your app’s lock screen policy. The class implements a custom ILockScreenService interface that has the following three properties:

Image RunningUnderLockScreenGets a value indicating whether the app is running under the lock screen

Image RunningUnderLockScreenEnabledAllows you to set whether the app is allowed to run under the lock screen

Image UserPrompted

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required