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.

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.