Click or drag to resize

CresnetBridgeHelperLightAllDevices Method

Function to enable Light And Poll on all devices on the cresnet bridge. 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 LightAllDevices(
	CrestronCresnetHelperLightAndPollDeviceFunctionDelegate callbackFunction
)

Parameters

callbackFunction  CrestronCresnetHelperLightAndPollDeviceFunctionDelegate
User specified callback which is invoked when devices are 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 LightDeviceBySpecifiedTouchSettableId(UInt32, CrestronCresnetHelperLightAndPollDeviceFunctionDelegate) or LightAllDevices 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