Package io.sentry
Class Hint
java.lang.Object
io.sentry.Hint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttachment(@Nullable Attachment attachment) voidaddAttachments(@Nullable List<Attachment> attachments) voidclear()Clears all attributes added viaset(String, Object)Note: SDK internal attributes are being kept.void@Nullable Object<T> T@NotNull List<Attachment>@Nullable ReplayRecording@Nullable Attachment@Nullable Attachment@Nullable AttachmentvoidvoidreplaceAttachments(@Nullable List<Attachment> attachments) voidvoidsetReplayRecording(@Nullable ReplayRecording replayRecording) voidsetScreenshot(@Nullable Attachment screenshot) voidsetThreadDump(@Nullable Attachment threadDump) voidsetViewHierarchy(@Nullable Attachment viewHierarchy) static @NotNull HintwithAttachment(@Nullable Attachment attachment) static @NotNull HintwithAttachments(@Nullable List<Attachment> attachments)
-
Constructor Details
-
Hint
public Hint()
-
-
Method Details
-
withAttachment
-
withAttachments
@NotNull public static @NotNull Hint withAttachments(@Nullable @Nullable List<Attachment> attachments) -
set
-
get
-
getAs
-
remove
-
addAttachment
-
addAttachments
-
getAttachments
-
replaceAttachments
-
clearAttachments
public void clearAttachments() -
clear
@Internal public void clear()Clears all attributes added viaset(String, Object)Note: SDK internal attributes are being kept. This is useful to avoid leaking any objects (e.g. Android activities) being referenced. -
setScreenshot
-
getScreenshot
-
setViewHierarchy
-
getViewHierarchy
-
setThreadDump
-
getThreadDump
-
getReplayRecording
-
setReplayRecording
-