ModifiersBuilders.ElementMetadata.Builder


public final class ModifiersBuilders.ElementMetadata.Builder


Builder for ElementMetadata

Summary

Public constructors

Creates an instance of Builder.

Public methods

@NonNull ModifiersBuilders.ElementMetadata

Builds an instance from accumulated values.

@NonNull ModifiersBuilders.ElementMetadata.Builder
@RequiresSchemaVersion(major = 1, minor = 0)
setTagData(@NonNull byte[] tagData)

Sets property describing the element with which it is associated.

Public constructors

Builder

Added in 1.0.0
public Builder()

Creates an instance of Builder.

Public methods

build

Added in 1.0.0
public @NonNull ModifiersBuilders.ElementMetadata build()

Builds an instance from accumulated values.

setTagData

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 0)
public @NonNull ModifiersBuilders.ElementMetadata.Builder setTagData(@NonNull byte[] tagData)

Sets 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.