{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

InspectorValueInfo

public abstract class InspectorValueInfo implements InspectableValue

Known direct subclasses
InspectableModifier

Annotates a range of modifiers in a chain with inspector metadata.


Implementation of InspectableValue based on a builder InspectorInfo DSL.

Summary

Public constructors

Public methods

@NonNull Sequence<@NonNull ValueElement>

The elements of a compose value.

String

Use this name as the reference name shown in tools of this value if there is no explicit reference name given to the value.

Object

Use this value as a readable representation of the value.

Public constructors

InspectorValueInfo

public InspectorValueInfo(
    @ExtensionFunctionType @NonNull Function1<@NonNull InspectorInfoUnit> info
)

Public methods

getInspectableElements

public @NonNull Sequence<@NonNull ValueElementgetInspectableElements()

The elements of a compose value.

getNameFallback

public String getNameFallback()

Use this name as the reference name shown in tools of this value if there is no explicit reference name given to the value. Example: a modifier in a modifier list.

getValueOverride

public Object getValueOverride()

Use this value as a readable representation of the value.