TwclWiiRemoteClientConnection.SetIrSensitivity(TwclWiiRemoteIrSensitivity) Method

Sets IR IR sensor sensitivity (and turns it ON or OFF).

Namespace: wclBluetooth
public
 function SetIrSensitivity(
 const Sensitivity: TwclWiiRemoteIrSensitivity): Integer;

Parameters

Sensitivity
Type: TwclWiiRemoteIrSensitivity

The IR sensor sensitivity.

Return Value

Type: Integer

If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.