Package 

Class ViewHierarchyEventProcessor

  • All Implemented Interfaces:
    io.sentry.EventProcessor

    @ApiStatus.Internal() 
    public final class ViewHierarchyEventProcessor
     implements EventProcessor
                        

    ViewHierarchyEventProcessor responsible for taking a snapshot of the current view hierarchy.

    • Method Summary

      Modifier and Type Method Description
      SentryTransaction process(@NotNull() SentryTransaction transaction, @NotNull() Hint hint)
      SentryEvent process(@NotNull() SentryEvent event, @NotNull() Hint hint)
      static Array<byte> snapshotViewHierarchyAsData(@Nullable() Activity activity, @NotNull() IThreadChecker threadChecker, @NotNull() ISerializer serializer, @NotNull() ILogger logger)
      static ViewHierarchy snapshotViewHierarchy(@Nullable() Activity activity, @NotNull() ILogger logger)
      static ViewHierarchy snapshotViewHierarchy(@Nullable() Activity activity, @NotNull() List<ViewHierarchyExporter> exporters, @NotNull() IThreadChecker threadChecker, @NotNull() ILogger logger)
      static ViewHierarchy snapshotViewHierarchy(@NotNull() View view)
      static ViewHierarchy snapshotViewHierarchy(@NotNull() View view, @NotNull() List<ViewHierarchyExporter> exporters)
      Long getOrder()
      • Methods inherited from class io.sentry.EventProcessor

        getOrder, process, process, process
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • process

        @NotNull() SentryTransaction process(@NotNull() SentryTransaction transaction, @NotNull() Hint hint)
      • process

        @NotNull() SentryEvent process(@NotNull() SentryEvent event, @NotNull() Hint hint)
      • snapshotViewHierarchyAsData

         static Array<byte> snapshotViewHierarchyAsData(@Nullable() Activity activity, @NotNull() IThreadChecker threadChecker, @NotNull() ISerializer serializer, @NotNull() ILogger logger)
      • snapshotViewHierarchy

        @Nullable() static ViewHierarchy snapshotViewHierarchy(@Nullable() Activity activity, @NotNull() List<ViewHierarchyExporter> exporters, @NotNull() IThreadChecker threadChecker, @NotNull() ILogger logger)
      • snapshotViewHierarchy

        @NotNull() static ViewHierarchy snapshotViewHierarchy(@NotNull() View view, @NotNull() List<ViewHierarchyExporter> exporters)