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 FlashSettings.duration to 1 second and use default FlashSettings.maxIntensity and FlashSettings.litMode:
ts<br> const settings = new FlashSettings({ duration: BeDuration.fromSeconds(1) });<br>

Returns - FlashSettings

Defined in

Last Updated: 20 June, 2023