# ModifiersBuilders.ElementMetadata

Artifact: [androidx.wear.protolayout:protolayout](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/ModifiersBuilders.java+class:androidx.wear.protolayout.ModifiersBuilders.ElementMetadata) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.0.0)

*** ** * ** ***

<br />

```
@RequiresSchemaVersion(major = 1, minor = 0)
class ModifiersBuilders.ElementMetadata
```

<br />

*** ** * ** ***

Metadata about an element. For use by libraries building higher-level components only. This can be used to track component metadata.

## Summary

| ### Nested types |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.ElementMetadata.Builder` Builder for `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.ElementMetadata` |

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte/index.html>` | `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.ElementMetadata#getTagData()()` Gets property describing the element with which it is associated. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/protolayout/ModifiersBuilders.ElementMetadata#toString()()` |

## Public functions

### getTagData

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.0.0)

```
fun getTagData(): Array<Byte>
```

Gets property describing the element with which it is associated. For use by libraries building higher-level components only. This can be used to track component metadata.

### toString

```
fun toString(): String
```