| java.lang.Object | |
| ↳ | com.google.firebase.messaging.LightSettingsColor |
A class representing color in LightSettings.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
LightSettingsColor(float red, float green, float blue, float alpha)
Creates a new
LightSettingsColor using the given red, green, blue, and
alpha values. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static LightSettingsColor |
fromString(String rrggbb)
Creates a new
LightSettingsColor with a string. | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates a new LightSettingsColor using the given red, green, blue, and
alpha values.
| red | The red component. |
|---|---|
| green | The green component. |
| blue | The blue component. |
| alpha | The alpha component. |
Creates a new LightSettingsColor with a string. Alpha of the color will be
set to 1.
| rrggbb | LightSettingsColor specified in the #rrggbb format. |
|---|
LightSettingsColor instance.