Customize Theme
Themes include two types: black and white, support the settings panel and local album panel of Tuya Smart Camera
Declaration
Users can set the theme through TuyaCameraPanelSDK.setTheme () method
// themeId 1:black,2:white
TuyaCameraPanelSDK.setTheme(themeId);
Parameters
Parameter | Description |
---|---|
themeId | int: 1,black;2,white |
Example
TuyaCameraPanelSDK.setTheme(1);
Only support settings / local album panel