Class ComposeViewHierarchyExporter

java.lang.Object
io.sentry.compose.viewhierarchy.ComposeViewHierarchyExporter
All Implemented Interfaces:
ViewHierarchyExporter

public final class ComposeViewHierarchyExporter extends Object implements ViewHierarchyExporter
  • Constructor Details

    • ComposeViewHierarchyExporter

      public ComposeViewHierarchyExporter(@NotNull @NotNull ILogger logger)
  • Method Details

    • export

      public boolean export(@NotNull @NotNull ViewHierarchyNode parent, @NotNull @NotNull Object element)
      Description copied from interface: ViewHierarchyExporter
      Exports the view hierarchy
      Specified by:
      export in interface ViewHierarchyExporter
      Parameters:
      parent - the parent view hierarchy node to which element should be attached to
      element - The UI widget
      Returns:
      true if element was processed and the corresponding view hierarchy was attached to parent, false otherwise