Button

public class Button


Encapsulates any button used in a Firebase In App Message.

Summary

Public fields

final @NonNull String
final @NonNull Text

!!!!!WARNING!!!!! We are overriding equality in this class.

Public methods

@NonNull String

Gets the background hex color associated with this button

@NonNull Text

Gets the Text associated with this button

Public fields

buttonHexColor

public final @NonNull String buttonHexColor

text

public final @NonNull Text text

!!!!!WARNING!!!!! We are overriding equality in this class. Please add equality checks for all new private class members.

Public methods

getButtonHexColor

public @NonNull String getButtonHexColor()

Gets the background hex color associated with this button

getText

public @NonNull Text getText()

Gets the Text associated with this button