1.1. Customize device information under the settings panel
The user can customize the device icon and name in the Tuya smart camera settings panel.
Declaration
implement this TuyaSmartCameraPanelSDKDelegate delegate method:
- (BOOL)cameraPanelSDK:(TuyaSmartCameraPanelSDK *)cameraPanelSDK deviceGotoSettingPanel:(TuyaSmartDeviceModel *)deviceModel;
Parameter
| Parameter | Description |
|---|---|
| cameraPanelSDK | TuyaSmartCameraPanelSDK |
| deviceModel | TuyaSmartDeviceModel |
Example
- (BOOL)cameraPanelSDK:(TuyaSmartCameraPanelSDK *)cameraPanelSDK deviceGotoCustomCameraInfoPanel:(TuyaSmartDeviceModel *)deviceModel {
NSLog(@"---- deviceGotoSettingPanel");
return YES;
}