CompositionData

Interface

Common
public interface CompositionData

A CompositionData is the data tracked by the composer during composition.

This interface is not intended to be used directly and is provided to allow the tools API to have access to data tracked during composition. The tools API should be used instead which provides a more usable interpretation of the slot table.

Functions

public fun find(identityToFind: Any): CompositionGroup?

Find a sub-group by identity. Returns null if the group is not found or the implementation of this interface does not support finding groups by their identity. In other words, a null result from this method should not be interpreted as the identity is not a group in the composition data.