Share via


ExtendedActivationKind Enum

Definition

Defines values that represent activation types.

public enum class ExtendedActivationKind
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.Version(1)]
enum class ExtendedActivationKind
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.AppLifecycle.AppLifecycleContract, 65536)]
enum class ExtendedActivationKind
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.Version(1)]
public enum ExtendedActivationKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.AppLifecycle.AppLifecycleContract), 65536)]
public enum ExtendedActivationKind
var value = Microsoft.Windows.AppLifecycle.ExtendedActivationKind.launch
Public Enum ExtendedActivationKind
Inheritance
ExtendedActivationKind
Attributes

Fields

Name Value Description
Launch 0

The user launched the app or tapped a content tile.

1

The user wants to search with the app.

ShareTarget 2

The app is activated as a target for share operations.

File 3

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

Protocol 4

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

FileOpenPicker 5

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

FileSavePicker 6

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

CachedFileUpdater 7

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

ContactPicker 8

The user wants to pick contacts.

Device 9

The app handles AutoPlay.

PrintTaskSettings 10

The app handles print tasks.

CameraSettings 11

The app captures photos or video from an attached camera.

RestrictedLaunch 12

The user launched the restricted app.

AppointmentsProvider 13

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

Contact 14

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

LockScreenCall 15

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 16

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

LockScreen 17

The app was activated as the lock screen.

PickerReturned 1000

Not supported. The app was activated after the completion of a picker.

WalletAction 1001

Not supported. The app was activated to perform a Wallet operation.

PickFileContinuation 1002

Not supported. The app was activated after the app was suspended for a file picker operation.

PickSaveFileContinuation 1003

Not supported. The app was activated after the app was suspended for a file save picker operation.

PickFolderContinuation 1004

Not supported. The app was activated after the app was suspended for a folder picker operation.

WebAuthenticationBrokerContinuation 1005

Not supported. The app was activated after the app was suspended for a web authentication broker operation.

WebAccountProvider 1006

The app was activated by a web account provider.

ComponentUI 1007

Reserved for system use.

ProtocolForResults 1009

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

ToastNotification 1010

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

Print3DWorkflow 1011

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

DialReceiver 1012

This app was launched by another app on a different device by using the DIAL protocol.

DevicePairing 1013

This app was activated as a result of pairing a device.

UserDataAccountsProvider 1014

The app was launched to handle the user interface for account management. In circumstances where the system would have shown the default system user interface, it instead has invoked your app with the UserDataAccountProvider contract. The activation payload contains information about the type of operation being requested and all the information necessary to replicate the system-provided user interface. This activation kind is limited to 1st party apps. To use this field, you must add the userDataAccountsProvider capability in your app's package manifest. For more info see App capability declarations.

FilePickerExperience 1015

Reserved for system use.

LockScreenComponent 1016

Reserved for system use.

ContactPanel 1017

The app was launched from the My People UI.

PrintWorkflowForegroundTask 1018

The app was activated because the user is printing to a printer that has a Print Workflow App associated with it which has requested user input.

GameUIProvider 1019

The app was activated because it was launched by the OS due to a request for game-specific UI.

StartupTask 1020

The app was activated because the app is specified to launch at system startup or user log-in.

CommandLineLaunch 1021

The app was launched from the command line.

BarcodeScannerProvider 1022

The app was activated as a barcode scanner provider.

PrintSupportJobUI 1023

The app was activated as print support job UI.

PrintSupportSettingsUI 1024

The app was activated as print support settings UI.

PhoneCallActivation 1025

The app was activated by a phone call.

VpnForeground 1026

The app was activated as a VPN app in the foreground.

Push 5000

The app was activated by a push notification.

AppNotification 5001

The app was activated by an app notification.

Remarks

This enum is used by the Kind property.

Applies to

See also