add 友盟统计

This commit is contained in:
lianxiang
2018-08-27 17:09:56 +08:00
parent 6e090fd28d
commit 6a8d55457a
54 changed files with 2560 additions and 1314 deletions
@@ -0,0 +1,15 @@
//
// EnvExport.h
// SecurityEnvTest
//
// Created by asherli on 17/9/1.
// Copyright © 2017年 alibaba. All rights reserved.
//
#ifndef EnvExport_h
#define EnvExport_h
#define SEC_ERROR_UMID_OK 0
#define SEC_ERROR_UMID_UNKNOWN_ERR 1
#endif /* EnvExport_h */
@@ -0,0 +1,21 @@
//
// ISecurityEnvInitListener.h
// SecurityEnvSDK
//
// Created by asherli on 17/9/1.
// Copyright © 2017年 alibaba. All rights reserved.
//
#ifndef SECURITYENV_ISECURITY_ENV_INITLISTENER_H
#define SECURITYENV_ISECURITY_ENV_INITLISTENER_H
#import <Foundation/Foundation.h>
#include "EnvExport.h"
@interface ISecurityEnvInitListener : NSObject
- (void) onUMIDInitFinished : (const char *) strToken : (int) status;
@end
#endif /* SECURITYENV_ISECURITY_ENV_INITLISTENER_H */
@@ -0,0 +1,27 @@
//
// SecurityEnvSDK.h
// SecurityGuardMain
//
// Created by asherli on 2017/07/12.
// Copyright © 2016年 alibaba. All rights reserved.
//
#ifndef SECURITYENV_SECURITY_ENV_SDK_H
#define SECURITYENV_SECURITY_ENV_SDK_H
#import <Foundation/Foundation.h>
#import "ISecurityEnvInitListener.h"
@interface SecurityEnvSDK : NSObject
- (NSInteger) initSync;
- (void) initASync : (ISecurityEnvInitListener *) listener;
- (NSString*) getToken;
// build by mtl
@end
#endif /* SECURITYENV_SECURITY_ENV_SDK_H */