LockApplicationHost LockApplicationHost LockApplicationHost LockApplicationHost LockApplicationHost Class

Definition

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.

public : sealed class LockApplicationHost
struct winrt::Windows::ApplicationModel::LockScreen::LockApplicationHost
public sealed class LockApplicationHost
Public NotInheritable Class LockApplicationHost
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Methods

GetForCurrentView() GetForCurrentView() GetForCurrentView() GetForCurrentView() GetForCurrentView()

Gets a LockApplicationHost object.

RequestUnlock() RequestUnlock() RequestUnlock() RequestUnlock() RequestUnlock()

Requests that the device unlocks.

Events

Unlocking Unlocking Unlocking Unlocking Unlocking

Indicates the device is unlocking.