@ApiStatus.Internal public final class SentryLevelSerializerAdapter extends java.lang.Object implements com.google.gson.JsonSerializer<SentryLevel>
Constructor and Description |
---|
SentryLevelSerializerAdapter(@NotNull SentryOptions options) |
Modifier and Type | Method and Description |
---|---|
@Nullable com.google.gson.JsonElement |
serialize(@Nullable SentryLevel src,
@NotNull java.lang.reflect.Type typeOfSrc,
@NotNull com.google.gson.JsonSerializationContext context) |
public SentryLevelSerializerAdapter(@NotNull @NotNull SentryOptions options)
@Nullable public @Nullable com.google.gson.JsonElement serialize(@Nullable @Nullable SentryLevel src, @NotNull @NotNull java.lang.reflect.Type typeOfSrc, @NotNull @NotNull com.google.gson.JsonSerializationContext context)
serialize
in interface com.google.gson.JsonSerializer<SentryLevel>