Package com.swrve.sdk

Class SwrvePushDeDuper


  • public class SwrvePushDeDuper
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      SwrvePushDeDuper​(android.content.Context context)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.util.LinkedList<java.lang.String> getRecentNotificationIdCache​(android.content.Context context)  
      boolean isDupe​(android.os.Bundle msg)  
      protected void updateRecentNotificationIdCache​(java.util.LinkedList<java.lang.String> recentIds, java.lang.String newId, int maxCacheSize, android.content.Context context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DEFAULT_PUSH_ID_CACHE_SIZE

        protected final int DEFAULT_PUSH_ID_CACHE_SIZE
        See Also:
        Constant Field Values
    • Constructor Detail

      • SwrvePushDeDuper

        public SwrvePushDeDuper​(android.content.Context context)
    • Method Detail

      • isDupe

        public boolean isDupe​(android.os.Bundle msg)
      • getRecentNotificationIdCache

        protected java.util.LinkedList<java.lang.String> getRecentNotificationIdCache​(android.content.Context context)
      • updateRecentNotificationIdCache

        protected void updateRecentNotificationIdCache​(java.util.LinkedList<java.lang.String> recentIds,
                                                       java.lang.String newId,
                                                       int maxCacheSize,
                                                       android.content.Context context)