LightSettings interface

Represents settings to control notification LED that can be included in AndroidNotification.

Signature:

export interface LightSettings 

Properties

Property Type Description
color string Required. Sets color of the LED in #rrggbb or #rrggbbaa format.
lightOffDurationMillis number Required. Along with light_on_duration, defines the blink rate of LED flashes.
lightOnDurationMillis number Required. Along with light_off_duration, defines the blink rate of LED flashes.

LightSettings.color

Required. Sets color of the LED in #rrggbb or #rrggbbaa format.

Signature:

color: string;

LightSettings.lightOffDurationMillis

Required. Along with light_on_duration, defines the blink rate of LED flashes.

Signature:

lightOffDurationMillis: number;

LightSettings.lightOnDurationMillis

Required. Along with light_off_duration, defines the blink rate of LED flashes.

Signature:

lightOnDurationMillis: number;