Windows Dev Center

DeviceActivatedEventArgs class

Provides information for a device that invokes AutoPlay.

JavaScript:  This type appears as WebUIDeviceActivatedEventArgs.

Syntax


public ref class DeviceActivatedEventArgs sealed : IDeviceActivatedEventArgs,
    IActivatedEventArgs,
    IApplicationViewActivatedEventArgs

Members

The DeviceActivatedEventArgs class has these types of members:

Properties

The DeviceActivatedEventArgs class has these properties.

PropertyAccess typeDescription

CurrentlyShownApplicationViewId

Read-onlyGets the identifier for the currently shown app view.

DeviceInformationId

Read-onlyGets the device identifier for the device that invoked AutoPlay.

Kind

Read-onlyGets the activation type.

PreviousExecutionState

Read-onlyGets the execution state of the app before it was activated.

SplashScreen

Read-onlyGets the splash screen object which provides information about the transition from the splash screen to the activated app.

Verb

Read-onlyGets the action associated with the activated device.

ViewSwitcher

Read-onlyGets the view switcher object that allows you to set the view for the application.

 

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.ApplicationModel.Activation
Windows::ApplicationModel::Activation [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

Windows.ApplicationModel.Activation
Windows::ApplicationModel::Activation [C++]

Metadata

Windows.winmd

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06020000)]

See also

Object
IDeviceActivatedEventArgs
IActivatedEventArgs
IApplicationViewActivatedEventArgs
Windows.UI.Core.CoreApplicationView.Activated

 

 

Show:
© 2015 Microsoft