Package io.sentry.protocol
Class SdkInfo
java.lang.Object
io.sentry.protocol.SdkInfo
- All Implemented Interfaces:
JsonSerializable
,JsonUnknown
Holds information about the system SDK.
This is relevant for iOS and other platforms that have a system SDK. Not to be confused with the client SDK.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
@Nullable Integer
@Nullable Integer
@Nullable Integer
void
serialize
(@NotNull ObjectWriter writer, @NotNull ILogger logger) void
setSdkName
(@Nullable String sdkName) void
setUnknown
(@Nullable Map<String, Object> unknown) void
setVersionMajor
(@Nullable Integer versionMajor) void
setVersionMinor
(@Nullable Integer versionMinor) void
setVersionPatchlevel
(@Nullable Integer versionPatchlevel)
-
Constructor Details
-
SdkInfo
public SdkInfo()
-
-
Method Details
-
getSdkName
-
setSdkName
-
getVersionMajor
-
setVersionMajor
-
getVersionMinor
-
setVersionMinor
-
getVersionPatchlevel
-
setVersionPatchlevel
-
getUnknown
- Specified by:
getUnknown
in interfaceJsonUnknown
-
setUnknown
- Specified by:
setUnknown
in interfaceJsonUnknown
-
serialize
public void serialize(@NotNull @NotNull ObjectWriter writer, @NotNull @NotNull ILogger logger) throws IOException - Specified by:
serialize
in interfaceJsonSerializable
- Throws:
IOException
-