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

InspectableValue

public interface InspectableValue

Known direct subclasses
InspectorValueInfo

Implementation of InspectableValue based on a builder InspectorInfo DSL.

ModifierNodeElement

A Modifier.Element which manages an instance of a particular Modifier.Node implementation.

Known indirect subclasses
InspectableModifier

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


A compose value that is inspectable by tools. It gives access to private parts of a value.

Summary

Public methods

default @NonNull Sequence<@NonNull ValueElement>

The elements of a compose value.

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

default Object

Use this value as a readable representation of the value.

Public methods

getInspectableElements

default @NonNull Sequence<@NonNull ValueElementgetInspectableElements()

The elements of a compose value.

getNameFallback

default 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

default Object getValueOverride()

Use this value as a readable representation of the value.