mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-25 16:42:30 -06:00
102 lines
3.3 KiB
Java
102 lines
3.3 KiB
Java
package io.sentry;
|
|
|
|
import io.sentry.protocol.Message;
|
|
import io.sentry.protocol.SentryId;
|
|
import io.sentry.protocol.SentryTransaction;
|
|
import io.sentry.transport.RateLimiter;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public interface ISentryClient {
|
|
SentryId captureCheckIn(CheckIn checkIn, IScope iScope, Hint hint);
|
|
|
|
SentryId captureEnvelope(SentryEnvelope sentryEnvelope, Hint hint);
|
|
|
|
SentryId captureEvent(SentryEvent sentryEvent, IScope iScope, Hint hint);
|
|
|
|
void captureSession(Session session, Hint hint);
|
|
|
|
SentryId captureTransaction(SentryTransaction sentryTransaction, TraceContext traceContext, IScope iScope, Hint hint, ProfilingTraceData profilingTraceData);
|
|
|
|
void captureUserFeedback(UserFeedback userFeedback);
|
|
|
|
void close();
|
|
|
|
void close(boolean z);
|
|
|
|
void flush(long j);
|
|
|
|
IMetricsAggregator getMetricsAggregator();
|
|
|
|
RateLimiter getRateLimiter();
|
|
|
|
boolean isEnabled();
|
|
|
|
default boolean isHealthy() {
|
|
return true;
|
|
}
|
|
|
|
default SentryId captureEvent(SentryEvent sentryEvent) {
|
|
return captureEvent(sentryEvent, null, null);
|
|
}
|
|
|
|
default SentryId captureEvent(SentryEvent sentryEvent, IScope iScope) {
|
|
return captureEvent(sentryEvent, iScope, null);
|
|
}
|
|
|
|
default SentryId captureEvent(SentryEvent sentryEvent, Hint hint) {
|
|
return captureEvent(sentryEvent, null, hint);
|
|
}
|
|
|
|
default SentryId captureMessage(String str, SentryLevel sentryLevel, IScope iScope) {
|
|
SentryEvent sentryEvent = new SentryEvent();
|
|
Message message = new Message();
|
|
message.setFormatted(str);
|
|
sentryEvent.setMessage(message);
|
|
sentryEvent.setLevel(sentryLevel);
|
|
return captureEvent(sentryEvent, iScope);
|
|
}
|
|
|
|
default SentryId captureMessage(String str, SentryLevel sentryLevel) {
|
|
return captureMessage(str, sentryLevel, null);
|
|
}
|
|
|
|
default SentryId captureException(Throwable th) {
|
|
return captureException(th, null, null);
|
|
}
|
|
|
|
default SentryId captureException(Throwable th, IScope iScope, Hint hint) {
|
|
return captureEvent(new SentryEvent(th), iScope, hint);
|
|
}
|
|
|
|
default SentryId captureException(Throwable th, Hint hint) {
|
|
return captureException(th, null, hint);
|
|
}
|
|
|
|
default SentryId captureException(Throwable th, IScope iScope) {
|
|
return captureException(th, iScope, null);
|
|
}
|
|
|
|
default void captureSession(Session session) {
|
|
captureSession(session, null);
|
|
}
|
|
|
|
default SentryId captureEnvelope(SentryEnvelope sentryEnvelope) {
|
|
return captureEnvelope(sentryEnvelope, null);
|
|
}
|
|
|
|
default SentryId captureTransaction(SentryTransaction sentryTransaction, IScope iScope, Hint hint) {
|
|
return captureTransaction(sentryTransaction, null, iScope, hint);
|
|
}
|
|
|
|
default SentryId captureTransaction(SentryTransaction sentryTransaction, TraceContext traceContext, IScope iScope, Hint hint) {
|
|
return captureTransaction(sentryTransaction, traceContext, iScope, hint, null);
|
|
}
|
|
|
|
default SentryId captureTransaction(SentryTransaction sentryTransaction, TraceContext traceContext) {
|
|
return captureTransaction(sentryTransaction, traceContext, null, null);
|
|
}
|
|
|
|
default SentryId captureTransaction(SentryTransaction sentryTransaction) {
|
|
return captureTransaction(sentryTransaction, null, null, null);
|
|
}
|
|
}
|