Package io.sentry
Class SpotlightIntegration
java.lang.Object
io.sentry.SpotlightIntegration
- All Implemented Interfaces:
Integration,SentryOptions.BeforeEnvelopeCallback,Closeable,AutoCloseable
@Internal
public final class SpotlightIntegration
extends Object
implements Integration, SentryOptions.BeforeEnvelopeCallback, Closeable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidexecute(@NotNull SentryEnvelope envelope, @Nullable Hint hint) A callback which gets called right before an envelope is about to be sentvoidregister(@NotNull IScopes scopes, @NotNull SentryOptions options) Registers an integration
-
Constructor Details
-
SpotlightIntegration
public SpotlightIntegration()
-
-
Method Details
-
register
Description copied from interface:IntegrationRegisters an integration- Specified by:
registerin interfaceIntegration- Parameters:
scopes- the Scopesoptions- the options
-
execute
Description copied from interface:SentryOptions.BeforeEnvelopeCallbackA callback which gets called right before an envelope is about to be sent- Specified by:
executein interfaceSentryOptions.BeforeEnvelopeCallback- Parameters:
envelope- the envelopehint- the hints
-
getSpotlightConnectionUrl
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-