# 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)

*** ** * ** ***


```
@RequiresSchemaVersion(major = 1, minor = 0)
public final 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 |
|---|
| `public final class https://developer.android.com/reference/androidx/wear/protolayout/ModifiersBuilders.ElementMetadata.Builder` Builder for `https://developer.android.com/reference/androidx/wear/protolayout/ModifiersBuilders.ElementMetadata` |

| ### Public methods |
|---|---|
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html byte[]` | `https://developer.android.com/reference/androidx/wear/protolayout/ModifiersBuilders.ElementMetadata#getTagData()()` Gets property describing the element with which it is associated. |
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/wear/protolayout/ModifiersBuilders.ElementMetadata#toString()()` |

## Public methods

### getTagData

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

```
public @NonNull byte[] getTagData()
```

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

```
public @NonNull String toString()
```