Package io.sentry
Class SendCachedEnvelopeFireAndForgetIntegration
java.lang.Object
io.sentry.SendCachedEnvelopeFireAndForgetIntegration
- All Implemented Interfaces:
IConnectionStatusProvider.IConnectionStatusObserver,Integration,Closeable,AutoCloseable
public final class SendCachedEnvelopeFireAndForgetIntegration
extends Object
implements Integration, IConnectionStatusProvider.IConnectionStatusObserver, Closeable
Sends cached events over when your App is starting or a network connection is present.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic interface -
Constructor Summary
ConstructorsConstructorDescriptionSendCachedEnvelopeFireAndForgetIntegration(@NotNull SendCachedEnvelopeFireAndForgetIntegration.SendFireAndForgetFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidInvoked whenever the connection status changed.voidregister(@NotNull IScopes scopes, @NotNull SentryOptions options) Registers an integration
-
Constructor Details
-
SendCachedEnvelopeFireAndForgetIntegration
public SendCachedEnvelopeFireAndForgetIntegration(@NotNull @NotNull SendCachedEnvelopeFireAndForgetIntegration.SendFireAndForgetFactory factory)
-
-
Method Details
-
register
Description copied from interface:IntegrationRegisters an integration- Specified by:
registerin interfaceIntegration- Parameters:
scopes- the Scopesoptions- the options
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
onConnectionStatusChanged
Description copied from interface:IConnectionStatusProvider.IConnectionStatusObserverInvoked whenever the connection status changed.- Specified by:
onConnectionStatusChangedin interfaceIConnectionStatusProvider.IConnectionStatusObserver- Parameters:
status- the new connection status
-