Last Updated on : 2026-01-19 07:02:25download
thingSmartActivator.getDefaultDeviceListData()
In the all-in-one app, this data is displayed in the manual pairing entry list on the pairing homepage.
/**
* Default manual list data set
* @returns
*/
function getDefaultDeviceListData():Promise<LevelResultBean>
/**
* Get the data of level-1 categories
* @returns
*/
function getDeviceLevelFirstData():Promise<LevelFirstBean[]>
/**
* Get the list of level-2 categories
* @param levelCode
* @param type
* @returns
*/
function getDeviceLevelSecondData(levelCode: string, type: number):Promise<LevelSecondBean[]>
| Key | Description |
|---|---|
| levelCode | The category code, obtained from the level-1 category interface: levelFirstList[0].level1Code. |
| type | The category type, obtained from the level-1 category interface: levelFirstList[0].type. |
/**
* The details of level-3 categories
* @param bizType
* @param bizValue
* @returns
*/
function getDeviceLevelThirdDetailData(bizType: number, bizValue: string):Promise<LevelThirdBean>
| Key | Description |
|---|---|
| bizType | The business type. Pass 0 for category, and 1 for pid. |
| bizValue | The business value, obtained from the level-1 category interface: levelSecondList[0].level3Items[0].category or this.levelSecondList[0].level3Items[0].pid. |
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback