Package io.sentry
Class SentryReplayEvent
java.lang.Object
io.sentry.SentryBaseEvent
io.sentry.SentryReplayEvent
- All Implemented Interfaces:
JsonSerializable
,JsonUnknown
public final class SentryReplayEvent
extends SentryBaseEvent
implements JsonUnknown, JsonSerializable
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
static enum
Nested classes/interfaces inherited from class io.sentry.SentryBaseEvent
SentryBaseEvent.Serializer
-
Field Summary
Fields inherited from class io.sentry.SentryBaseEvent
DEFAULT_PLATFORM, throwable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
@Nullable SentryId
@Nullable Date
@NotNull SentryReplayEvent.ReplayType
int
@NotNull Date
@NotNull String
getType()
getUrls()
@Nullable File
int
hashCode()
void
serialize
(@NotNull ObjectWriter writer, @NotNull ILogger logger) void
setErrorIds
(@Nullable List<String> errorIds) void
setReplayId
(@Nullable SentryId replayId) void
setReplayStartTimestamp
(@Nullable Date replayStartTimestamp) void
setReplayType
(@NotNull SentryReplayEvent.ReplayType replayType) void
setSegmentId
(int segmentId) void
setTimestamp
(@NotNull Date timestamp) void
setTraceIds
(@Nullable List<String> traceIds) void
void
setUnknown
(@Nullable Map<String, Object> unknown) void
void
setVideoFile
(@Nullable File videoFile) Methods inherited from class io.sentry.SentryBaseEvent
addBreadcrumb, addBreadcrumb, getBreadcrumbs, getContexts, getDebugMeta, getDist, getEnvironment, getEventId, getExtra, getExtras, getPlatform, getRelease, getRequest, getSdk, getServerName, getTag, getTags, getThrowable, getThrowableMechanism, getUser, removeExtra, removeTag, setBreadcrumbs, setDebugMeta, setDist, setEnvironment, setEventId, setExtra, setExtras, setPlatform, setRelease, setRequest, setSdk, setServerName, setTag, setTags, setThrowable, setUser
-
Field Details
-
REPLAY_VIDEO_MAX_SIZE
public static final long REPLAY_VIDEO_MAX_SIZE- See Also:
-
REPLAY_EVENT_TYPE
- See Also:
-
-
Constructor Details
-
SentryReplayEvent
public SentryReplayEvent()
-
-
Method Details
-
getVideoFile
-
setVideoFile
-
getType
-
setType
-
getReplayId
-
setReplayId
-
getSegmentId
public int getSegmentId() -
setSegmentId
public void setSegmentId(int segmentId) -
getTimestamp
-
setTimestamp
-
getReplayStartTimestamp
-
setReplayStartTimestamp
-
getUrls
-
setUrls
-
getErrorIds
-
setErrorIds
-
getTraceIds
-
setTraceIds
-
getReplayType
-
setReplayType
-
equals
-
hashCode
public int hashCode() -
serialize
public void serialize(@NotNull @NotNull ObjectWriter writer, @NotNull @NotNull ILogger logger) throws IOException - Specified by:
serialize
in interfaceJsonSerializable
- Throws:
IOException
-
getUnknown
- Specified by:
getUnknown
in interfaceJsonUnknown
-
setUnknown
- Specified by:
setUnknown
in interfaceJsonUnknown
-