Package io.sentry.util
Class ApplyScopeUtils
- java.lang.Object
-
- io.sentry.util.ApplyScopeUtils
-
@Internal public final class ApplyScopeUtils 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 boolean
shouldApplyScopeData(@Nullable 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.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
-
-