Package io.sentry

Class Hint


  • public final class Hint
    extends java.lang.Object
    • Constructor Detail

      • Hint

        public Hint()
    • Method Detail

      • withAttachment

        @NotNull
        public static @NotNull Hint withAttachment​(@Nullable
                                                   @Nullable Attachment attachment)
      • withAttachments

        @NotNull
        public static @NotNull Hint withAttachments​(@Nullable
                                                    @Nullable java.util.List<Attachment> attachments)
      • set

        public void set​(@NotNull
                        @NotNull java.lang.String name,
                        @Nullable
                        @Nullable java.lang.Object hint)
      • get

        @Nullable
        public @Nullable java.lang.Object get​(@NotNull
                                              @NotNull java.lang.String name)
      • getAs

        @Nullable
        public <T> T getAs​(@NotNull
                           @NotNull java.lang.String name,
                           @NotNull
                           @NotNull java.lang.Class<T> clazz)
      • remove

        public void remove​(@NotNull
                           @NotNull java.lang.String name)
      • addAttachment

        public void addAttachment​(@Nullable
                                  @Nullable Attachment attachment)
      • addAttachments

        public void addAttachments​(@Nullable
                                   @Nullable java.util.List<Attachment> attachments)
      • getAttachments

        @NotNull
        public @NotNull java.util.List<Attachment> getAttachments()
      • replaceAttachments

        public void replaceAttachments​(@Nullable
                                       @Nullable java.util.List<Attachment> attachments)
      • clearAttachments

        public void clearAttachments()
      • setScreenshot

        public void setScreenshot​(@Nullable
                                  @Nullable Attachment screenshot)
      • getScreenshot

        @Nullable
        public @Nullable Attachment getScreenshot()