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/update-meta-data.md.
Lynx
  • English
  • updateMetaData

    Using LynxUpdateMeta to update LynxView, it is the main entrance for the client to update template data.

    Syntax

    Android

    public void updateMetaData(LynxUpdateMeta meta);

    Parameters

    • meta: Lynx template update metadata, developers use this data structure to specify the optional data content of the update template.

    iOS

    - (void)updateMetaData:(nonnull LynxUpdateMeta *)meta;

    Parameters

    • meta: Lynx template update metadata, developers use this data structure to specify the optional data content of the update template.

    Web

    export type Cloneable<T = string | number | null | boolean | undefined> =
      | T
      | Record<string, T>
      | T[];
    
    updateData(
      data: Cloneable,
      updateDataType: UpdateDataType,
      callback?: () => void,
    ): void;
    updateGlobalProps(data: Cloneable): void;

    Parameters

    • data: Data to be updated, should be structuredClone compatible.

    Desktop (C++)

    void UpdateData(std::shared_ptr<lynx::pub::LynxUpdateMeta> update_meta);

    Parameters

    • update_meta: The update metadata used to provide template data and global props.

    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.