DeviceActivatedEventArgs class
TOC
Collapse the table of content
Expand the table of content

DeviceActivatedEventArgs class

Provides information for a device that invokes AutoPlay.

JavaScript:  This type appears as WebUIDeviceActivatedEventArgs.

Syntax


public sealed class DeviceActivatedEventArgs : IDeviceActivatedEventArgs,
    IActivatedEventArgs,
    IApplicationViewActivatedEventArgs

Members

The DeviceActivatedEventArgs class has these types of members:

Properties

The DeviceActivatedEventArgs class has these properties.

PropertyAccess typeDescription

CurrentlyShownApplicationViewId

Read-only

Gets the identifier for the currently shown app view.

DeviceInformationId

Read-only

Gets the device identifier for the device that invoked AutoPlay.

Kind

Read-only

Gets the activation type.

PreviousExecutionState

Read-only

Gets the execution state of the app before it was activated.

SplashScreen

Read-only

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

Verb

Read-only

Gets the action associated with the activated device.

ViewSwitcher

Read-only

Gets the view switcher object that allows you to set the view for the application.

 

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

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:
© 2016 Microsoft