Class BacktraceData

java.lang.Object
backtraceio.library.models.BacktraceData

public class BacktraceData extends Object
Serializable Backtrace API data object
  • Field Details

    • lang

      @SerializedName("lang") public final String lang
      Name of programming language/environment this error comes from.
      See Also:
    • agent

      @SerializedName("agent") public final String agent
      Name of the client that is sending this error report.
      See Also:
    • symbolication

      @SerializedName("symbolication") public String symbolication
      If sending a Proguard obfuscated callstack, we need to set this field to "proguard" so the backend knows
    • uuid

      @SerializedName("uuid") public String uuid
      16 bytes of randomness in human readable UUID format server will reject request if uuid is already found
    • timestamp

      @SerializedName("timestamp") public long timestamp
      UTC timestamp in seconds
    • langVersion

      @SerializedName("langVersion") public String langVersion
      Version of programming language/environment this error comes from.
    • agentVersion

      @SerializedName("agentVersion") public String agentVersion
      Version of the android library
    • attributes

      @SerializedName("attributes") public Map<String,String> attributes
      Get built-in attributes
    • mainThread

      @SerializedName("mainThread") public String mainThread
      Get a main thread name
    • classifiers

      @SerializedName("classifiers") public String[] classifiers
      Get a report classifiers. If user send custom message, then variable should be null
    • annotations

      @SerializedName("annotations") public Map<String,Object> annotations
      Current host environment variables
    • sourceCode

      @SerializedName("sourceCode") public Map<String,SourceCode> sourceCode
    • report

      public transient BacktraceReport report
      Current BacktraceReport
    • context

      public transient android.content.Context context
      Current application context
  • Constructor Details

    • BacktraceData

      public BacktraceData(android.content.Context context, BacktraceReport report, Map<String,Object> clientAttributes)
      Create instance of report data
      Parameters:
      context - current application context
      report - current report
      clientAttributes - attributes which should be added to BacktraceData object
  • Method Details

    • getAttachments

      public List<String> getAttachments()
      Get absolute paths to report attachments
      Returns:
      paths to attachments