FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kLight_SetControl ( kLight  light,
kLightControl  type 
)

Sets the control mode of the light.

For control modes that suppport multiple sources (e.g. kLIGHT_CONTROL_TRIGGERED_BY_EVENT), use the kLight_SetControlId function to specify a specific source.

Parameters
lightLight object.
typeLight control mode.
Returns
Operation status.