Package io.rong.push.rongpush
Class RongPushCacheHelper
-
- All Implemented Interfaces:
public class RongPushCacheHelper
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringDeviceId
-
Constructor Summary
Constructors Constructor Description RongPushCacheHelper()
-
Method Summary
Modifier and Type Method Description static RongPushCacheHelpergetInstance()booleanisCacheValid(Context context, String appKey)voidcacheRongPushIPs(Context context, ArrayList<String> addressList, long time)ArrayList<String>getCachedAddressList(Context context)-
-
Method Detail
-
getInstance
static RongPushCacheHelper getInstance()
-
isCacheValid
boolean isCacheValid(Context context, String appKey)
-
cacheRongPushIPs
void cacheRongPushIPs(Context context, ArrayList<String> addressList, long time)
-
getCachedAddressList
ArrayList<String> getCachedAddressList(Context context)
-
-
-
-