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

Sets the light control mode.

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

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