Package io.sentry
Interface IScopeObserver
- All Known Implementing Classes:
PersistingScopeObserver
,ScopeObserverAdapter
public interface IScopeObserver
A Scope observer that tracks changes on Scope. All methods are "default", so implementors can
subscribe to only those properties, that they are interested in.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBreadcrumb
(@NotNull Breadcrumb crumb) void
removeExtra
(@NotNull String key) void
void
setBreadcrumbs
(@NotNull Collection<Breadcrumb> breadcrumbs) void
setContexts
(@NotNull Contexts contexts) void
void
void
setFingerprint
(@NotNull Collection<String> fingerprint) void
setLevel
(@Nullable SentryLevel level) void
setReplayId
(@NotNull SentryId replayId) void
setRequest
(@Nullable Request request) void
void
void
setTrace
(@Nullable SpanContext spanContext, @NotNull IScope scope) void
setTransaction
(@Nullable String transaction) void
-
Method Details
-
setUser
-
addBreadcrumb
-
setBreadcrumbs
-
setTag
-
removeTag
-
setTags
-
setExtra
-
removeExtra
-
setExtras
-
setRequest
-
setFingerprint
-
setLevel
-
setContexts
-
setTransaction
-
setTrace
-
setReplayId
-