bonus-material-app/nativeplugins/Mpaas-Scan/ios/mPaas.framework/Headers/MTNetStatisticProxy.h

35 lines
905 B
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// MTNetStatisticProxy.h
// APMonitor
//
// 为了优化启动速度,控制启动时机
//
// Created by myy on 17/4/17.
// Copyright © 2017年 Alipay. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "MTNetModel.h"
@interface MTNetStatisticProxy : NSObject
+(instancetype)sharedInstance;
+ (void)setNetMonitorEnable:(BOOL)enable;
+ (BOOL)netMonitorEnable;
+ (void)setApmEnable:(BOOL)enable;
+ (BOOL)apmEnable;
-(void)markBootFinish; //标识app启动完成从而延迟触发一些配置解析和统计逻辑
-(BOOL)doFilter:(MTNetLog *) logInfo withLoging:(BOOL) logging;
-(void)doStat:(MTNetLog *) log;
-(NSString *) getAndClearScoreOverview;
-(NSString *) getDataFlowOverview;
-(NSDictionary*) getAndClearReportData;
-(NSString *) getAndClearBundlesStat;
//-(void) saveStatData;
-(NSString *) getNetAverageScore;
- (NSDictionary *)getAndClearDetailReportData;
@end