buildOudsAnnotatedAlertMessageDescription

Creates an OudsAnnotatedAlertMessageDescription using a builder DSL.

Example:

val description = buildOudsAnnotatedAlertMessageDescription {
withStrong { append("Note:") }
append(" Your data will be encrypted and stored securely. ")
append("For more details, see our ")
withLink(OudsLinkAnnotation.Url("https://example.com/privacy")) {
append("privacy policy")
}
}

Return

The constructed annotated alert message description.

Parameters

builder

Lambda with receiver for building the annotated string.