Package backtraceio.library.models
Class BacktraceData
- java.lang.Object
-
- backtraceio.library.models.BacktraceData
-
public class BacktraceData extends java.lang.ObjectSerializable Backtrace API data object
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringagentName of the client that is sending this error report.java.lang.StringagentVersionVersion of the android libraryjava.util.Map<java.lang.String,java.lang.Object>annotationsCurrent host environment variablesjava.util.Map<java.lang.String,java.lang.String>attributesGet built-in attributesjava.lang.String[]classifiersGet a report classifiers.android.content.ContextcontextCurrent application contextjava.lang.StringlangName of programming language/environment this error comes from.java.lang.StringlangVersionVersion of programming language/environment this error comes from.java.lang.StringmainThreadGet a main thread nameBacktraceReportreportCurrent BacktraceReportjava.util.Map<java.lang.String,SourceCode>sourceCodejava.lang.StringsymbolicationIf sending a Proguard obfuscated callstack, we need to set this field to "proguard" so the backend knowslongtimestampUTC timestamp in secondsjava.lang.Stringuuid16 bytes of randomness in human readable UUID format server will reject request if uuid is already found
-
Constructor Summary
Constructors Constructor Description BacktraceData(android.content.Context context, BacktraceReport report, java.util.Map<java.lang.String,java.lang.Object> clientAttributes)Create instance of report data
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>getAttachments()Get absolute paths to report attachments
-
-
-
Field Detail
-
lang
@SerializedName("lang") public final java.lang.String langName of programming language/environment this error comes from.- See Also:
- Constant Field Values
-
agent
@SerializedName("agent") public final java.lang.String agentName of the client that is sending this error report.- See Also:
- Constant Field Values
-
symbolication
@SerializedName("symbolication") public java.lang.String symbolicationIf sending a Proguard obfuscated callstack, we need to set this field to "proguard" so the backend knows
-
uuid
@SerializedName("uuid") public java.lang.String uuid16 bytes of randomness in human readable UUID format server will reject request if uuid is already found
-
timestamp
@SerializedName("timestamp") public long timestampUTC timestamp in seconds
-
langVersion
@SerializedName("langVersion") public java.lang.String langVersionVersion of programming language/environment this error comes from.
-
agentVersion
@SerializedName("agentVersion") public java.lang.String agentVersionVersion of the android library
-
attributes
@SerializedName("attributes") public java.util.Map<java.lang.String,java.lang.String> attributesGet built-in attributes
-
mainThread
@SerializedName("mainThread") public java.lang.String mainThreadGet a main thread name
-
classifiers
@SerializedName("classifiers") public java.lang.String[] classifiersGet a report classifiers. If user send custom message, then variable should be null
-
annotations
@SerializedName("annotations") public java.util.Map<java.lang.String,java.lang.Object> annotationsCurrent host environment variables
-
sourceCode
@SerializedName("sourceCode") public java.util.Map<java.lang.String,SourceCode> sourceCode
-
report
public transient BacktraceReport report
Current BacktraceReport
-
context
public transient android.content.Context context
Current application context
-
-
Constructor Detail
-
BacktraceData
public BacktraceData(android.content.Context context, BacktraceReport report, java.util.Map<java.lang.String,java.lang.Object> clientAttributes)Create instance of report data- Parameters:
context- current application contextreport- current reportclientAttributes- attributes which should be added to BacktraceData object
-
-