模拟器下 spine 无法获得的 trackEntry.animation的timelines信息

我想在spine某个animation的两个event 之间做一些其他的操作,为此需要在播放动画时就获取两个event的时间间隔,而不是等到event事件到来时再处理。现在我是这么做的
let skeleton = this.spineNode.getComponent(sp.Skeleton);
skeleton.setAnimation(0, this.stateName, this.loop);
let entry = skeleton.getCurrent(0);
entry.animation.timelines.forEach(timeline =>{
//…
});

这个代码在浏览器上可以正确取得 trackEntry.animation.timelines 数组,
但是在模拟器上执行却报错
Simulator: TypeError: entry.animation.timelines.forEach is not a function

我想问下为什么模拟器上和浏览器的trackEntry结构不一样?
还有没有其他的方法获得这个animation下event的时间?