@ApiStatus.Internal
public final class SentryEnvelope
extends java.lang.Object
Constructor and Description |
---|
SentryEnvelope(@NotNull SentryEnvelopeHeader header,
@NotNull java.lang.Iterable<SentryEnvelopeItem> items) |
SentryEnvelope(@Nullable SentryId eventId,
@Nullable SdkVersion sdkVersion,
@NotNull java.lang.Iterable<SentryEnvelopeItem> items) |
SentryEnvelope(@Nullable SentryId eventId,
@Nullable SdkVersion sdkVersion,
@NotNull SentryEnvelopeItem item) |
Modifier and Type | Method and Description |
---|---|
static @NotNull SentryEnvelope |
from(@NotNull ISerializer serializer,
@NotNull SentryBaseEvent event,
@Nullable SdkVersion sdkVersion) |
static @NotNull SentryEnvelope |
from(@NotNull ISerializer serializer,
@NotNull Session session,
@Nullable SdkVersion sdkVersion) |
@NotNull SentryEnvelopeHeader |
getHeader() |
@NotNull java.lang.Iterable<SentryEnvelopeItem> |
getItems() |
public SentryEnvelope(@NotNull @NotNull SentryEnvelopeHeader header, @NotNull @NotNull java.lang.Iterable<SentryEnvelopeItem> items)
public SentryEnvelope(@Nullable @Nullable SentryId eventId, @Nullable @Nullable SdkVersion sdkVersion, @NotNull @NotNull java.lang.Iterable<SentryEnvelopeItem> items)
public SentryEnvelope(@Nullable @Nullable SentryId eventId, @Nullable @Nullable SdkVersion sdkVersion, @NotNull @NotNull SentryEnvelopeItem item)
@NotNull public @NotNull java.lang.Iterable<SentryEnvelopeItem> getItems()
@NotNull public @NotNull SentryEnvelopeHeader getHeader()
@NotNull public static @NotNull SentryEnvelope from(@NotNull @NotNull ISerializer serializer, @NotNull @NotNull Session session, @Nullable @Nullable SdkVersion sdkVersion) throws java.io.IOException
java.io.IOException
@NotNull public static @NotNull SentryEnvelope from(@NotNull @NotNull ISerializer serializer, @NotNull @NotNull SentryBaseEvent event, @Nullable @Nullable SdkVersion sdkVersion) throws java.io.IOException
java.io.IOException