Package io.rong.push.pushconfig
Class PushFactory
-
- All Implemented Interfaces:
public class PushFactory
-
-
Constructor Summary
Constructors Constructor Description PushFactory()
-
Method Summary
Modifier and Type Method Description static IPush
getPushProcessorByType(PushType pushType)
根据推送类型获取对应的处理器 static void
setPushProcessor(PushType pushType, IPush processor)
设置指定推送的处理器,一般用于自定义处理第三方推送,以便解决和极光个推等的冲突问题。 此方法需要在 init 之前, 仅在主进程调用 -
-
Method Detail
-
getPushProcessorByType
static IPush getPushProcessorByType(PushType pushType)
根据推送类型获取对应的处理器
- Parameters:
pushType
- 推送类型- Returns:
推送处理器
-
setPushProcessor
static void setPushProcessor(PushType pushType, IPush processor)
设置指定推送的处理器,一般用于自定义处理第三方推送,以便解决和极光个推等的冲突问题。
此方法需要在 init 之前, 仅在主进程调用
- Parameters:
pushType
- 推送类型processor
- 自定义处理器
-
-
-
-