Package io.sentry
Class Hint
java.lang.Object
io.sentry.Hint
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttachment
(@Nullable Attachment attachment) void
addAttachments
(@Nullable List<Attachment> attachments) void
clear()
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 Attachment
void
void
replaceAttachments
(@Nullable List<Attachment> attachments) void
void
setReplayRecording
(@Nullable ReplayRecording replayRecording) void
setScreenshot
(@Nullable Attachment screenshot) void
setThreadDump
(@Nullable Attachment threadDump) void
setViewHierarchy
(@Nullable Attachment viewHierarchy) static @NotNull Hint
withAttachment
(@Nullable Attachment attachment) static @NotNull Hint
withAttachments
(@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
-