PolyOs API
PolyOs API
/
com.poly.polyos.system
/
LightAnimation
Light
Animation
open
class
LightAnimation
Content copied to clipboard
Represents the configuration parameters for an LED light animation.
Properties
Properties
animation
Link copied to clipboard
open
val
animation
:
LightAnimationStyle
Content copied to clipboard
The style of the LED animation as defined by the AnimationStyle enum.
offDurationMillis
Link copied to clipboard
open
val
offDurationMillis
:
Int
Content copied to clipboard
The duration in milliseconds for which the LED remains off during one cycle of the animation.
onDurationMillis
Link copied to clipboard
open
val
onDurationMillis
:
Int
Content copied to clipboard
The duration in milliseconds for which the LED remains on during one cycle of the animation.