Package io.sentry.util
Class HintUtils
- java.lang.Object
-
- io.sentry.util.HintUtils
-
@Internal public final class HintUtils extends java.lang.Object
Util class for Applying or not scope's data to an event
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @Nullable java.lang.Object
getSentrySdkHint(@Nullable java.util.Map<java.lang.String,java.lang.Object> hint)
static boolean
shouldApplyScopeData(@Nullable java.util.Map<java.lang.String,java.lang.Object> hint)
Scope's data should be applied if: Hint is of the type ApplyScopeData or Hint is not Cached (this includes a null hint)
-
-
-
Method Detail
-
shouldApplyScopeData
public static boolean shouldApplyScopeData(@Nullable @Nullable java.util.Map<java.lang.String,java.lang.Object> hint)
Scope's data should be applied if: Hint is of the type ApplyScopeData or Hint is not Cached (this includes a null hint)- Parameters:
hint
- the hint- Returns:
- true if it should apply scope's data or false otherwise
-
getSentrySdkHint
@Nullable public static @Nullable java.lang.Object getSentrySdkHint(@Nullable @Nullable java.util.Map<java.lang.String,java.lang.Object> hint)
-
-