-
- All Implemented Interfaces:
-
com.bugsnag.android.performance.SpanContext
public final class RemoteSpanContext implements SpanContext
A
SpanContextimplementation that can be constructed from a different system such as a server, or a different app layer (such as JavaScript running in a WebView or cross-platform framework).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRemoteSpanContext.Companion
-
Constructor Summary
Constructors Constructor Description RemoteSpanContext(Long spanId, UUID traceId)
-
Method Summary
-
-
Method Detail
-
getTraceId
UUID getTraceId()
-
toString
String toString()
Returns a string representation of the span context in the W3C
traceparentheader format.
-
equals
Boolean equals(Object other)
Compares this SpanContext to another object. Two SpanContext objects are considered equal if they have the same
spanIdandtraceId.
-
-
-
-