SentryMeasurement.timeToInitialDisplay constructor

SentryMeasurement.timeToInitialDisplay(
  1. Duration duration
)

Duration of the time to initial display in milliseconds

Implementation

SentryMeasurement.timeToInitialDisplay(Duration duration)
    : assert(!duration.isNegative),
      name = 'time_to_initial_display',
      value = duration.inMilliseconds,
      unit = DurationSentryMeasurementUnit.milliSecond;