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/react/Interface.DataProcessorDefinition.md.
  • 简体中文
  • @lynx-js/react / DataProcessorDefinition

    接口: DataProcessorDefinition

    Definition of DataProcessor(s)

    属性

    dataProcessors?

    optional dataProcessors: DataProcessors;

    Should be used with lynx.registerDataProcessors. See more examples at Lynx.registerDataProcessors.

    定义于

    @lynx-js/react/runtime/lib/lynx-api.d.ts:324


    defaultDataProcessor()?

    optional defaultDataProcessor: (rawInitData: InitDataRaw) => InitData;

    You can custom input and output type of defaultDataProcessor by extends InitDataRaw and InitData

    Should be used with lynx.registerDataProcessors. See more examples at Lynx.registerDataProcessors.

    参数

    范围类型描述
    rawInitDataInitDataRawinitData passed from native code

    返回

    InitData

    定义于

    @lynx-js/react/runtime/lib/lynx-api.d.ts:318

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