Class SdkInfo

java.lang.Object
io.sentry.protocol.SdkInfo
All Implemented Interfaces:
JsonSerializable, JsonUnknown

public final class SdkInfo extends Object implements JsonUnknown, JsonSerializable
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.

  • Constructor Details

    • SdkInfo

      public SdkInfo()
  • Method Details

    • getSdkName

      @Nullable public @Nullable String getSdkName()
    • setSdkName

      public void setSdkName(@Nullable @Nullable String sdkName)
    • getVersionMajor

      @Nullable public @Nullable Integer getVersionMajor()
    • setVersionMajor

      public void setVersionMajor(@Nullable @Nullable Integer versionMajor)
    • getVersionMinor

      @Nullable public @Nullable Integer getVersionMinor()
    • setVersionMinor

      public void setVersionMinor(@Nullable @Nullable Integer versionMinor)
    • getVersionPatchlevel

      @Nullable public @Nullable Integer getVersionPatchlevel()
    • setVersionPatchlevel

      public void setVersionPatchlevel(@Nullable @Nullable Integer versionPatchlevel)
    • getUnknown

      @Nullable public @Nullable Map<String,Object> getUnknown()
      Specified by:
      getUnknown in interface JsonUnknown
    • setUnknown

      public void setUnknown(@Nullable @Nullable Map<String,Object> unknown)
      Specified by:
      setUnknown in interface JsonUnknown
    • serialize

      public void serialize(@NotNull @NotNull ObjectWriter writer, @NotNull @NotNull ILogger logger) throws IOException
      Specified by:
      serialize in interface JsonSerializable
      Throws:
      IOException