| Parameter | Type | Description |
|---|---|---|
id | number | Button ID (the id you used when registering the button) |
state | boolean | Button state: true enable, false disable |
Promise<boolean>:Set result
Enable or disable a button.
| Parameter | Type | Description |
|---|---|---|
id | number | Button ID (the id you used when registering the button) |
state | boolean | Button state: true enable, false disable |
Promise<boolean>:Set result