Constructor and Description |
---|
Hub(@NotNull SentryOptions options) |
Modifier and Type | Method and Description |
---|---|
void |
addBreadcrumb(Breadcrumb breadcrumb,
@Nullable java.lang.Object hint) |
void |
bindClient(ISentryClient client) |
@NotNull SentryId |
captureEvent(SentryEvent event,
@Nullable java.lang.Object hint) |
@NotNull SentryId |
captureException(java.lang.Throwable throwable,
@Nullable java.lang.Object hint) |
@NotNull SentryId |
captureMessage(java.lang.String message) |
@NotNull IHub |
clone() |
void |
close() |
void |
configureScope(@NotNull ScopeCallback callback) |
void |
flush(long timeoutMills) |
@NotNull SentryId |
getLastEventId() |
boolean |
isEnabled() |
void |
popScope() |
void |
pushScope() |
void |
withScope(@NotNull ScopeCallback callback) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addBreadcrumb, captureEvent, captureException
public Hub(@NotNull @NotNull SentryOptions options)
@NotNull public @NotNull SentryId captureEvent(SentryEvent event, @Nullable @Nullable java.lang.Object hint)
captureEvent
in interface IHub
@NotNull public @NotNull SentryId captureMessage(java.lang.String message)
captureMessage
in interface IHub
@NotNull public @NotNull SentryId captureException(java.lang.Throwable throwable, @Nullable @Nullable java.lang.Object hint)
captureException
in interface IHub
public void addBreadcrumb(Breadcrumb breadcrumb, @Nullable @Nullable java.lang.Object hint)
addBreadcrumb
in interface IHub
@NotNull public @NotNull SentryId getLastEventId()
getLastEventId
in interface IHub
public void withScope(@NotNull @NotNull ScopeCallback callback)
public void configureScope(@NotNull @NotNull ScopeCallback callback)
configureScope
in interface IHub
public void bindClient(ISentryClient client)
bindClient
in interface IHub