Delen via


WebUICameraSettingsActivatedEventArgs Class

Definition

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

public ref class WebUICameraSettingsActivatedEventArgs sealed : IActivatedEventArgs, ICameraSettingsActivatedEventArgs, IActivatedEventArgsDeferral
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Activation.ActivationCameraSettingsContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
class WebUICameraSettingsActivatedEventArgs final : IActivatedEventArgs, ICameraSettingsActivatedEventArgs, IActivatedEventArgsDeferral
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Activation.ActivationCameraSettingsContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
public sealed class WebUICameraSettingsActivatedEventArgs : IActivatedEventArgs, ICameraSettingsActivatedEventArgs, IActivatedEventArgsDeferral
Public NotInheritable Class WebUICameraSettingsActivatedEventArgs
Implements IActivatedEventArgs, IActivatedEventArgsDeferral, ICameraSettingsActivatedEventArgs
Inheritance
Object Platform::Object IInspectable WebUICameraSettingsActivatedEventArgs
Attributes
Implements

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.ApplicationModel.Activation.ActivationCameraSettingsContract (introduced in v1.0)

Remarks

This object is accessed when you implement an event handler for the WinJS.Application.Onactivated or the Windows.UI.WebUI.WebUIApplication.activated events when ActivationKind is cameraSettings.

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.

Note

This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX).

Properties

ActivatedOperation

Gets the app activated operation.

Kind

Gets the activation type.

PreviousExecutionState

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

SplashScreen

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

VideoDeviceController

Gets the object that controls device settings on the camera.

VideoDeviceExtension

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

Applies to