Package io.sentry
Class SentryEnvelope
- java.lang.Object
-
- io.sentry.SentryEnvelope
-
@Internal public final class SentryEnvelope extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SentryEnvelope(@NotNull SentryEnvelopeHeader header, @NotNull java.lang.Iterable<SentryEnvelopeItem> items)
SentryEnvelope(@Nullable SentryId eventId, @Nullable SdkVersion sdkVersion, @NotNull SentryEnvelopeItem item)
SentryEnvelope(@Nullable SentryId eventId, @Nullable SdkVersion sdkVersion, @NotNull java.lang.Iterable<SentryEnvelopeItem> items)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Constructor Detail
-
SentryEnvelope
public SentryEnvelope(@NotNull @NotNull SentryEnvelopeHeader header, @NotNull @NotNull java.lang.Iterable<SentryEnvelopeItem> items)
-
SentryEnvelope
public SentryEnvelope(@Nullable @Nullable SentryId eventId, @Nullable @Nullable SdkVersion sdkVersion, @NotNull @NotNull java.lang.Iterable<SentryEnvelopeItem> items)
-
SentryEnvelope
public SentryEnvelope(@Nullable @Nullable SentryId eventId, @Nullable @Nullable SdkVersion sdkVersion, @NotNull @NotNull SentryEnvelopeItem item)
-
-
Method Detail
-
getItems
@NotNull public @NotNull java.lang.Iterable<SentryEnvelopeItem> getItems()
-
getHeader
@NotNull public @NotNull SentryEnvelopeHeader getHeader()
-
from
@NotNull public static @NotNull SentryEnvelope from(@NotNull @NotNull ISerializer serializer, @NotNull @NotNull Session session, @Nullable @Nullable SdkVersion sdkVersion) throws java.io.IOException
- Throws:
java.io.IOException
-
from
@NotNull public static @NotNull SentryEnvelope from(@NotNull @NotNull ISerializer serializer, @NotNull @NotNull SentryBaseEvent event, @Nullable @Nullable SdkVersion sdkVersion) throws java.io.IOException
- Throws:
java.io.IOException
-
-