Windows Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ActivationKind enumeration

Specifies the type of activation.

Syntax


public enum class ActivationKind

Members

The ActivationKind enumeration has these members.

MemberValueDescription
Launch | launch0

The user launched the app or tapped a content tile.

Search | search1

The user wants to search with the app.

ShareTarget | shareTarget2

The app is activated as a target for share operations.

File | file3

An app launched a file whose file type this app is registered to handle.

Protocol | protocol4

An app launched a URI whose scheme name this app is registered to handle.

FileOpenPicker | fileOpenPicker5

The user wants to pick files that are provided by the app.

FileSavePicker | fileSavePicker6

The user wants to save a file and selected the app as the location.

CachedFileUpdater | cachedFileUpdater7

The user wants to save a file that the app provides content management for.

ContactPicker | contactPicker8

The user wants to pick contacts.

Device | device9

The app handles AutoPlay.

PrintTaskSettings | printTaskSettings10

The app handles print tasks.

CameraSettings | cameraSettings11

The app captures photos or video from an attached camera.

RestrictedLaunch | restrictedLaunch12

Windows Store only. The user launched the restricted app.

AppointmentsProvider | appointmentsProvider13

The user wants to manage appointments that are provided by the app.

Contact | contact14

Windows Store only. The user wants to handle calls or messages for the phone number of a contact that is provided by the app.

LockScreenCall | lockScreenCall15

Windows Store only. The app launches a call from the lock screen. If the user wants to accept the call, the app displays its call UI directly on the lock screen without requiring the user to unlock. A lock-screen call is a special type of launch activation.

VoiceCommand | voiceCommand16

The app was activated as the result of a voice command.

Note  Not supported in Windows 8 and Windows 8.1 apps.
 
LockScreen | lockScreen17

The app was activated as the lock screen. Introduced in Windows 10.

PickerReturned | pickerReturned1000

Windows Phone only. The app was activated after the completion of a picker.

WalletAction | walletAction1001

Windows Phone only. The app was activated to perform a Wallet operation.

PickFileContinuation | pickFileContinuation1002

Windows Phone only. The app was activated after the app was suspended for a file picker operation.

PickSaveFileContinuation | pickSaveFileContinuation1003

Windows Phone only. The app was activated after the app was suspended for a file save picker operation.

PickFolderContinuation | pickFolderContinuation1004

Windows Phone only. The app was activated after the app was suspended for a folder picker operation.

WebAuthenticationBrokerContinuation | webAuthenticationBrokerContinuation1005

Windows Phone only. The app was activated after the app was suspended for a web authentication broker operation.

WebAccountProvider | webAccountProvider1006

The app was activated by a web account provider. Introduced in Windows 10.

ComponentUI | componentUI1007

Reserved for system use. Introduced in Windows 10.

ProtocolForResults | protocolForResults1009

The app was launched by another app with the expectation that it will return a result back to the caller. Introduced in Windows 10.

ToastNotification | toastNotification1010

The app was activated when a user tapped on the body of a toast notification or performed an action inside a toast notification. Introduced in Windows 10.

Print3DWorkflow | print3DWorkflow1011

This app was launched by another app to provide a customized printing experience for a 3D printer. Introduced in Windows 10.

DialReceiver | dialReceiver1012

This app was launched by another app on a different device by using the DIAL protocol. Introduced in Windows 10.

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

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

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

Metadata

Windows.winmd

Attributes

[Version(0x06020000)]

See also

Reference (C#/VB/C++)
CachedFileUpdaterActivatedEventArgs.Kind
CameraSettingsActivatedEventArgs.Kind
ContactPickerActivatedEventArgs.Kind
DeviceActivatedEventArgs.Kind
FileActivatedEventArgs.Kind
FileOpenPickerActivatedEventArgs.Kind
FileSavePickerActivatedEventArgs.Kind
LaunchActivatedEventArgs.Kind
LockScreenActivatedEventsArg.Kind
PrintTaskSettingsActivatedEventArgs.Kind
ProtocolActivatedEventArgs.Kind
SearchActivatedEventArgs.Kind
ShareTargetActivatedEventArgs.Kind
Reference (JavaScript)
WebUICachedFileUpdaterActivatedEventArgs.kind
WebUICameraSettingsActivatedEventArgs.kind
WebUIContactPickerActivatedEventArgs.kind
WebUIDeviceActivatedEventArgs.kind
WebUIFileActivatedEventArgs.kind
WebUIFileOpenPickerActivatedEventArgs.kind
WebUIFileSavePickerActivatedEventArgs.kind
WebUILaunchActivatedEventArgs.kind
WebUIPrintTaskSettingsActivatedEventArgs.kind
WebUIProtocolActivatedEventArgs.kind
WebUISearchActivatedEventArgs.kind
WebUIShareTargetActivatedEventArgs.kind

 

 

Show:
© 2015 Microsoft