Package io.sentry.protocol
Class MeasurementValue
java.lang.Object
io.sentry.protocol.MeasurementValue
- All Implemented Interfaces:
JsonSerializable
,JsonUnknown
@Internal
public final class MeasurementValue
extends Object
implements JsonUnknown, JsonSerializable
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMeasurementValue
(@NotNull Number value, @Nullable String unit) MeasurementValue
(@NotNull Number value, @Nullable String unit, @Nullable Map<String, Object> unknown) -
Method Summary
-
Field Details
-
KEY_APP_START_COLD
- See Also:
-
KEY_APP_START_WARM
- See Also:
-
KEY_FRAMES_TOTAL
- See Also:
-
KEY_FRAMES_SLOW
- See Also:
-
KEY_FRAMES_FROZEN
- See Also:
-
KEY_FRAMES_DELAY
- See Also:
-
KEY_TIME_TO_INITIAL_DISPLAY
- See Also:
-
KEY_TIME_TO_FULL_DISPLAY
- See Also:
-
-
Constructor Details
-
MeasurementValue
-
MeasurementValue
-
-
Method Details
-
getValue
-
getUnit
-
getUnknown
- Specified by:
getUnknown
in interfaceJsonUnknown
-
setUnknown
- Specified by:
setUnknown
in interfaceJsonUnknown
-
serialize
public void serialize(@NotNull @NotNull ObjectWriter writer, @NotNull @NotNull ILogger logger) throws IOException - Specified by:
serialize
in interfaceJsonSerializable
- Throws:
IOException
-