CameraSettingsActivatedEventArgs CameraSettingsActivatedEventArgs CameraSettingsActivatedEventArgs CameraSettingsActivatedEventArgs Class

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

JavaScript This type appears as WebUICameraSettingsActivatedEventArgs.

Syntax

Declaration

public sealed class CameraSettingsActivatedEventArgspublic sealed class CameraSettingsActivatedEventArgsPublic NotInheritable Class CameraSettingsActivatedEventArgspublic sealed class CameraSettingsActivatedEventArgs

Properties summary

Gets the activation type.

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

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

Gets the object that controls device settings on the camera.

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

Properties

  • Kind
    Kind
    Kind
    Kind

    Gets the activation type.

    public ActivationKind Kind { get; }public ActivationKind Kind { get; }Public ReadOnly Property Kind As ActivationKindpublic ActivationKind Kind { get; }

    Property Value

    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.

  • 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 ApplicationExecutionStatepublic ApplicationExecutionState PreviousExecutionState { get; }

    Property Value

  • 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 SplashScreenpublic SplashScreen SplashScreen { get; }

    Property Value

  • VideoDeviceController
    VideoDeviceController
    VideoDeviceController
    VideoDeviceController

    Gets the object that controls device settings on the camera.

    public object VideoDeviceController { get; }public object VideoDeviceController { get; }Public ReadOnly Property VideoDeviceController As objectpublic object VideoDeviceController { get; }

    Property Value

    • 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 Windows Store app.

  • VideoDeviceExtension
    VideoDeviceExtension
    VideoDeviceExtension
    VideoDeviceExtension

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

    public object VideoDeviceExtension { get; }public object VideoDeviceExtension { get; }Public ReadOnly Property VideoDeviceExtension As objectpublic object VideoDeviceExtension { get; }

    Property Value

    • 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 Windows Store app.

Device family

Windows Desktop Extension SDK (introduced v10.0.10240.0)

API contract

Windows.ApplicationModel.Activation.ActivationCameraSettingsContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute

Details

Assembly

Windows.ApplicationModel.Activation.dll