LightSettings interface Stay organized with collections Save and categorize content based on your preferences.
Represents settings to control notification LED that can be included inAndroidNotification.
Signature:
exportinterfaceLightSettingsProperties
| Property | Type | Description |
|---|---|---|
| color | string | Required. Sets color of the LED in#rrggbb or#rrggbbaa format. |
| lightOffDurationMillis | number | Required. Along withlight_on_duration, defines the blink rate of LED flashes. |
| lightOnDurationMillis | number | Required. Along withlight_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 withlight_on_duration, defines the blink rate of LED flashes.
Signature:
lightOffDurationMillis:number;LightSettings.lightOnDurationMillis
Required. Along withlight_off_duration, defines the blink rate of LED flashes.
Signature:
lightOnDurationMillis:number;Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-07-29 UTC.