Class ViewHierarchyNode

java.lang.Object
io.sentry.protocol.ViewHierarchyNode
All Implemented Interfaces:
JsonSerializable, JsonUnknown

public final class ViewHierarchyNode extends Object implements JsonUnknown, JsonSerializable
  • Constructor Details

    • ViewHierarchyNode

      public ViewHierarchyNode()
  • Method Details

    • setRenderingSystem

      public void setRenderingSystem(String renderingSystem)
    • setType

      public void setType(String type)
    • setIdentifier

      public void setIdentifier(@Nullable @Nullable String identifier)
    • setTag

      public void setTag(@Nullable @Nullable String tag)
    • setWidth

      public void setWidth(@Nullable @Nullable Double width)
    • setHeight

      public void setHeight(@Nullable @Nullable Double height)
    • setX

      public void setX(@Nullable @Nullable Double x)
    • setY

      public void setY(@Nullable @Nullable Double y)
    • setVisibility

      public void setVisibility(@Nullable @Nullable String visibility)
    • setAlpha

      public void setAlpha(@Nullable @Nullable Double alpha)
    • setChildren

      public void setChildren(@Nullable @Nullable List<ViewHierarchyNode> children)
    • getRenderingSystem

      @Nullable public @Nullable String getRenderingSystem()
    • getType

      @Nullable public @Nullable String getType()
    • getIdentifier

      @Nullable public @Nullable String getIdentifier()
    • getTag

      @Nullable public @Nullable String getTag()
    • getWidth

      @Nullable public @Nullable Double getWidth()
    • getHeight

      @Nullable public @Nullable Double getHeight()
    • getX

      @Nullable public @Nullable Double getX()
    • getY

      @Nullable public @Nullable Double getY()
    • getVisibility

      @Nullable public @Nullable String getVisibility()
    • getAlpha

      @Nullable public @Nullable Double getAlpha()
    • getChildren

      @Nullable public @Nullable List<ViewHierarchyNode> getChildren()
    • serialize

      public void serialize(@NotNull @NotNull ObjectWriter writer, @NotNull @NotNull ILogger logger) throws IOException
      Specified by:
      serialize in interface JsonSerializable
      Throws:
      IOException
    • getUnknown

      @Nullable public @Nullable Map<String,Object> getUnknown()
      Specified by:
      getUnknown in interface JsonUnknown
    • setUnknown

      public void setUnknown(@Nullable @Nullable Map<String,Object> unknown)
      Specified by:
      setUnknown in interface JsonUnknown