LightAnimation

open class LightAnimation

Represents the configuration parameters for an LED light animation.

Properties

Link copied to clipboard
open val animation: LightAnimationStyle
The style of the LED animation as defined by the AnimationStyle enum.
Link copied to clipboard
open val offDurationMillis: Int
The duration in milliseconds for which the LED remains off during one cycle of the animation.
Link copied to clipboard
open val onDurationMillis: Int
The duration in milliseconds for which the LED remains on during one cycle of the animation.