| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- //
- // XGPushPrivate.h
- // TPNS-SDK
- //
- // Created by uwei on 2019/1/23.
- // Copyright © 2019 TPNS of Tencent. All rights reserved.
- //
- #ifndef XGPushPrivate_h
- #define XGPushPrivate_h
- #import "XGPush.h"
- @interface XGPush (XGPushPrivate)
- /**
- 配置TPNS的二级域名
- @param domainName 二级域名
- @note 默认广州集群,例如tpns.sgp.tencent.com代表新加坡集群, tpns.hk.tencent.com代表香港集群,等等。
- */
- - (void)configureClusterDomainName:(NSString *)domainName;
- /**
- 配置TPNS的通知状态上报,失败后重试次数
- @param times 重试次数
- @note 默认3次,配置越大,尝试的次数越多。
- */
- - (void)configureMonitorNotificationStatusRetryTimes:(int)times;
- #pragma mark - ********以下接口,不再使用********
- /**
- 配置基础功能的网络相关
- @param host url地址
- @param port 端口号
- */
- - (void)configureHost:(NSString *)host port:(NSInteger)port __deprecated_msg("You should use configureClusterDomainName instead");
- /**
- 配置日志上报网络相关
- @param host url地址
- @param port 端口号
- */
- - (void)configureStatReportHost:(NSString *)host port:(NSInteger)port __deprecated_msg("You should use configureClusterDomainName instead");
- @end
- #endif /* XGPushPrivate_h */
|