Customize cloud storage

User-defined cloud storage,refer to Tuya Smart Camera SDK - CloudStorage

Declaration

Set up CloudStoragePanelListener, customize the panel to implement cloud storage video playback.

TuyaCameraPanelSDK.setCustomCloudStoragePanelListener(CloudStoragePanelListener cloudStoragePanelListener);

Parameters

Parameter Description
cloudStoragePanelListener CloudStoragePanelListener interface, set this listener to customize the cloud storage panel; if not set, skip to the default Tuya camera cloud storage panel

Example

TuyaCameraPanelSDK.setCustomCloudStoragePanelListener(new CloudStoragePanelListener() {
    @Override
    public void onCloudStoragePanelClick(String deviceId) {
        L.d(TAG, "Customize cloud storage " + deviceId);
    }
});

results matching ""

    No results matching ""