harmony 鸿蒙hiappevent_cfg.h

  • 2025-06-16
  • 浏览 (1)

hiappevent_cfg.h

概述

定义事件打点配置函数的所有配置项名称。

如果开发者想要对应用事件打点功能进行配置,开发者可以直接使用配置项常量。

示例代码:

bool res = OH_HiAppEvent_Configure(MAX_STORAGE, "100M");

库: libhiappevent_ndk.z.so

引用文件: <hiappevent/hiappevent_cfg.h>

系统能力: SystemCapability.HiviewDFX.HiAppEvent

起始版本: 8

相关模块:HiAppEvent

汇总

宏定义

名称 描述
DISABLE   “disable” 事件打点开关。默认值为false。true:关闭打点功能,false:不关闭打点功能。
MAX_STORAGE   “max_storage” 事件文件目录存储配额大小。默认值为“10M”。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Performance Analysis Kit(性能分析服务)

harmony 鸿蒙HiAppEvent

harmony 鸿蒙HiAppEvent_AppEventGroup

harmony 鸿蒙HiAppEvent_AppEventInfo

harmony 鸿蒙HiCollie

harmony 鸿蒙HiCollie_DetectionParam

harmony 鸿蒙HiCollie_SetTimerParam

harmony 鸿蒙HiDebug

harmony 鸿蒙HiDebug_JsStackFrame

harmony 鸿蒙HiDebug_MemoryLimit

0  赞