Click or drag to resize

CresnetBridgeHelperLightDeviceBySpecifiedTouchSettableId Method

Function to enable Light And Poll on a specific device based on the touch settable Id. When StopLightAndPoll is called the call back will get called with a list of the devices that had a button pressed when cresnet bridge was in light and poll mode. This function can be called more than once to add more callbacks to be called when StopLightAndPoll is called.

Namespace: Crestron.SimplSharpPro.DeviceSupport
Assembly: Crestron.SimplSharpPro.DeviceSupport (in Crestron.SimplSharpPro.DeviceSupport.dll) Version: 2.21.121
Syntax
C#
public CrestronCresnetHelpereCresnetDiscoveryReturnValues LightDeviceBySpecifiedTouchSettableId(
	uint touchSettableID,
	CrestronCresnetHelperLightAndPollDeviceFunctionDelegate callbackFunction
)

Parameters

touchSettableID  UInt32
Touch Settable Id for the specific device to light
callbackFunction  CrestronCresnetHelperLightAndPollDeviceFunctionDelegate
User specified callback which is invoked when the device is taken out of Light and poll mode.

Return Value

CrestronCresnetHelpereCresnetDiscoveryReturnValues
eCresnetDiscoveryReturnValues Enum indicating failure or success
Remarks
Please ensure that only a single instance of the LightAllDevices(CrestronCresnetHelperLightAndPollDeviceFunctionDelegate) or LightDeviceBySpecifiedTouchSettableId is being called at any given time. If not the outcome is nondeterministic. This requires firmware version 1.011.0014 and higher.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also