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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
execute
(@NotNull SentryEnvelope envelope, @Nullable Hint hint) A callback which gets called right before an envelope is about to be sentvoid
register
(@NotNull IHub hub, @NotNull SentryOptions options) Registers an integration
-
Constructor Details
-
SpotlightIntegration
public SpotlightIntegration()
-
-
Method Details
-
register
Description copied from interface:Integration
Registers an integration- Specified by:
register
in interfaceIntegration
- Parameters:
hub
- the Huboptions
- the options
-
execute
Description copied from interface:SentryOptions.BeforeEnvelopeCallback
A callback which gets called right before an envelope is about to be sent- Specified by:
execute
in interfaceSentryOptions.BeforeEnvelopeCallback
- Parameters:
envelope
- the envelopehint
- the hints
-
getSpotlightConnectionUrl
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-