-
- 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.
-
-
Constructor Summary
Constructors Constructor Description ViewHierarchyEventProcessor(SentryAndroidOptions options)
-
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()
-
-
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)
-
-
-
-