Package backtraceio.library.models
Class BacktraceData
java.lang.Object
backtraceio.library.models.BacktraceData
Serializable Backtrace API data object
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal String
Name of the client that is sending this error report.Version of the android libraryCurrent host environment variablesGet built-in attributesString[]
Get a report classifiers.android.content.Context
Current application contextfinal String
Name of programming language/environment this error comes from.Version of programming language/environment this error comes from.Get a main thread nameCurrent BacktraceReportIf sending a Proguard obfuscated callstack, we need to set this field to "proguard" so the backend knowslong
UTC timestamp in seconds16 bytes of randomness in human readable UUID format server will reject request if uuid is already found -
Constructor Summary
ConstructorsConstructorDescriptionBacktraceData
(android.content.Context context, BacktraceReport report, Map<String, Object> clientAttributes) Create instance of report data -
Method Summary
Modifier and TypeMethodDescriptionGet absolute paths to report attachments
-
Field Details
-
lang
Name of programming language/environment this error comes from.- See Also:
-
agent
Name of the client that is sending this error report.- See Also:
-
symbolication
If sending a Proguard obfuscated callstack, we need to set this field to "proguard" so the backend knows -
uuid
16 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
Version of programming language/environment this error comes from. -
agentVersion
Version of the android library -
attributes
Get built-in attributes -
mainThread
Get a main thread name -
classifiers
Get a report classifiers. If user send custom message, then variable should be null -
annotations
Current host environment variables -
sourceCode
-
report
Current BacktraceReport -
context
public transient android.content.Context contextCurrent 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 contextreport
- current reportclientAttributes
- attributes which should be added to BacktraceData object
-
-
Method Details
-
getAttachments
Get absolute paths to report attachments- Returns:
- paths to attachments
-