Package io.sentry

Interface IPerformanceContinuousCollector

All Superinterfaces:
IPerformanceCollector

@Internal public interface IPerformanceContinuousCollector extends IPerformanceCollector
Used for collecting continuous data about vitals (slow, frozen frames, etc.) when a transaction/span is running.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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

      void onSpanStarted(@NotNull @NotNull ISpan span)
      Called when a span is started.
      Parameters:
      span - the span that was started
    • onSpanFinished

      void onSpanFinished(@NotNull @NotNull ISpan span)
      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.