enable or not
the attribute of the game
reporting frequency, unit: minutes
the attribute of the game
the name of the game scene
const gameAttribute = new huawei.agc.apms.game.GameAttribute('Game', huawei.agc.apms.game.LoadingState.LOADING);
huawei.agc.apms.game.apmsGameService.startLoadingScene(gameAttribute);
the name of the scene
Generated using TypeDoc
Enable or disable APM Game Plugin service. The default value is true (enabled), which means that the APM Game Plugin application performance data collection is enabled. If you need to disable the APM Game Plugin application performance data collection, you can set the value to false
设置APM Game Plugin服务开关。开关的默认值为true(打开),表示启用APM Game Plugin应用性能数据采集。如果需要停用APM Game Plugin应用性能数据采集,可将开关值设为false(关闭)
huawei.agc.apms.game.apmsGameService.enableGamePlugin(true);