# PushFactory

public class PushFactory

## Constructors

PushFactory
Link copied to clipboard
public void PushFactory()

## Functions

getPushProcessorByType
Link copied to clipboard
public static IPush getPushProcessorByType(PushType pushType)
根据推送类型获取对应的处理器
setPushProcessor
Link copied to clipboard
public static void setPushProcessor(PushType pushType, IPush processor)
设置指定推送的处理器，一般用于自定义处理第三方推送，以便解决和极光个推等的冲突问题。 此方法需要在 init 之前, 仅在主进程调用