HarmonyOS 加载demo发现需要换成新的api,但是如何转化为以下的逻辑?

新的api:

let typeId = notifications[i].content.notificationContentType
阅读 463