Share via


INuiColorCameraSettings::SetPowerLineFrequency Method

Kinect for Windows 1.6, 1.7, 1.8

Sets the power line frequency. The range is determined by a value in the NUI_POWER_LINE_FREQUENCY enumeration; the default value is NUI_POWER_LINE_FREQUENCY_DISABLED.

Syntax

public:
HRESULT SetPowerLineFrequency(
         NUI_POWER_LINE_FREQUENCY PowerLineFrequency
)

Parameters

  • PowerLineFrequency
    Type: NUI_POWER_LINE_FREQUENCY
    The power line frequency.

Return Value

Type: HRESULT
Returns S_OK if successful; otherwise, returns a failure code.

Requirements

Header: Declared in nuisensor.h.