English
English
简体中文
Contact Us
Register
Log In
layoutIndex

API Change List

Last Updated on : 2022-02-17 06:18:47download

Change API cross-reference table

1.0 API 1.9.6 API Capabilities
TuyaCommercialLightingSdk#init TuyaSdk#init SDK initialization
TuyaCommercialLightingSdk#setDebugMode TuyaSdk#setDebugMode SDK Set Debug Mode
TuyaCommercialLightingSdk#onDestroy TuyaSdk#onDestroy Logging off the TuyaSmartCloud connection
TuyaCommercialLightingSdk#setOnNeedLoginListener TuyaSdk#setOnNeedLoginListener Set login interface callback
TuyaCommercialLightingSdk#newProjectInstance TuyaCommercialLightingProject#newProjectInstance Create a project interface object implementation
TuyaCommercialLightingSdk#getLightingProjectManager TuyaCommercialLightingProject#getLightingProjectManager Get Project Management Class Object
TuyaCommercialLightingSdk#newAreaInstance TuyaCommercialLightingArea#newAreaInstance Create Space Instance
TuyaCommercialLightingSdk#getLightingAreaManager TuyaCommercialLightingArea#getLightingAreaManager Get the space management class object
TuyaCommercialLightingSdk#getLightingUserManager TuyaOSUser#getUserInstance Get the user management class object
TuyaCommercialLightingSdk#getGroupPackManager TuyaCommercialLightingGroupPack#getGroupPackManager Get the combined group manager class
TuyaCommercialLightingSdk#newGroupPackInstance TuyaCommercialLightingGroupPack#newGroupPackInstance Create Group Pack Instance
TuyaCommercialLightingSdk#getProjectConfig TuyaCommercialLightingProject#getProjectConfig Get project configuration
TuyaCommercialLightingSdk#getAreaObserverManager TuyaCommercialLightingArea#getAreaObserverManager Get Space Observer Manager object
TuyaCommercialLightingSdk#newDeviceInstance TuyaOSDevice#newDeviceInstance Create a device object
TuyaCommercialLightingSdk#newGatewayInstance TuyaOSDevice#newGatewayInstance Create Gateway Object
TuyaCommercialLightingSdk#getActivatorInstance TuyaOSActivator#deviceActivator Get device pairing instance
TuyaCommercialLightingSdk#getBleManager TuyaOSBLE#manager Get the Bluetooth device manager class
TuyaCommercialLightingSdk#getBleOperator TuyaOSBLE#operator Get the Bluetooth device operator object
TuyaCommercialLightingSdk#newSigMeshDeviceInstance TuyaOSMesh#newDevice Create Bluetooth Mesh device object
TuyaCommercialLightingSdk#getTuyaBlueMeshConfig TuyaOSMesh#activator Get private Bluetooth Mesh mapping object
TuyaCommercialLightingSdk.newSigMeshDeviceInstance TuyaOSMesh#newDevice
TuyaCommercialLightingSdk.newBlueMeshDeviceInstance TuyaOSTyMesh#newDevice
TuyaCommercialLightingSdk#getMeshInstance TuyaCommercialLightingBLE#getMeshInstance
TuyaCommercialLightingSdk#getSigMeshInstance TuyaCommercialLightingBLE#getSigMeshInstance
TuyaCommercialLightingSdk#getTuyaBlueMeshClient TuyaCommercialLightingBLE#getTuyaBlueMeshClient
TuyaCommercialLightingSdk#getTuyaSigMeshClient TuyaCommercialLightingBLE#getTuyaSigMeshClient
TuyaCommercialLightingSdk#getDeviceManager TuyaCommercialLightingDevice#getDeviceManager

New API List

API Capability Description
TuyaCommercialLightingRegion#getRegionManager Get the region management class, used in outdoor projects
TuyaCommercialLightingRepair#getRepairManager Get the region management class, used in outdoor projects
TuyaCommercialLightingRepair#getRepairManager Get the equipment repair management class
TuyaCommercialLightingRepair#newRepairInstance Create a repair instance object
TuyaCommercialLightingRepair#getRepairUploader getRepairUploader interface class
TuyaCommercialLightingSysAlarm#getSysAlarmInstance getSysAlarmInstance
TuyaCommercialLightingEnergy#getLightingEnergy Get device energy object

Deleted API List

  • TuyaCommercialLightingSdk#getDeviceManager
  • TuyaCommercialLightingSdk#newBlueMeshDeviceInstance
  • TuyaCommercialLightingSdk#newBlueMeshGroupInstance
  • TuyaCommercialLightingSdk#newSigMeshGroupInstance
  • TuyaCommercialLightingSdk#newBlueMeshLocalGroupInstance
  • TuyaCommercialLightingSdk#getMeshInstance
  • TuyaCommercialLightingSdk#getSigMeshInstance
  • TuyaCommercialLightingSdk#getTuyaBlueMeshClient
  • TuyaCommercialLightingSdk#getTuyaSigMeshClient

Device base capability related modules facade class

API Capability Description
TuyaOSActivator DeviceCore related module facade class
TuyaOSBLE Bluetooth Module Facade Class
TuyaOSCamera Camera Module Facade Class
TuyaOSDevice Device Capability Facade
TuyaOSMesh Bluetooth Mesh Module Facade
TuyaOSMQTT MQTT module facade class
TuyaOSMultiControl Device multi-control module facade class
TuyaOSTimer Timer module facade class
TuyaOSUser User module facade class

Business license business-related modules facade class

API Capability Description
TuyaCommercialLightingArea Space management module facade category
TuyaCommercialLightingEnergy Equipment energy consumption module facade class
TuyaCommercialLightingGroupPack Combination group module facade class
TuyaCommercialLightingProject Project management module facade class
TuyaCommercialLightingRegion Region Module Facade Category (for outdoor projects only)
TuyaCommercialLightingRepair Devices repair module facade class
TuyaCommercialLightingSysAlarm System alarm module facade class
TuyaCommercialLightingBLE Business license Bluetooth-related capabilities (not recommended)
TuyaCommercialLightingDevice Commercial photography equipment-related capabilities (not recommended)