Package io.sentry

Class MeasurementUnit.Custom

java.lang.Object
io.sentry.MeasurementUnit.Custom
All Implemented Interfaces:
MeasurementUnit
Enclosing interface:
MeasurementUnit

public static final class MeasurementUnit.Custom extends Object implements MeasurementUnit
Custom units without builtin conversion. No formatting will be applied to the measurement value in the Sentry product, and the value with the unit will be shown as is.
  • Constructor Details

    • Custom

      public Custom(@NotNull @NotNull String name)
  • Method Details