fileRelationSave
版本要求:
@tuya-miniapp/cloud-api≥1.0.5
方法签名
fileRelationSave(fileInfo: , devId: string)描述
保存宠物媒体文件
参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| 是 | 文件信息:objectKey、fileName | ||
devId | string | 是 | 设备 id |
返回值
类型:Promise<boolean>
boolean
fileRelationSave(fileInfo: , devId: string)保存宠物媒体文件
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| 是 | 文件信息:objectKey、fileName | ||
devId | string | 是 | 设备 id |