Use TuyaCameraPanelSDK

TuyaCameraPanelSDK is an external public interface of Tuya Smart Camera Panel SDK, which includes jump and custom implementation of multiple panels.

Please refer to the demo procedure to configure a successful camera and perform operations related to the camera panel.

TuyaCameraPanelSDK Demo

Set HomeId

Before jumping to the camera panel, you need to set the home Id where the camera device is located. Enter the corresponding panel page through the home Id and device Id

Declaration

Set the homeId where the camera is currently located

TuyaCameraPanelSDK.setCurrentHomeId(homeId);

Parameters

Parameter Description
homeId the homeId where the device is located, which can be obtained through the TuyaSmartHomeSDK - Home Management interface

Example

TuyaCameraPanelSDK.setCurrentHomeId(homeId);

results matching ""

    No results matching ""