Retrieving the supported targets

Retrieve the supported light targets by calling SupportedTargets(). The function returns with a bitmask of the supported lights on the device.

The following code snippet demonstrates how to retrieve the supported targets:

TInt supportedlights = iLight->SupportedTargets();