Shade
Toggle table of contents
latest
common
Target filter
common
Switch theme
Search in API
Skip to content
Shade
lights
/
inkapplications.shade.lights.parameters
/
TimedEffectsParameters
Timed
Effects
Parameters
@
Serializable
data
class
TimedEffectsParameters
(
val
effect
:
TimedLightEffect
?
=
null
,
val
duration
:
Duration
?
=
null
)
Basic feature containing timed effect properties.
Members
Constructors
Timed
Effects
Parameters
Link copied to clipboard
constructor
(
effect
:
TimedLightEffect
?
=
null
,
duration
:
Duration
?
=
null
)
Properties
duration
Link copied to clipboard
@
Serializable
(
with
=
MillisecondDurationSerializer::class
)
val
duration
:
Duration
?
effect
Link copied to clipboard
val
effect
:
TimedLightEffect
?
Effect to set the light to.