Home > SYS_FileManager > getFootprintFileByFootprintUuid
SYS_FileManager.getFootprintFileByFootprintUuid() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
使用封装 UUID 获取封装文件
Signature
typescript
getFootprintFileByFootprintUuid(footprintUuid: string | Array<string>, libraryUuid?: string): Promise<File | undefined>;
1
Parameters
Parameter | Type | Description |
---|---|---|
footprintUuid | string | Array<string> | 封装 UUID 或封装 UUID 列表 |
libraryUuid | string | (Optional) 库 UUID,可以使用 LIB_LibrariesList 内的接口获取 |
Returns
Promise<File | undefined>
封装文件数据,undefined
表示数据获取失败
Remarks
可以使用 SYS_FileSystem.saveFile() 接口将文件导出到本地文件系统