Package com.swrve.sdk
Class SwrvePushDeDuper
- java.lang.Object
-
- com.swrve.sdk.SwrvePushDeDuper
-
public class SwrvePushDeDuper extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected int
DEFAULT_PUSH_ID_CACHE_SIZE
-
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)
-
-
-
Field Detail
-
DEFAULT_PUSH_ID_CACHE_SIZE
protected final int DEFAULT_PUSH_ID_CACHE_SIZE
- See Also:
- Constant Field Values
-
-
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)
-
-