浏览代码

add apm game doc

/main
meng.yan 3 年前
当前提交
8a3ff81d
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 2
      Documentation/api/apiIndexApm.md
  2. 2
      Documentation/apm.md

2
Documentation/api/apiIndexApm.md


Start recording scene loading time.<br>``开始记录场景加载时间``|startLoadingScene(GameAttribute gameAttribute)|
Stop recording scene loading time.<br>``停止记录场景加载时间``|stopLoadingScene(string scene)|
Save current game properties.<br>``保存当前游戏属性``|setCurrentGameAttribute(GameAttribute gameAttribute)|
Set the reporting frequency of game performance data, unit: minute.<br>``设置游戏性能数据上报频率,单位:分钟``|setReportRate(int intervalMin)|
Set the reporting frequency of game performance data, unit: minute.<br>``设置游戏性能数据上报频率,单位:分钟``|setReportMinRate(int intervalMin)|
Whether to enable APM Game Plugin service.<br>``是否启用APM Game Plugin服务``|enableGamePlugin(boolean enabled)|

2
Documentation/apm.md


// ...
// Add APM SDK library dependency
implementation 'com.huawei.agconnect:agconnect-apms:1.5.2.300'
implementation 'com.huawei.agconnect:agconnect-apms-game:1.5.2.300'
implementation 'com.huawei.agconnect:agconnect-apms-game:1.5.2.303'
}
```

正在加载...
取消
保存