SupportedTargets()
call retrieves the
supported light targets of the device.
Note: Any attempt to use or reserve unsupported target fails with
KErrNotSupported
.The following code snippet demonstrates how to retrieve the supported light targets of a device:
// The method returns a bitmask containing supported light targets. TInt supportedTargets = iLight->SupportedTargets();