开发 API 基础 performance PerformanceEntryList PerformanceEntryList.getEntriesByName
# PerformanceEntryList.getEntriesByName
更新时间:2024-09-18 14:46:36
获取性能数据列表中所有名称为 name
且类型为 entryType
的性能数据。
# getEntriesByName(name: string, entryType?: string): PerformanceEntry[]
# 参数
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
name | string | 是 | 指定性能数据的名称 |
entryType | string | 否 | 指定性能数据的类型 |
# 返回值
# PerformanceEntry[]
上一篇:《PerformanceEntryList.getEntries》
下一篇:《PerformanceEntryList.getEntriesByType》
仍有疑问? 前往社区提问