PushConfigCenter

public class PushConfigCenter

The primary management class for push notification initialization configuration

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)
Get the appropriate push notification type based on the device model and user's enabled push notification type
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)
// Determine whether token upload is required
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)