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 : ILockApplicationHostpublic sealed class LockApplicationHost : ILockApplicationHostPublic NotInheritable Class LockApplicationHost Implements ILockApplicationHost// You can use this class in JavaScript.
- 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()
Gets a LockApplicationHost object.
public : static LockApplicationHost GetForCurrentView()public static LockApplicationHost GetForCurrentView()Public Static Function GetForCurrentView() As LockApplicationHost// You can use this method in JavaScript.
Returns
A LockApplicationHost object.
Events
Unlocking Unlocking Unlocking Unlocking
Indicates the device is unlocking.
public : event TypedEventHandler Unlocking<LockApplicationHost, LockScreenUnlockingEventArgs>public event TypedEventHandler Unlocking<LockApplicationHost, LockScreenUnlockingEventArgs>Public Event Unlocking<LockApplicationHost, LockScreenUnlockingEventArgs>// You can use this event in JavaScript.