Jaa


LockScreenActivatedEventArgs Class

Definition

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

public ref class LockScreenActivatedEventArgs sealed : ILockScreenActivatedEventArgs
public ref class LockScreenActivatedEventArgs sealed : IActivatedEventArgsWithUser, ILockScreenActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class LockScreenActivatedEventArgs final : ILockScreenActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class LockScreenActivatedEventArgs final : IActivatedEventArgsWithUser, ILockScreenActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class LockScreenActivatedEventArgs : ILockScreenActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class LockScreenActivatedEventArgs : IActivatedEventArgsWithUser, ILockScreenActivatedEventArgs
Public NotInheritable Class LockScreenActivatedEventArgs
Implements ILockScreenActivatedEventArgs
Public NotInheritable Class LockScreenActivatedEventArgs
Implements IActivatedEventArgsWithUser, ILockScreenActivatedEventArgs
Inheritance
Object Platform::Object IInspectable LockScreenActivatedEventArgs
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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

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

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

PreviousExecutionState

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

SplashScreen

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

User

Gets the user the app was activated for.

Applies to

See also