For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt, and this page is available as Markdown at /next/zh/api/lynx-native-api/lynx-view-client/on-performance-event.md.
Lynx
  • 简体中文
  • onPerformanceEvent

    通知客户端性能事件已发送。每当生成性能事件时,都会调用该方法,包括但不限于容器初始化、引擎渲染、渲染指标更新等。

    语法

    Android

    public void onPerformanceEvent(@NonNull PerformanceEntry entry);

    参数

    iOS

    - (void)onPerformanceEvent:(nonnull LynxPerformanceEntry *)entry;

    参数

    Harmony

    public onPerformanceEvent(entry: PerformanceEntry): void;

    参数

    兼容性

    LCD tables only load in the browser

    除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。