@ApiStatus.Internal
public final class SentryEnvelopeItem
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static @NotNull SentryEnvelopeItem |
fromEvent(@NotNull ISerializer serializer,
@NotNull SentryEvent event) |
static @NotNull SentryEnvelopeItem |
fromSession(@NotNull ISerializer serializer,
@NotNull Session session) |
@NotNull byte[] |
getData() |
@Nullable SentryEvent |
getEvent(@NotNull ISerializer serializer) |
@NotNull SentryEnvelopeItemHeader |
getHeader() |
@NotNull public @NotNull byte[] getData() throws java.lang.Exception
java.lang.Exception
@NotNull public @NotNull SentryEnvelopeItemHeader getHeader()
@NotNull public static @NotNull SentryEnvelopeItem fromSession(@NotNull @NotNull ISerializer serializer, @NotNull @NotNull Session session) throws java.io.IOException
java.io.IOException
@Nullable public @Nullable SentryEvent getEvent(@NotNull @NotNull ISerializer serializer) throws java.lang.Exception
java.lang.Exception
@NotNull public static @NotNull SentryEnvelopeItem fromEvent(@NotNull @NotNull ISerializer serializer, @NotNull @NotNull SentryEvent event) throws java.io.IOException
java.io.IOException