Package io.sentry
Interface IPerformanceContinuousCollector
- All Superinterfaces:
IPerformanceCollector
Used for collecting continuous data about vitals (slow, frozen frames, etc.) when a
transaction/span is running.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Called when no more data should be collected.void
onSpanFinished
(@NotNull ISpan span) Called when a span itself is finished or a timeout is reached.void
onSpanStarted
(@NotNull ISpan span) Called when a span is started.
-
Method Details
-
onSpanStarted
Called when a span is started.- Parameters:
span
- the span that was started
-
onSpanFinished
Called when a span itself is finished or a timeout is reached.- Parameters:
span
- the span that was finished
-
clear
void clear()Called when no more data should be collected. Usually called when no more transactions/spans are running or when the SDK is being closed.
-