For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt, and this page is available as Markdown at /next/api/lynx-native-api/lynx-view-client/on-template-bundle-ready.md.
Lynx
  • English
  • onTemplateBundleReady

    Provide a reusable TemplateBundle after template is decode.

    Syntax

    Android

    public void onTemplateBundleReady(@NonNull TemplateBundle bundle);

    Parameters

    • bundle: The recycled template bundle, it is nonnull but could be invalid.
    Note
    • This callback is disabled by default, and you can enable it through the DUMP_ELEMENT option or RECYCLE_TEMPLATE_BUNDLE option in LynxLoadMeta.

    iOS

    - (void)onTemplateBundleReady:(LynxTemplateBundle *)bundle;

    Parameters

    • bundle: the recycled template bundle, it is nonnull but could be invalid
    Note
    • This callback is disabled by default, and you can enable it through the enableRecycleTemplateBundle option in LynxLoadMeta.

    Harmony

    public onTemplateBundleReady(bundle: TemplateBundle): void;

    Parameters

    • bundle: The recycled template bundle, it is nonnull but could be invalid.
    Note
    • This callback is disabled by default, and you can enable it through theDUMP_ELEMENT option or RECYCLE_TEMPLATE_BUNDLE option in LynxLoadMeta.

    Compatibility

    LCD tables only load in the browser

    Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.