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, ILockScreenActivatedEventArgspublic sealed class LockScreenActivatedEventArgs : IActivatedEventArgs, IActivatedEventArgsWithUser, ILockScreenActivatedEventArgsPublic NotInheritable Class LockScreenActivatedEventArgs Implements IActivatedEventArgs, IActivatedEventArgsWithUser, ILockScreenActivatedEventArgs// You can use this class in JavaScript.
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.

Properties

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.

public : PlatForm::Object Info { get; }public object Info { get; }Public ReadOnly Property Info As object// You can use this property in JavaScript.
Value
PlatForm::Object object object object

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

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

public : ActivationKind Kind { get; }public ActivationKind Kind { get; }Public ReadOnly Property Kind As ActivationKind// You can use this property in JavaScript.
Value
ActivationKind ActivationKind ActivationKind ActivationKind

The reason for the activation of the app for this event. For the event that occurs when an app is activated as the lock screen, this value is ActivationKind.LockScreen.

See Also

PreviousExecutionState PreviousExecutionState PreviousExecutionState PreviousExecutionState

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

public : ApplicationExecutionState PreviousExecutionState { get; }public ApplicationExecutionState PreviousExecutionState { get; }Public ReadOnly Property PreviousExecutionState As ApplicationExecutionState// You can use this property in JavaScript.
Value
ApplicationExecutionState ApplicationExecutionState ApplicationExecutionState ApplicationExecutionState

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

See Also

SplashScreen SplashScreen SplashScreen SplashScreen

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

public : SplashScreen SplashScreen { get; }public SplashScreen SplashScreen { get; }Public ReadOnly Property SplashScreen As SplashScreen// You can use this property in JavaScript.
Value
SplashScreen SplashScreen SplashScreen SplashScreen

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

See Also

User User User User

Gets the user the app was activated for.

public : User User { get; }public User User { get; }Public ReadOnly Property User As User// You can use this property in JavaScript.
Value
User User User User

The user the app was activated for.

Additional features and requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)