RcMessageFragment

data class RcMessageFragment(val content: String, val type: MessageFragmentType, val colorrgb: String?, val backgroundcolorrgb: String?)

RcMessageFragment is part of the RealityCheckMessage, more specifically RealityCheckMessage.rcMessageFragments which is a lists of this object.
It contains a part of the message from the RealityCheckMessage.loginText.
And it contains information on how the text should be displayed to the user using MessageFragmentType.

Constructors

Link copied to clipboard
constructor(content: String, type: MessageFragmentType, colorrgb: String?, backgroundcolorrgb: String?)

Properties

Link copied to clipboard

this is the background color of the test. only use if its part of the design requirements.

Link copied to clipboard

this is the color of the text if the test is supposed to be colored a specific way. use it if its part of the design requirements

Link copied to clipboard

this is part of the loginText that is returned from the server. It is a part of the total message that should be displayed to the user.

Link copied to clipboard

this is either text or bold. It is used to determine how the content should be displayed to the user.