Package io.rong.push.rongpush
Class RongPushCacheHelper
-
- All Implemented Interfaces:
public class RongPushCacheHelper
-
-
Field Summary
Fields Modifier and Type Field Description public final static String
DeviceId
-
Constructor Summary
Constructors Constructor Description RongPushCacheHelper()
-
Method Summary
Modifier and Type Method Description static RongPushCacheHelper
getInstance()
boolean
isCacheValid(Context context, String appKey)
void
cacheRongPushIPs(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)
-
-
-
-