-
- All Implemented Interfaces:
-
io.sentry.EventProcessor
@ApiStatus.Internal() public final class ViewHierarchyEventProcessor implements EventProcessorViewHierarchyEventProcessor responsible for taking a snapshot of the current view hierarchy.
-
-
Constructor Summary
Constructors Constructor Description ViewHierarchyEventProcessor(SentryAndroidOptions options)
-
Method Summary
Modifier and Type Method Description SentryTransactionprocess(@NotNull() SentryTransaction transaction, @NotNull() Hint hint)SentryEventprocess(@NotNull() SentryEvent event, @NotNull() Hint hint)static Array<byte>snapshotViewHierarchyAsData(@Nullable() Activity activity, @NotNull() IThreadChecker threadChecker, @NotNull() ISerializer serializer, @NotNull() ILogger logger)static ViewHierarchysnapshotViewHierarchy(@Nullable() Activity activity, @NotNull() ILogger logger)static ViewHierarchysnapshotViewHierarchy(@Nullable() Activity activity, @NotNull() List<ViewHierarchyExporter> exporters, @NotNull() IThreadChecker threadChecker, @NotNull() ILogger logger)static ViewHierarchysnapshotViewHierarchy(@NotNull() View view)static ViewHierarchysnapshotViewHierarchy(@NotNull() View view, @NotNull() List<ViewHierarchyExporter> exporters)LonggetOrder()-
-
Constructor Detail
-
ViewHierarchyEventProcessor
ViewHierarchyEventProcessor(SentryAndroidOptions options)
-
-
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() 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)
-
snapshotViewHierarchy
@NotNull() static ViewHierarchy snapshotViewHierarchy(@NotNull() View view, @NotNull() List<ViewHierarchyExporter> exporters)
-
-
-
-