Join us for ⁠#Android11: The Beta Launch Show on June 3!
Added in API level R

Link

open class Link : AbstractMessageParser.Token
kotlin.Any
   ↳ com.google.android.util.AbstractMessageParser.Token
   ↳ com.google.android.util.AbstractMessageParser.Link

Represents a link that was found in the input.

Summary

Public constructors

<init>(url: String!, text: String!)

Public methods

open MutableList<String!>!

open String!

open Boolean

Inherited functions

Inherited properties

Public constructors

<init>

Added in API level R
Link(
    url: String!,
    text: String!)

Public methods

getInfo

Added in API level R
open fun getInfo(): MutableList<String!>!
Return
MutableList<String!>! a list of strings representing the token, not null The first item is always a string representation of the type

getURL

Added in API level R
open fun getURL(): String!

isHtml

Added in API level R
open fun isHtml(): Boolean