LockScreenActivatedEventArgs LockScreenActivatedEventArgs LockScreenActivatedEventArgs LockScreenActivatedEventArgs LockScreenActivatedEventArgs Class

Definition

Provides information about an event that occurs when the app is activated as the lock screen.

public : sealed class LockScreenActivatedEventArgs : IActivatedEventArgs, IActivatedEventArgsWithUser, ILockScreenActivatedEventArgs
struct winrt::Windows::ApplicationModel::Activation::LockScreenActivatedEventArgs : IActivatedEventArgs, IActivatedEventArgsWithUser, ILockScreenActivatedEventArgs
public sealed class LockScreenActivatedEventArgs : IActivatedEventArgs, IActivatedEventArgsWithUser, ILockScreenActivatedEventArgs
Public NotInheritable Class LockScreenActivatedEventArgs Implements IActivatedEventArgs, IActivatedEventArgsWithUser, ILockScreenActivatedEventArgs
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

LockScreenActivatedEventArgs is passed to the event handler that you implement for the activation event that occurs when the app is activated as the lock screen.

Version history

Windows version SDK version Value added
1607 14393 User

Properties

Info Info Info Info Info

Gets an object that allows an app that is activated as the lock screen to get the same data that the default lock screen can access, and to register for updates to that data.

Kind Kind Kind Kind Kind

Gets the reason for the activation of the app for this event.

PreviousExecutionState PreviousExecutionState PreviousExecutionState PreviousExecutionState PreviousExecutionState

Gets the execution state of the app before the app was activated as the lock screen.

SplashScreen SplashScreen SplashScreen SplashScreen SplashScreen

Gets the splash screen object that provides information about the transition from the splash screen to the activated app.

User User User User User

Gets the user the app was activated for.

See also