DeviceActivatedEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides information for a device that invokes AutoPlay.
JavaScript This type appears as WebUIDeviceActivatedEventArgs.
public ref class DeviceActivatedEventArgs sealed : IApplicationViewActivatedEventArgs, IDeviceActivatedEventArgs, IViewSwitcherProvider
public ref class DeviceActivatedEventArgs sealed : IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IDeviceActivatedEventArgs, IViewSwitcherProvider
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DeviceActivatedEventArgs final : IApplicationViewActivatedEventArgs, IDeviceActivatedEventArgs, IViewSwitcherProvider
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DeviceActivatedEventArgs final : IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IDeviceActivatedEventArgs, IViewSwitcherProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DeviceActivatedEventArgs : IApplicationViewActivatedEventArgs, IDeviceActivatedEventArgs, IViewSwitcherProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DeviceActivatedEventArgs : IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IDeviceActivatedEventArgs, IViewSwitcherProvider
Public NotInheritable Class DeviceActivatedEventArgs
Implements IApplicationViewActivatedEventArgs, IDeviceActivatedEventArgs, IViewSwitcherProvider
Public NotInheritable Class DeviceActivatedEventArgs
Implements IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IDeviceActivatedEventArgs, IViewSwitcherProvider
- Inheritance
- Attributes
- Implements
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Remarks
Version history
Windows version | SDK version | Value added |
---|---|---|
1607 | 14393 | User |
Properties
CurrentlyShownApplicationViewId |
Gets the identifier for the currently shown app view. |
DeviceInformationId |
Gets the device identifier for the device that invoked AutoPlay. |
Kind |
Gets the activation type. |
PreviousExecutionState |
Gets the execution state of the app before it was activated. |
SplashScreen |
Gets the splash screen object which provides information about the transition from the splash screen to the activated app. |
User |
Gets the user that the app was activated for. |
Verb |
Gets the action associated with the activated device. |
ViewSwitcher |
Gets the view switcher object that allows you to set the view for the application. |