OudsAnnotatedAlertMessageBulletListLabel

An annotated string for bullet list items within alert messages.

This class supports both strong (bold/emphasized) text and clickable links to create rich, interactive bullet points in alert messages. It is used by com.orange.ouds.core.component.OudsAlertMessage component.

Use buildOudsAnnotatedAlertMessageBulletListLabel to create instances:

val bulletList = listOf(
buildOudsAnnotatedAlertMessageBulletListLabel {
withStrong { append("Data security:") }
append(" Your information will be encrypted")
},
buildOudsAnnotatedAlertMessageBulletListLabel {
append("For more information, visit our ")
withLink(OudsLinkAnnotation.Url("https://help.example.com")) {
append("help center")
}
}
)

OudsAlertMessage(
label = "Important information",
bulletList = bulletList
)

Types

Properties

Link copied to clipboard
open override val length: Int
Link copied to clipboard

The plain text content without any formatting annotations.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open operator override fun get(index: Int): Char
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Concatenates this annotated string with another annotated string.

Link copied to clipboard
open override fun subSequence(startIndex: Int, endIndex: Int): CharSequence
Link copied to clipboard

Create lower case transformed OudsAnnotatedString.

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard

Create upper case transformed OudsAnnotatedString.