-
- All Implemented Interfaces:
-
io.sentry.cache.IEnvelopeCache,java.lang.Iterable
@ApiStatus.Internal() public final class AndroidEnvelopeCache extends EnvelopeCache
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringLAST_ANR_REPORT
-
Constructor Summary
Constructors Constructor Description AndroidEnvelopeCache(SentryAndroidOptions options)
-
Method Summary
Modifier and Type Method Description voidstore(@NotNull() SentryEnvelope envelope, @NotNull() Hint hint)FilegetDirectory()static booleanhasStartupCrashMarker(@NotNull() SentryOptions options)static LonglastReportedAnr(@NotNull() SentryOptions options)-
Methods inherited from class io.sentry.cache.EnvelopeCache
create, discard, flushPreviousSession, getCurrentSessionFile, getPreviousSessionFile, iterator, store, waitPreviousSessionFlush -
Methods inherited from class java.lang.Iterable
forEach, iterator, spliterator -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AndroidEnvelopeCache
AndroidEnvelopeCache(SentryAndroidOptions options)
-
-
Method Detail
-
store
void store(@NotNull() SentryEnvelope envelope, @NotNull() Hint hint)
-
getDirectory
@TestOnly()@NotNull() File getDirectory()
-
hasStartupCrashMarker
static boolean hasStartupCrashMarker(@NotNull() SentryOptions options)
-
lastReportedAnr
@Nullable() static Long lastReportedAnr(@NotNull() SentryOptions options)
-
-
-
-