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
Modifier and TypeClassDescriptionstatic interface
static interface
static interface
-
Constructor Summary
ConstructorDescriptionSendCachedEnvelopeFireAndForgetIntegration
(@NotNull SendCachedEnvelopeFireAndForgetIntegration.SendFireAndForgetFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
Invoked whenever the connection status changed.void
register
(@NotNull IHub hub, @NotNull SentryOptions options) Registers an integration
-
Constructor Details
-
SendCachedEnvelopeFireAndForgetIntegration
public SendCachedEnvelopeFireAndForgetIntegration(@NotNull @NotNull SendCachedEnvelopeFireAndForgetIntegration.SendFireAndForgetFactory factory)
-
-
Method Details
-
register
Description copied from interface:Integration
Registers an integration- Specified by:
register
in interfaceIntegration
- Parameters:
hub
- the Huboptions
- the options
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
onConnectionStatusChanged
Description copied from interface:IConnectionStatusProvider.IConnectionStatusObserver
Invoked whenever the connection status changed.- Specified by:
onConnectionStatusChanged
in interfaceIConnectionStatusProvider.IConnectionStatusObserver
- Parameters:
status
- the new connection status
-