3.3.1.5 Effect Existence
int IndoorTouch.LedsEffectExists(String effectName, int existence);
Returns the effect existence effectName in the selected existence database:
- LED_EFFECT_EXISTENCE_ACTIVE: active effects
- LED_EFFECT_EXISTENCE_DEFINED: defined effect vectors
The return value is as follows:
- IndoorTouch.RC_OK = 0;
- IndoorTouch.RC_ERR_CONN = -1; API daemon connection error
- IndoorTouch.RC_ERR_NOTEXIST = -4; the effect name does not exist in the selected database