Expand Minimize

VideoDeviceController.BacklightCompensation | backlightCompensation property

Applies to Windows and Windows Phone

Specifies whether back-light compensation is enabled on the camera.

Syntax


Public ReadOnly Property BacklightCompensation As MediaDeviceControl

Property value

Type: MediaDeviceControl

A MediaDeviceControl object that provides methods to get and set the back-light compensation.

Remarks

If the value is 1, back-light compensation is enabled. If the value is 0, back-light compensation is disabled.

Examples

The following example shows how to get the value of this property.


// Determine if backlight compensation is enabled.
function getBacklightComp () {
    var mediaDevice = new Windows.Media.Capture.MediaCapture();
    var videoDev = mediaDevice.videoDeviceController;

    if (videoDev.backlightCompensation)
    {
        // Notify the user that backlight compensation is enabled.
    }
}


Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Media.Devices
Windows::Media::Devices [C++]

Metadata

Windows.winmd

See also

VideoDeviceController

 

 

Show:
© 2014 Microsoft