PushConfigCenter

public class PushConfigCenter

用来进行推送初始化配置的主要管理类

Author

zoulu

Constructors

Link copied to clipboard
public void PushConfigCenter()

Functions

Link copied to clipboard
public static boolean containsType(List<TokenBean> list, PushType type)
Link copied to clipboard
public List<PushType> getPreferPushType(Context context, PushConfig pushConfig)
获取适合的推送类型 根据手机机型和用户 enable 适配的推送类型
Link copied to clipboard
public static String getToken(List<TokenBean> list, PushType type)
Link copied to clipboard
public boolean isNeedReportToken(Context context, PushType pushType, String token)
判断是否需要上传 token
Link copied to clipboard
public static void updateTokenBean(List<TokenBean> list, PushType type, String token)
Link copied to clipboard
public static List<TokenBean> updateTokenBeanReport(List<TokenBean> list, Map<String, String> failMap)