constructor Method

Construct new flash settings.

FlashSettings(options?: Mutable<Partial<FlashSettings>>): FlashSettings

Parameter Type Description
options Mutable<Partial<FlashSettings>> If supplied, overrides specified default values.
Example: to change duration to 1 second and use default maxIntensity and litMode:
ts<br> const settings = new FlashSettings({ duration: BeDuration.fromSeconds(1) });<br>

Returns - FlashSettings

Defined in

Last Updated: 17 December, 2024