OudsAnnotatedAlertMessageBulletListLabel
class OudsAnnotatedAlertMessageBulletListLabel : OudsAnnotatedString<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
)Content copied to clipboard
Types
Link copied to clipboard
class Builder(capacity: Int = 16) : OudsAnnotatedString.Builder<OudsAnnotatedAlertMessageBulletListLabel> , OudsAnnotatedString.StrongBuilder, OudsAnnotatedString.LinkBuilder
Builder for creating OudsAnnotatedAlertMessageBulletListLabel with strong text and link formatting.
Properties
Functions
Link copied to clipboard
fun capitalize(localeList: LocaleList = LocaleList.current): OudsAnnotatedString<OudsAnnotatedAlertMessageBulletListLabel>
Create capitalized OudsAnnotatedString.
Link copied to clipboard
fun decapitalize(localeList: LocaleList = LocaleList.current): OudsAnnotatedString<OudsAnnotatedAlertMessageBulletListLabel>
Create decapitalized OudsAnnotatedString.
Link copied to clipboard
operator fun plus(other: OudsAnnotatedString<OudsAnnotatedAlertMessageBulletListLabel>): OudsAnnotatedString<OudsAnnotatedAlertMessageBulletListLabel>
Concatenates this annotated string with another annotated string.
Link copied to clipboard
Link copied to clipboard
fun toLowerCase(localeList: LocaleList = LocaleList.current): OudsAnnotatedString<OudsAnnotatedAlertMessageBulletListLabel>
Create lower case transformed OudsAnnotatedString.
Link copied to clipboard
fun toUpperCase(localeList: LocaleList = LocaleList.current): OudsAnnotatedString<OudsAnnotatedAlertMessageBulletListLabel>
Create upper case transformed OudsAnnotatedString.