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:
RunningUnderLockScreen—Gets a value indicating whether the app is running under the lock screen
RunningUnderLockScreenEnabled—Allows you to set whether the app is allowed to run under the lock screen
UserPrompted
Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.