Windows.ApplicationModel.LockScreen Windows.ApplicationModel.LockScreen Windows.ApplicationModel.LockScreen Windows.ApplicationModel.LockScreen Windows.ApplicationModel.LockScreen Namespace

You can create an app that acts as the lock screen, allowing greater user personalization. You can develop novel unlock gestures and animations, and also display custom information or appearances for people.

Classes

LockApplicationHost LockApplicationHost LockApplicationHost LockApplicationHost LockApplicationHost

Allows the lock screen app to request that the device unlocks, and allows the app to register to be notified when the device begins to unlock.

LockScreenBadge LockScreenBadge LockScreenBadge LockScreenBadge LockScreenBadge

Represents a lock screen badge for an app.

LockScreenInfo LockScreenInfo LockScreenInfo LockScreenInfo LockScreenInfo

Provides access to the same data that the default lock screen has access to, such as wallpaper, badges, and so on.

LockScreenUnlockingDeferral LockScreenUnlockingDeferral LockScreenUnlockingDeferral LockScreenUnlockingDeferral LockScreenUnlockingDeferral

Represents an unlock deferral. To show an unlock animation, your lock screen app must:

  • Register to be notified of unlocking via the Unlocking event.
  • In the Unlocking event handler, call GetDeferral.
  • Kick off an animation.+ When that animation completes, call Complete on the deferral to end the deferral.
  • Note: If the animation takes too long, your lock screen app will be terminated by the system and potentially removed as the user’s default lock app.
LockScreenUnlockingEventArgs LockScreenUnlockingEventArgs LockScreenUnlockingEventArgs LockScreenUnlockingEventArgs LockScreenUnlockingEventArgs

Represents the lock screen unlocking events.