bonus-material-app/nativeplugins/Mpaas-Scan/ios/MPMasAdapter.framework/Headers/MPRemoteLoggingInterface.h

55 lines
1.9 KiB
Objective-C
Raw Permalink 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.

//
// MPRemoteLoggingInterface.h
// MPMasAdapter
//
// Created by kuoxuan on 2019/2/22.
// Copyright © 2019 mPaaS. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface MPRemoteLoggingInterface : NSObject
/**
* 行为埋点接口。客户端版本、用户ID、设备ID、操作系统版本、网络类型、设备类型、软件版本会自动填充不需要业务埋点。
* @param bizType 可选,业务类型,默认为 behavior建议业务方填写业务标识
* @param eventId 必填, 埋点ID
* @param extParam 可选扩展参数业务自己根据需要填充。元素是字典字典内容可自定义字典会被转换成key-value的字符串计入日志。
*/
+ (void)writeLogWithBizType:(NSString *)bizType
eventId:(NSString *)eventId
extParam:(NSDictionary *)extParam;
/**
* 行为埋点接口。客户端版本、用户ID、设备ID、操作系统版本、网络类型、设备类型、软件版本会自动填充不需要业务埋点。
* bizType 默认为 behavior
* @param actionId action ID 必填标识一个埋点的类别可用actionID定义在APMonitorPointDataDefines.h
文件中
* @param eventId 可选埋点ID
* @param extParam 可选扩展参数业务自己根据需要填充。元素是字典字典内容可自定义字典会被转换成key-value的字符串计入日志。
*/
+ (void)writeLogWithActionId:(NSString *)actionId
eventId:(NSString *)eventId
extParam:(NSDictionary *)extParam __attribute__((deprecated("请使用 writeLogWithBizType:eventId:extParam 方法")));
/**
* 强制上报内存中还未上报的日志
*/
+ (void)upload;
/**
业务自定义的 APM 网络监控埋点接口
*/
+ (void)writeAPMNetLog:(NSDictionary*)extParam;
@end
NS_ASSUME_NONNULL_END