albumSettingEdit(params: AlbumSettingEditReq)
Requires:
@tuya-miniapp/cloud-api≥1.0.5
Description
Time Album settings edit API
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Yes | Request body |
Return Value
Type: Promise<boolean>
Whether editing succeeded
Referenced Types
enum
VisionEventType| Value | Actual Value | Description |
|---|---|---|
VisionEventType.PRESET | 0 | Preset event |
VisionEventType.CUSTOM | 1 | Custom event |
Valid Values
AlbumSettingEditReq.enableStatus
| Value | Description | Since |
|---|---|---|
0 | - | - |
1 | - | - |
VisionEventType
| Value | Description | Since |
|---|---|---|
0 | Preset event | - |
1 | Custom event | - |