Package io.sentry
Class SpanOptions
java.lang.Object
io.sentry.SpanOptions
- Direct Known Subclasses:
TransactionOptions
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable String@NotNull ScopeBindingMode@Nullable SentryDateGets the startTimestampbooleanisIdle()booleanbooleanvoidsetIdle(boolean idle) voidvoidsetScopeBindingMode(@NotNull ScopeBindingMode scopeBindingMode) voidsetStartTimestamp(@Nullable SentryDate startTimestamp) Sets the startTimestampvoidsetTrimEnd(boolean trimEnd) voidsetTrimStart(boolean trimStart)
-
Field Details
-
origin
-
-
Constructor Details
-
SpanOptions
public SpanOptions()
-
-
Method Details
-
getStartTimestamp
Gets the startTimestamp- Returns:
- startTimestamp - the startTimestamp
-
setStartTimestamp
Sets the startTimestamp- Parameters:
startTimestamp- - the startTimestamp
-
isTrimStart
public boolean isTrimStart() -
isTrimEnd
public boolean isTrimEnd() -
isIdle
public boolean isIdle() -
setTrimStart
public void setTrimStart(boolean trimStart) -
setTrimEnd
public void setTrimEnd(boolean trimEnd) -
setIdle
public void setIdle(boolean idle) -
getOrigin
-
setOrigin
-
getScopeBindingMode
-
setScopeBindingMode
-