Package io.sentry
Class SentryEnvelope
java.lang.Object
io.sentry.SentryEnvelope
-
Constructor Summary
ConstructorDescriptionSentryEnvelope
(@NotNull SentryEnvelopeHeader header, @NotNull Iterable<SentryEnvelopeItem> items) SentryEnvelope
(@Nullable SentryId eventId, @Nullable SdkVersion sdkVersion, @NotNull SentryEnvelopeItem item) SentryEnvelope
(@Nullable SentryId eventId, @Nullable SdkVersion sdkVersion, @NotNull Iterable<SentryEnvelopeItem> items) -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull SentryEnvelope
from
(@NotNull ISerializer serializer, @NotNull ProfilingTraceData profilingTraceData, long maxTraceFileSize, @Nullable SdkVersion sdkVersion) 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
@NotNull Iterable<SentryEnvelopeItem>
getItems()
-
Constructor Details
-
SentryEnvelope
public SentryEnvelope(@NotNull @NotNull SentryEnvelopeHeader header, @NotNull @NotNull Iterable<SentryEnvelopeItem> items) -
SentryEnvelope
public SentryEnvelope(@Nullable @Nullable SentryId eventId, @Nullable @Nullable SdkVersion sdkVersion, @NotNull @NotNull Iterable<SentryEnvelopeItem> items) -
SentryEnvelope
public SentryEnvelope(@Nullable @Nullable SentryId eventId, @Nullable @Nullable SdkVersion sdkVersion, @NotNull @NotNull SentryEnvelopeItem item)
-
-
Method Details
-
getItems
-
getHeader
-
from
@NotNull public static @NotNull SentryEnvelope from(@NotNull @NotNull ISerializer serializer, @NotNull @NotNull Session session, @Nullable @Nullable SdkVersion sdkVersion) throws IOException - Throws:
IOException
-
from
@NotNull public static @NotNull SentryEnvelope from(@NotNull @NotNull ISerializer serializer, @NotNull @NotNull SentryBaseEvent event, @Nullable @Nullable SdkVersion sdkVersion) throws IOException - Throws:
IOException
-
from
@NotNull public static @NotNull SentryEnvelope from(@NotNull @NotNull ISerializer serializer, @NotNull @NotNull ProfilingTraceData profilingTraceData, long maxTraceFileSize, @Nullable @Nullable SdkVersion sdkVersion) throws SentryEnvelopeException - Throws:
SentryEnvelopeException
-