Package io.rong.push.pushconfig
Class PushConfig.Builder
-
- All Implemented Interfaces:
public class PushConfig.Builder
-
-
Constructor Summary
Constructors Constructor Description PushConfig.Builder()
-
Method Summary
Modifier and Type Method Description PushConfig.Builder
enableMiPush(String miAppId, String miAppkey)
PushConfig.Builder
enableHWPush(boolean isEnable)
PushConfig.Builder
enableGCM(boolean isEnable)
PushConfig.Builder
enableFCM(boolean isEnable)
PushConfig.Builder
enableMeiZuPush(String mzAppId, String mzAppKey)
PushConfig.Builder
enableOppoPush(String oppoAppKey, String oppoAppSecret)
PushConfig.Builder
enableVivoPush(boolean isEnable)
PushConfig.Builder
enableHonorPush(boolean isEnable)
PushConfig.Builder
enableRongPush(boolean isEnable)
PushConfig
build()
PushConfig.Builder
setMiRegion(String region)
PushConfig.Builder
setAppKey(String appKey)
PushConfig.Builder
setPushNaviAddress(String naviAddress)
-
-
Method Detail
-
enableMiPush
PushConfig.Builder enableMiPush(String miAppId, String miAppkey)
-
enableHWPush
PushConfig.Builder enableHWPush(boolean isEnable)
-
enableGCM
PushConfig.Builder enableGCM(boolean isEnable)
-
enableFCM
PushConfig.Builder enableFCM(boolean isEnable)
-
enableMeiZuPush
PushConfig.Builder enableMeiZuPush(String mzAppId, String mzAppKey)
-
enableOppoPush
PushConfig.Builder enableOppoPush(String oppoAppKey, String oppoAppSecret)
-
enableVivoPush
PushConfig.Builder enableVivoPush(boolean isEnable)
-
enableHonorPush
PushConfig.Builder enableHonorPush(boolean isEnable)
- Parameters:
isEnable
- 是否启用荣耀推送- Returns:
Builder
- Since:
5.6.7
-
enableRongPush
PushConfig.Builder enableRongPush(boolean isEnable)
-
build
PushConfig build()
-
setMiRegion
PushConfig.Builder setMiRegion(String region)
-
setAppKey
PushConfig.Builder setAppKey(String appKey)
-
setPushNaviAddress
PushConfig.Builder setPushNaviAddress(String naviAddress)
-
-
-
-