SceneModeControl SceneModeControl SceneModeControl SceneModeControl Class

Provides functionality for controlling the scene mode settings on a capture device.

Syntax

Declaration

public sealed class SceneModeControlpublic sealed class SceneModeControlPublic NotInheritable Class SceneModeControlpublic sealed class SceneModeControl

Remarks

The SceneModeControl enables apps to tune the post-processing of captured frames to better match the scene being recorded. The SupportedModes enumeration specifies the modes, such as CaptureSceneMode, CaptureSceneMode, and CaptureSceneMode, that are supported by the device.

To select a mode, call SetValueAsync(CaptureSceneMode).

You can access the SceneModeControl for the capture device through VideoDeviceController.

Properties summary

Gets the scene modes supported on the capture device.

Gets the current scene mod ethe capture device is set to.

Methods summary

Asynchronously sets the color temperature Value.

Properties

  • SupportedModes
    SupportedModes
    SupportedModes
    SupportedModes

    Gets the scene modes supported on the capture device.

    public IVectorView<CaptureSceneMode> SupportedModes { get; }public IVectorView<CaptureSceneMode> SupportedModes { get; }Public ReadOnly Property SupportedModes As IVectorView<CaptureSceneMode>public IVectorView<CaptureSceneMode> SupportedModes { get; }

    Property Value

    • The supported scene modes.

  • Value
    Value
    Value
    Value

    Gets the current scene mod ethe capture device is set to.

    public CaptureSceneMode Value { get; }public CaptureSceneMode Value { get; }Public ReadOnly Property Value As CaptureSceneModepublic CaptureSceneMode Value { get; }

    Property Value

    Remarks

    To set this property, call SetValueAsync(CaptureSceneMode).

Methods

  • SetValueAsync(CaptureSceneMode)
    SetValueAsync(CaptureSceneMode)
    SetValueAsync(CaptureSceneMode)
    SetValueAsync(CaptureSceneMode)

    Asynchronously sets the color temperature Value.

    public IAsyncAction SetValueAsync(CaptureSceneMode sceneMode)public IAsyncAction SetValueAsync(CaptureSceneMode sceneMode)Public Function SetValueAsync(sceneMode As CaptureSceneMode) As IAsyncActionpublic IAsyncAction SetValueAsync(CaptureSceneMode sceneMode)

    Parameters

    Returns

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ThreadingAttribute

Details

Assembly

Windows.Media.Devices.dll