1、变更推送为阿里云推,清除云信IM以及推送内容;
2、消息页面全新改版; 3、部分微小Bug修复
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
//
|
||||
// AlicloudReport.h
|
||||
// AlicloudUtils
|
||||
//
|
||||
// Created by ryan on 3/6/2016.
|
||||
// Copyright © 2016 Ali. All rights reserved.
|
||||
//
|
||||
|
||||
#ifndef AlicloudReport_h
|
||||
#define AlicloudReport_h
|
||||
|
||||
extern const NSString *EXT_INFO_KEY_VERSION;
|
||||
extern const NSString *EXT_INFO_KEY_PACKAGE;
|
||||
|
||||
// SDK标识
|
||||
typedef NS_ENUM(NSInteger, AMSService) {
|
||||
AMSMAN = 0,
|
||||
AMSHTTPDNS,
|
||||
AMSMPUSH,
|
||||
AMSMAC,
|
||||
AMSAPI,
|
||||
AMSHOTFIX,
|
||||
AMSFEEDBACK,
|
||||
AMSIM
|
||||
};
|
||||
|
||||
// 上报状态
|
||||
typedef NS_ENUM(NSInteger, AMSReportStatus) {
|
||||
AMS_UNREPORTED_STATUS,
|
||||
AMS_REPORTED_STATUS
|
||||
};
|
||||
|
||||
@interface AlicloudReport : NSObject
|
||||
|
||||
/**
|
||||
* 异步上报活跃设备统计
|
||||
*
|
||||
@param tag SDK标识
|
||||
*/
|
||||
+ (void)statAsync:(AMSService)tag;
|
||||
|
||||
/**
|
||||
* 异步上报活跃设备统计并携带附加信息
|
||||
*
|
||||
@param tag SDK标识
|
||||
@param extInfo 附加上报信息 { EXT_INFO_KEY_VERSION :"x.x.x", EXT_INFO_KEY_PACKAGE: "xxx"}
|
||||
*/
|
||||
+ (void)statAsync:(AMSService)tag extInfo:(NSDictionary *)extInfo;
|
||||
|
||||
/**
|
||||
* 获取指定SDK标识上报状态
|
||||
*
|
||||
@param tag SDK标识
|
||||
@return 返回上报状态
|
||||
*/
|
||||
+ (AMSReportStatus)getReportStatus:(AMSService)tag;
|
||||
|
||||
/**
|
||||
* 获取上报状态(兼容老版本接口)
|
||||
*
|
||||
@param tag SDK标识
|
||||
@return YES:已经上报 NO:没有上报
|
||||
*/
|
||||
+ (BOOL)isDeviceReported:(AMSService)tag;
|
||||
|
||||
@end
|
||||
|
||||
#endif /* AlicloudReport_h */
|
||||
Reference in New Issue
Block a user