Object AnonDecisionStore

  • All Implemented Interfaces:

    
    public class AnonDecisionStore
    
                        

    Persists the anonymisation decision across process restarts.

    Written on every save so the next cold start can restore gate state before the first network response arrives, preventing a window where PII signals would leak.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final AnonResponse load(Context context) Returns the last persisted decision, or null if none has been saved yet.
      final Unit save(Context context, AnonResponse response) Persists response so it survives process death.
      final Unit clear(Context context) Removes the persisted decision; used when the SDK account changes.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait