public final class

LightSettingsColor

extends Object
java.lang.Object
   ↳ com.google.firebase.messaging.LightSettingsColor

Class Overview

A class representing color in LightSettings.

Summary

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

Public Constructors

public LightSettingsColor (float red, float green, float blue, float alpha)

Creates a new LightSettingsColor using the given red, green, blue, and alpha values.

Parameters
red The red component.
green The green component.
blue The blue component.
alpha The alpha component.

Public Methods

public static LightSettingsColor fromString (String rrggbb)

Creates a new LightSettingsColor with a string. Alpha of the color will be set to 1.

Parameters
rrggbb LightSettingsColor specified in the #rrggbb format.
Returns