![2N Indoor Touch Скачать руководство пользователя страница 12](http://html1.mh-extra.com/html/2n/indoor-touch/indoor-touch_api-manual_3088993012.webp)
2N TELEKOMUNIKACE a.s., www.2n.cz
12/42
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
3.3.1.6 Effect Enable
int
IndoorTouch.LedsEffectsEnable(
boolean
enable);
Effects are enabled by default. If disabled, effect activation is ignored and all the
effects
are
switched
off
except
for
display
backlight
notification.
The return value is as follows:
IndoorTouch.RC_OK = 0;
IndoorTouch.RC_ERR_CONN = -1; API daemon connection error
3.3.1.7 Display Backlight Notification
int
IndoorTouch.LedsEnableBacklightNotification(
boolean
enable);
If enabled, the blue LED is displayed when the display is switched off (switched into
t h e
s l e e p
m o d e ) .
The return value is as follows:
IndoorTouch.RC_OK = 0;
IndoorTouch.RC_ERR_CONN = -1; API daemon connection error