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/template-bundle/get-extra-info.md.
Lynx
  • 简体中文
  • getExtraInfo

    读取前端模板 pageConfig 中配置的 extraInfo 字段的内容。

    语法

    Android

    public Map<String, Object> getExtraInfo();

    返回值

    • 当前端未配置 extraInfo 或在空的 TemplateBundle 对象上调用时,返回 null,否则返回 extraInfo 字段。

    iOS

    - (NSDictionary *_Nullable)extraInfo;

    返回值

    • 当前端未配置 extraInfo 或在空的 TemplateBundle 对象上调用时,返回 nil,否则返回 extraInfo 字段。

    Harmony

    public getExtraInfo(): Map<string, Object>;

    返回值

    • 当前端未配置 extraInfo 或在空的 TemplateBundle 对象上调用时,返回 null。

    兼容性

    LCD tables only load in the browser

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