Package io.sentry

Class SentryEnvelopeItem


  • @Internal
    public final class SentryEnvelopeItem
    extends java.lang.Object
    • Method Detail

      • getData

        @NotNull
        public @org.jetbrains.annotations.NotNull byte[] getData()
                                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • fromSession

        @NotNull
        public static @NotNull SentryEnvelopeItem fromSession​(@NotNull
                                                              @NotNull ISerializer serializer,
                                                              @NotNull
                                                              @NotNull Session session)
                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • getEvent

        @Nullable
        public @Nullable SentryEvent getEvent​(@NotNull
                                              @NotNull ISerializer serializer)
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getTransaction

        @Nullable
        public @Nullable SentryTransaction getTransaction​(@NotNull
                                                          @NotNull ISerializer serializer)
                                                   throws java.lang.Exception
        Throws:
        java.lang.Exception