Windows Dev Center

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.

CameraSettingsActivatedEventArgs.Kind property

Gets the activation type.

Syntax


public ActivationKind Kind { get; }

Property value

Type: ActivationKind

One of the enumeration values.

Remarks

If Kind is CameraSettings, the app should open using a flyout. If Kind is Launched, it should open full-screen.

Note  Do not declare device capabilities for webcam or location. Those capabilities will cause a prompt for permissions to appear, which will obstruct the UI in your Windows Store app.

Requirements (Windows 10 device family)

Device family

Desktop

API contract

Windows.ApplicationModel.Activation.ActivationCameraSettingsContract, introduced version 1.0

Namespace

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

Metadata

Windows.ApplicationModel.Activation.ActivationCameraSettingsContract.winmd

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

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

See also

CameraSettingsActivatedEventArgs
Windows Store device app for camera sample
Developing Windows Store device apps for cameras

 

 

Show:
© 2015 Microsoft