Dela via


CameraSettingsActivatedEventArgs.Kind Property

Definition

Gets the activation type.

public:
 property ActivationKind Kind { ActivationKind get(); };
ActivationKind Kind();
public ActivationKind Kind { get; }
var activationKind = cameraSettingsActivatedEventArgs.kind;
Public ReadOnly Property Kind As ActivationKind

Property Value

One of the enumeration values.

Implements

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 UWP app.

Applies to

See also