Package io.sentry

Class SentryEnvelopeItemHeader

    • Constructor Detail

      • SentryEnvelopeItemHeader

        @Internal
        public SentryEnvelopeItemHeader​(@NotNull
                                        @NotNull SentryItemType type,
                                        int length,
                                        @Nullable
                                        @Nullable java.lang.String contentType,
                                        @Nullable
                                        @Nullable java.lang.String fileName,
                                        @Nullable
                                        @Nullable java.lang.String attachmentType)
    • Method Detail

      • getLength

        public int getLength()
      • getContentType

        @Nullable
        public @Nullable java.lang.String getContentType()
      • getFileName

        @Nullable
        public @Nullable java.lang.String getFileName()
      • getAttachmentType

        @Nullable
        public @Nullable java.lang.String getAttachmentType()
        Returns the attachmentType type
        Returns:
        the attachmentType
      • getUnknown

        @Nullable
        public @Nullable java.util.Map<java.lang.String,​java.lang.Object> getUnknown()
        Specified by:
        getUnknown in interface JsonUnknown
      • setUnknown

        public void setUnknown​(@Nullable
                               @Nullable java.util.Map<java.lang.String,​java.lang.Object> unknown)
        Specified by:
        setUnknown in interface JsonUnknown