Added in API level 26

HtmlInfo

abstract class HtmlInfo
kotlin.Any
   ↳ android.view.ViewStructure.HtmlInfo

Simplified representation of the HTML properties of a node that represents an HTML element.

Summary

Nested classes
abstract

Builder for HtmlInfo objects.

Public constructors

Public methods
abstract MutableList<Pair<String!, String!>!>?

Gets the list of HTML attributes.

abstract String

Gets the HTML tag.

Public constructors

HtmlInfo

HtmlInfo()

Public methods

getAttributes

Added in API level 26
abstract fun getAttributes(): MutableList<Pair<String!, String!>!>?

Gets the list of HTML attributes.

Return
MutableList<Pair<String!, String!>!>? list of key/value pairs; could contain pairs with the same keys. This value may be null.

getTag

Added in API level 26
abstract fun getTag(): String

Gets the HTML tag.

Return
String This value cannot be null.