CameraSettingsActivatedEventArgs CameraSettingsActivatedEventArgs CameraSettingsActivatedEventArgs CameraSettingsActivatedEventArgs Class

Definition

Enables a camera settings app to handle the activation parameters for the app.

JavaScript This type appears as WebUICameraSettingsActivatedEventArgs.

public : sealed class CameraSettingsActivatedEventArgs : IActivatedEventArgs, ICameraSettingsActivatedEventArgs
public sealed class CameraSettingsActivatedEventArgs : IActivatedEventArgs, ICameraSettingsActivatedEventArgs
Public NotInheritable Class CameraSettingsActivatedEventArgs Implements IActivatedEventArgs, ICameraSettingsActivatedEventArgs
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0)
API contract
Windows.ApplicationModel.Activation.ActivationCameraSettingsContract (introduced v1)

Properties

Kind Kind Kind Kind

Gets the activation type.

public : ActivationKind Kind { get; }
public ActivationKind Kind { get; }
Public ReadOnly Property Kind As ActivationKind
var activationKind = cameraSettingsActivatedEventArgs.kind;
Value
ActivationKind ActivationKind ActivationKind 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 UWP app.

See Also

PreviousExecutionState PreviousExecutionState PreviousExecutionState PreviousExecutionState

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

public : ApplicationExecutionState PreviousExecutionState { get; }
public ApplicationExecutionState PreviousExecutionState { get; }
Public ReadOnly Property PreviousExecutionState As ApplicationExecutionState
var applicationExecutionState = cameraSettingsActivatedEventArgs.previousExecutionState;

SplashScreen SplashScreen SplashScreen SplashScreen

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

public : SplashScreen SplashScreen { get; }
public SplashScreen SplashScreen { get; }
Public ReadOnly Property SplashScreen As SplashScreen
var splashScreen = cameraSettingsActivatedEventArgs.splashScreen;
Value
SplashScreen SplashScreen SplashScreen SplashScreen

The object that provides splash screen information.

VideoDeviceController VideoDeviceController VideoDeviceController VideoDeviceController

Gets the object that controls device settings on the camera.

public : Platform::Object VideoDeviceController { get; }
public object VideoDeviceController { get; }
Public ReadOnly Property VideoDeviceController As object
var object = cameraSettingsActivatedEventArgs.videoDeviceController;
Value
Platform::Object object object object

The object that controls device settings on the camera.

Remarks

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.

VideoDeviceExtension VideoDeviceExtension VideoDeviceExtension VideoDeviceExtension

Gets the object that implements additional extended settings for the camera.

public : Platform::Object VideoDeviceExtension { get; }
public object VideoDeviceExtension { get; }
Public ReadOnly Property VideoDeviceExtension As object
var object = cameraSettingsActivatedEventArgs.videoDeviceExtension;
Value
Platform::Object object object object

An object implementing extended settings for the camera.

Remarks

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.

See Also