UrlAnnotation

Added in 1.3.0
Deprecated in 1.7.0

An annotation that contains the metadata intended for text-to-speech engine. If the text is being processed by a text-to-speech engine, the engine may use the data in this annotation in addition to or instead of its associated text.

Note: this is now deprecated. In order to display a link in the text, add a LinkAnnotation to the AnnotatedString and pass it to the Text composable function

Summary

Public constructors

This function is deprecated. Use LinkAnnotatation.Url(url) instead

Cmn

Public functions

open operator Boolean
equals(other: Any?)

This function is deprecated. Use LinkAnnotatation.Url(url) instead

Cmn
open Int

This function is deprecated. Use LinkAnnotatation.Url(url) instead

Cmn
open String

This function is deprecated. Use LinkAnnotatation.Url(url) instead

Cmn

Public properties

String

This property is deprecated. Use LinkAnnotatation.Url(url) instead

Cmn

Public constructors

UrlAnnotation

UrlAnnotation(url: String)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

url

val urlString