| java.lang.Object | |
| ↳ | com.google.firebase.messaging.LightSettings.Builder |
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| LightSettings |
build()
Builds a new
LightSettings instance from the fields set on this builder. | ||||||||||
| LightSettings.Builder |
setColor(LightSettingsColor color)
Sets the lightSettingsColor value in the light settings.
| ||||||||||
| LightSettings.Builder |
setColorFromString(String color)
Sets the lightSettingsColor value with a string.
| ||||||||||
| LightSettings.Builder |
setLightOffDurationInMillis(long lightOffDurationInMillis)
Sets the light off duration in milliseconds.
| ||||||||||
| LightSettings.Builder |
setLightOnDurationInMillis(long lightOnDurationInMillis)
Sets the light on duration in milliseconds.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Builds a new LightSettings instance from the fields set on this builder.
LightSettings.| IllegalArgumentException | If the volume value is out of range. |
|---|
Sets the lightSettingsColor value in the light settings.
| color | Color to be used in the light settings. |
|---|
Sets the lightSettingsColor value with a string.
| color | LightSettingsColor specified in the #rrggbb format. |
|---|
Sets the light off duration in milliseconds.
| lightOffDurationInMillis | The time duration in milliseconds for the LED light to be off. |
|---|
Sets the light on duration in milliseconds.
| lightOnDurationInMillis | The time duration in milliseconds for the LED light to be on. |
|---|