# PushConfigCenter

public class PushConfigCenter

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

#### Author

zoulu

## Constructors

PushConfigCenter
Link copied to clipboard
public void PushConfigCenter()

## Functions

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