Skip to content

ViewAttributesProvider

Xavier F. Gouchet edited this page Sep 4, 2024 · 1 revision

interface ViewAttributesProvider

Provides the extra attributes for the as Map<String,Any?>.

Functions

extractAttributes

abstract fun extractAttributes(view: View, attributes: MutableMap<String, Any?>)

Add extra attributes to the default attributes Map.

Parameters
view the View.
attributes the default attributes Map. Usually this contains some default attributes which are determined and added by the SDK. Please make sure you do not override any of these reserved attributes.
See also
RumAttributes.TAG_TARGET_RESOURCE_ID
RumAttributes.TAG_TARGET_CLASS_NAME
Clone this wiki locally