LERGBLight Class Reference
Inherits from | LEService : NSObject |
Declared in | LERGBLight.h |
Tasks
Other Methods
-
absoluteModeIndex
property -
discreteModeIndex
property -
rgbMode
property -
– switchToDefaultColor
-
defaultColor
property -
defaultColorIndex
property -
– switchOff
Mode LEModeAbsolute
Mode LEModeDiscrete
-
colorIndex
property -
oldColorIndex
property
Properties
absoluteModeIndex
The index of the Absolute mode
@property (nonatomic, readonly) uint8_t absoluteModeIndex
Discussion
The index of the Absolute mode
Declared In
LERGBLight.h
color
The color of the RGB light on the device.
@property (nonatomic, strong) CIColor *color
Discussion
The color of the RGB light on the device.
Declared In
LERGBLight.h
colorIndex
The index of the currently selected color
@property (nonatomic, readwrite) NSUInteger colorIndex
Discussion
The index of the currently selected color
Declared In
LERGBLight.h
defaultColor
The default color of the RGB, when in mode LERGBModeAbsolute
@property (nonatomic, readonly) CIColor *defaultColor
Discussion
The default color of the RGB, when in mode LERGBModeAbsolute
Declared In
LERGBLight.h
defaultColorIndex
The default color index of the RGB, when in mode LERGBModeDiscrete
@property (nonatomic, readonly) NSUInteger defaultColorIndex
Discussion
The default color index of the RGB, when in mode LERGBModeDiscrete
Declared In
LERGBLight.h
discreteModeIndex
The index of the Discrete mode
@property (nonatomic, readonly) uint8_t discreteModeIndex
Discussion
The index of the Discrete mode
Declared In
LERGBLight.h
oldColor
The old color of the RGB light on the device - needed in order for the color value to reflect the latest value
@property (nonatomic, strong) CIColor *oldColor
Discussion
The old color of the RGB light on the device - needed in order for the color value to reflect the latest value
Declared In
LERGBLight.h
oldColorIndex
The old color index of the RGB light on the device - needed in order for the color index value to reflect the latest value
@property (nonatomic, readwrite) NSUInteger oldColorIndex
Discussion
The old color index of the RGB light on the device - needed in order for the color index value to reflect the latest value
Declared In
LERGBLight.h
Instance Methods
switchOff
Switch off the RGB light on the device
- (void)switchOff
Discussion
Switch off the RGB light on the device
Declared In
LERGBLight.h
switchToDefaultColor
Switch to the default Color (i.e. the same color as the device has right after a successful connection has been established)
- (void)switchToDefaultColor
Discussion
Switch to the default Color (i.e. the same color as the device has right after a successful connection has been established)
Declared In
LERGBLight.h