-
public class DeviceBeanDescribe the device model.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classDeviceBean.DevUpgradeStatusDevice upgrade status.
public interfaceDeviceBean.EnableState
-
Field Summary
Fields Modifier and Type Field Description public final static StringUI_TYPE_RNpublic final static intBASE_ATTRIBUTE_THING_MATTERpublic StringiconUrlpublic StringdevIdpublic Stringnamepublic Stringschemapublic Stringuipublic StringverSwpublic StringuiTypepublic StringproductIdpublic StringproductVerpublic StringappRnVersionpublic StringuiPhasepublic booleanrnFindpublic booleansupportGrouppublic longtimepublic Stringpvpublic Stringbvpublic Map<String, SchemaBean>schemaMappublic Map<String, Object>dpspublic Map<String, Long>dpsTimepublic Map<String, Object>uiConfigpublic Map<String, Object>panelConfigpublic BooleanisSharepublic StringruntimeEnvpublic StringgwTypepublic booleanvirtualpublic Stringlonpublic Stringlatpublic intabilitypublic StringdisplayMsgspublic StringdisplayDpspublic StringquickOpDpspublic longi18nTimepublic StringlocalKeypublic Stringuuidpublic Map<String, Object>dpCodesprivate StringcommunicationIdprivate booleanhasMqttCommunicationprivate booleanhasLanCommunicationprivate booleanhasBleCommunicationprivate booleanhasSigmeshCommunicationprivate booleanhasHttpCommunicationprivate Stringipprivate BooleanisOnlineprivate BooleanisLocalOnlineprivate longattributeprivate intswitchDpprivate List<Integer>faultDpsprivate StringschemaExtprivate StringuiNameprivate HgwBeanhgwBeanprivate ProductBeanproductBeanprivate ProductRefBeanproductRefBeanprivate DeviceBizPropBeandeviceBizPropBeanprivate ProductStandardConfigproductStandardConfigprivate StringtimezoneIdprivate Stringcadvprivate StringmeshIdprivate StringnodeIdprivate intdisplayOrderprivate inthomeDisplayOrderprivate longdpMaxTimeprivate longerrorCodeprivate Map<String, Object>skillsprivate Map<String, String>dpNameprivate StringdevKeyprivate Stringmacprivate StringparentIdprivate StringparentDevIdprivate List<DeviceBean.DevUpgradeStatus>devUpgradeStatusprivate longsharedTimeprivate longdevAttributeprivate StringdeviceCategoryprivate StringcategoryCodeprivate Stringcategoryprivate booleanhasThingMeshCommunicationprivate longprotocolAttributeprivate longbaseAttributeprivate List<Integer>otaUpgradeModesprivate booleansupportAutoUpgradeprivate intwifiEnableStateprivate intzigBeeBleSubEnableStatusprivate Map<String, Object>metaprivate StringownerIdprivate intconnectionStatusprivate booleansupportProxyAndRelayprivate booleanopenProxyprivate booleanopenRelayprivate intaccessTypeprivate ThingSmartThingModelthingModelprivate StringsecKeyprivate intdataModelprivate longmqttTopicAttrprivate booleanvirtualExperience
-
Constructor Summary
Constructors Constructor Description DeviceBean()DeviceBean(Boolean useNewCache)
-
Method Summary
Modifier and Type Method Description StringgetIconUrl()voidsetIconUrl(String iconUrl)StringgetDevId()Get device id. voidsetDevId(String devId)StringgetName()Get device name. voidsetName(String name)StringgetSchema()Get schema of the defined all data points. voidsetSchema(String schema)StringgetUi()voidsetUi(String ui)StringgetVerSw()voidsetVerSw(String verSw)StringgetUiType()voidsetUiType(String uiType)StringgetProductId()voidsetProductId(String productId)StringgetProductVer()voidsetProductVer(String productVer)StringgetAppRnVersion()voidsetAppRnVersion(String appRnVersion)StringgetUiPhase()voidsetUiPhase(String uiPhase)booleangetRnFind()voidsetRnFind(boolean rnFind)voidsetSupportGroup(boolean supportGroup)longgetTime()voidsetTime(long time)StringgetPv()voidsetPv(String pv)StringgetBv()voidsetBv(String bv)Map<String, SchemaBean>getSchemaMap()Get the mapping between data points and the schema that defines data points form ProductBean.SchemaInfo. voidsetSchemaMap(Map<String, SchemaBean> schemaMap)Map<String, Object>getDps()voidsetDps(Map<String, Object> dps)Map<String, Long>getDpsTime()Get data points update time map. voidsetDpsTime(Map<String, Long> dpsTime)Map<String, Object>getUiConfig()voidsetUiConfig(Map<String, Object> uiConfig)Map<String, Object>getPanelConfig()voidsetPanelConfig(Map<String, Object> panelConfig)BooleangetIsShare()voidsetIsShare(Boolean isShare)StringgetRuntimeEnv()voidsetRuntimeEnv(String runtimeEnv)StringgetGwType()voidsetGwType(String gwType)voidsetVirtual(boolean virtual)StringgetLon()voidsetLon(String lon)StringgetLat()voidsetLat(String lat)intgetAbility()voidsetAbility(int ability)StringgetDisplayMsgs()voidsetDisplayMsgs(String displayMsgs)StringgetDisplayDps()voidsetDisplayDps(String displayDps)StringgetQuickOpDps()voidsetQuickOpDps(String quickOpDps)longgetI18nTime()voidsetI18nTime(long i18nTime)StringgetLocalKey()Get device local communication key. voidsetLocalKey(String localKey)StringgetUuid()voidsetUuid(String uuid)Map<String, Object>getDpCodes()Get device data point codes, such as "switch_led:true"The code defined by the device for each function point may be different,depending on the background definition during firmware development. voidsetDpCodes(Map<String, Object> dpCodes)StringgetCommunicationId()Get communication node id. voidsetCommunicationId(String communicationId)voidsetHasMqttCommunication(boolean hasMqttCommunication)voidsetHasLanCommunication(boolean hasLanCommunication)voidsetHasBleCommunication(boolean hasBleCommunication)voidsetHasSigmeshCommunication(boolean hasSigmeshCommunication)voidsetHasHttpCommunication(boolean hasHttpCommunication)StringgetIp()Get device LAN ip. voidsetIp(String ip)BooleangetIsOnline()Get device online status, combine local online and cloud online status. voidsetIsOnline(Boolean isOnline)BooleangetIsLocalOnline()Get local online status. longgetAttribute()voidsetAttribute(long attribute)intgetSwitchDp()voidsetSwitchDp(int switchDp)List<Integer>getFaultDps()voidsetFaultDps(List<Integer> faultDps)StringgetSchemaExt()voidsetSchemaExt(String schemaExt)StringgetUiName()voidsetUiName(String uiName)HgwBeangetHgwBean()Get device local area network model. voidsetHgwBean(HgwBean hgwBean)ProductBeangetProductBean()Get product information. voidsetProductBean(ProductBean productBean)ProductRefBeangetProductRefBean()voidsetProductRefBean(ProductRefBean productRefBean)DeviceBizPropBeangetDeviceBizPropBean()voidsetDeviceBizPropBean(DeviceBizPropBean deviceBizPropBean)ProductStandardConfiggetProductStandardConfig()voidsetProductStandardConfig(ProductStandardConfig productStandardConfig)StringgetTimezoneId()Get time zone id. voidsetTimezoneId(String timezoneId)StringgetCadv()Get CAD version. voidsetCadv(String cadv)StringgetMeshId()The mesh id of the device, which is useful when the device is a sub-device. voidsetMeshId(String meshId)StringgetNodeId()The node id of the device, which is useful when the device is a sub-device. voidsetNodeId(String nodeId)intgetDisplayOrder()voidsetDisplayOrder(int displayOrder)intgetHomeDisplayOrder()voidsetHomeDisplayOrder(int homeDisplayOrder)longgetDpMaxTime()voidsetDpMaxTime(long dpMaxTime)longgetErrorCode()voidsetErrorCode(long errorCode)Map<String, Object>getSkills()voidsetSkills(Map<String, Object> skills)Map<String, String>getDpName()Get data point names. voidsetDpName(Map<String, String> dpName)StringgetDevKey()voidsetDevKey(String devKey)StringgetMac()Get device MAC address. voidsetMac(String mac)StringgetParentId()voidsetParentId(String parentId)StringgetParentDevId()If the device is sub-device, this method can get parent device id. voidsetParentDevId(String parentDevId)List<DeviceBean.DevUpgradeStatus>getDevUpgradeStatus()Get the current update status of the device. voidsetDevUpgradeStatus(List<DeviceBean.DevUpgradeStatus> devUpgradeStatus)longgetSharedTime()voidsetSharedTime(long sharedTime)longgetDevAttribute()Get device attribute. voidsetDevAttribute(long devAttribute)StringgetDeviceCategory()Get the secondary category of device. voidsetDeviceCategory(String deviceCategory)StringgetCategoryCode()Get the three-level category of device. voidsetCategoryCode(String categoryCode)StringgetCategory()Get Bluetooth Mesh product category. voidsetCategory(String category)booleangetHasThingMeshCommunication()Determine whether the device has Bluetooth Mesh (Thing) communication capability voidsetHasThingMeshCommunication(boolean hasThingMeshCommunication)longgetProtocolAttribute()Activate sub-device capability flag. voidsetProtocolAttribute(long protocolAttribute)longgetBaseAttribute()voidsetBaseAttribute(long baseAttribute)List<Integer>getOtaUpgradeModes()voidsetOtaUpgradeModes(List<Integer> otaUpgradeModes)voidsetSupportAutoUpgrade(boolean supportAutoUpgrade)intgetWifiEnableState()voidsetWifiEnableState(int wifiEnableState)intgetZigBeeBleSubEnableStatus()voidsetZigBeeBleSubEnableStatus(int zigBeeBleSubEnableStatus)Map<String, Object>getMeta()voidsetMeta(Map<String, Object> meta)StringgetOwnerId()Get owner id of this device, owner id is home id. voidsetOwnerId(String ownerId)intgetConnectionStatus()voidsetConnectionStatus(int connectionStatus)voidsetSupportProxyAndRelay(boolean supportProxyAndRelay)voidsetOpenProxy(boolean openProxy)voidsetOpenRelay(boolean openRelay)intgetAccessType()get device type0 : thing device1 : tripartite matter device2 : thing link device voidsetAccessType(int accessType)ThingSmartThingModelgetThingModel()get thinglink model voidsetThingModel(ThingSmartThingModel thingModel)StringgetSecKey()voidsetSecKey(String secKey)intgetDataModel()voidsetDataModel(int dataModel)longgetMqttTopicAttr()voidsetMqttTopicAttr(long mqttTopicAttr)voidsetVirtualExperience(boolean virtualExperience)booleanisVirtualExperience()booleanisMatter()是否是Matter设备,包含涂鸦Matte与三方Matter booleanisThingMatter()是否是涂鸦体系的Matter 设备 booleanisTripartiteMatter()是否是三方 Matter 设备 booleanisSupportAutoUpgrade()Is device support auto upgrade. booleanisSupportProxyAndRelay()booleanisProxyOpen()booleanisRelayOpen()booleanisOpenRelay()booleanisOpenProxy()booleangetCommunicationOnline(CommunicationEnum commEnum)Get communication node online status, combine local online and cloud online status. booleanisSupportGroup()booleanisZigBeeSubDev()Determine whether the current device is a zigbee sub-device booleanisInfraredSubDev()Determine whether the current device is a infrared sub-device booleanisInfraredWifi()Determine whether the current device is a infrared gateway device booleanis433SubDev()Determine whether the current device is a 433 sub-device booleanis433Wifi()Determine whether the current device is a 433 gateway device booleanisThreadGwDev()Determine whether the current device is a thread gateway device booleanisThreadSubDev()Determine whether the current device is a thread sub device voidsetLocalOnline(Boolean localOnline)booleanisEncrypt()booleanisCloudOnline()Determine whether the device is online in the cloud. booleanisZigBeeWifi()Determine whether it is a zigbee gateway. booleanhasZigBee()Determine the device has zigbee communication capability. booleanisBleMeshWifi()Please use isBlueMeshWifi and isSigMeshWifi replace. booleanisBluetooth()Determine whether the device has Bluetooth communication capability. booleanisBeacon()Determine whether the device has Beacon communication capability. booleanisSingleBle()Determine whether the current device is a single-point Bluetooth device. booleanisBleMesh()Please use isBlueMesh and isSigMesh replace. booleanisBlueMesh()Determine whether it has Bluetooth Mesh (Thing) capability. booleanisSigMesh()Determine whether it has Bluetooth Mesh (SIG) capability. booleanisSigMeshWifi()Determine whether it is a Bluetooth Mesh (SIG) gateway. booleanhasConfigSigMesh()Determine whether the current device can activate Bluetooth Mesh (SIG) sub-device. booleanhasConfigZigbee()Determine whether the current device can activate Zigbee sub-device. booleanhasConfigSubpieces()Determine whether the current device can activate Subpieces sub-device or Thing-Smesh sub-device. booleanhasConfigBeacon()booleanisBlueMeshWifi()Determine whether it is a blue mesh gateway. booleanisWifiDevice()Determine whether the device is a wifi device. booleanisVirtual()Determine whether the current device is a virtual device booleanisHasMqttCommunication()Determine whether the device has mqtt communication capability booleanisHasLanCommunication()Determine whether the device has LAN communication capability booleanisHasBleCommunication()Determine whether the device has BLE(bluetooth low energy) communication capability booleanisHasSigmeshCommunication()Determine whether the device has Bluetooth Mesh (SIG) communication capability booleanisHasHttpCommunication()Determine whether the device has HTTP communication capability booleanisLocalDevice()是否是本地直连设备 booleanisSupportThingModelDevice()-
-
Method Detail
-
getIconUrl
String getIconUrl()
-
setIconUrl
void setIconUrl(String iconUrl)
-
getDevId
String getDevId()
Get device id.
-
setDevId
void setDevId(String devId)
-
getName
String getName()
Get device name.
-
setName
void setName(String name)
-
getSchema
String getSchema()
Get schema of the defined all data points.
-
setSchema
@Deprecated() void setSchema(String schema)
-
getUi
String getUi()
-
setUi
@Deprecated() void setUi(String ui)
-
getVerSw
String getVerSw()
-
setVerSw
void setVerSw(String verSw)
-
getUiType
String getUiType()
-
setUiType
void setUiType(String uiType)
-
getProductId
String getProductId()
-
setProductId
void setProductId(String productId)
-
getProductVer
String getProductVer()
-
setProductVer
@Deprecated() void setProductVer(String productVer)
-
getAppRnVersion
String getAppRnVersion()
-
setAppRnVersion
void setAppRnVersion(String appRnVersion)
-
getUiPhase
String getUiPhase()
-
setUiPhase
@Deprecated() void setUiPhase(String uiPhase)
-
getRnFind
boolean getRnFind()
-
setRnFind
@Deprecated() void setRnFind(boolean rnFind)
-
setSupportGroup
void setSupportGroup(boolean supportGroup)
-
getTime
long getTime()
-
setTime
void setTime(long time)
-
getPv
String getPv()
-
setPv
void setPv(String pv)
-
getBv
String getBv()
-
setBv
void setBv(String bv)
-
getSchemaMap
Map<String, SchemaBean> getSchemaMap()
Get the mapping between data points and the schema that defines data points form ProductBean.SchemaInfo.
-
setSchemaMap
@Deprecated() void setSchemaMap(Map<String, SchemaBean> schemaMap)
-
getDps
Map<String, Object> getDps()
-
setDps
void setDps(Map<String, Object> dps)
-
getDpsTime
Map<String, Long> getDpsTime()
Get data points update time map.
-
setDpsTime
@Deprecated() void setDpsTime(Map<String, Long> dpsTime)
-
getUiConfig
Map<String, Object> getUiConfig()
-
setUiConfig
@Deprecated() void setUiConfig(Map<String, Object> uiConfig)
-
getPanelConfig
Map<String, Object> getPanelConfig()
-
setPanelConfig
void setPanelConfig(Map<String, Object> panelConfig)
-
getIsShare
Boolean getIsShare()
-
setIsShare
void setIsShare(Boolean isShare)
-
getRuntimeEnv
String getRuntimeEnv()
-
setRuntimeEnv
void setRuntimeEnv(String runtimeEnv)
-
getGwType
String getGwType()
-
setGwType
void setGwType(String gwType)
-
setVirtual
@Deprecated() void setVirtual(boolean virtual)
-
getLon
String getLon()
-
setLon
@Deprecated() void setLon(String lon)
-
getLat
String getLat()
-
setLat
@Deprecated() void setLat(String lat)
-
getAbility
int getAbility()
-
setAbility
void setAbility(int ability)
-
getDisplayMsgs
String getDisplayMsgs()
-
setDisplayMsgs
@Deprecated() void setDisplayMsgs(String displayMsgs)
-
getDisplayDps
@Deprecated() String getDisplayDps()
-
setDisplayDps
@Deprecated() void setDisplayDps(String displayDps)
-
getQuickOpDps
String getQuickOpDps()
-
setQuickOpDps
@Deprecated() void setQuickOpDps(String quickOpDps)
-
getI18nTime
long getI18nTime()
-
setI18nTime
@Deprecated() void setI18nTime(long i18nTime)
-
getLocalKey
String getLocalKey()
Get device local communication key.
-
setLocalKey
void setLocalKey(String localKey)
-
getUuid
String getUuid()
-
setUuid
void setUuid(String uuid)
-
getDpCodes
Map<String, Object> getDpCodes()
Get device data point codes, such as "switch_led:true"
The code defined by the device for each function point may be different,depending on the background definition during firmware development.
-
setDpCodes
@Deprecated() void setDpCodes(Map<String, Object> dpCodes)
-
getCommunicationId
String getCommunicationId()
Get communication node id.
A communication node is a node that can connect to the Internet. For a sub-device,it is a gateway device; for a wifi and device, it is itself.
Communication node id is device id of communication node.
-
setCommunicationId
@Deprecated() void setCommunicationId(String communicationId)
-
setHasMqttCommunication
void setHasMqttCommunication(boolean hasMqttCommunication)
-
setHasLanCommunication
void setHasLanCommunication(boolean hasLanCommunication)
-
setHasBleCommunication
void setHasBleCommunication(boolean hasBleCommunication)
-
setHasSigmeshCommunication
void setHasSigmeshCommunication(boolean hasSigmeshCommunication)
-
setHasHttpCommunication
void setHasHttpCommunication(boolean hasHttpCommunication)
-
getIp
String getIp()
Get device LAN ip.
-
setIp
@Deprecated() void setIp(String ip)
-
getIsOnline
Boolean getIsOnline()
Get device online status, combine local online and cloud online status.
-
setIsOnline
void setIsOnline(Boolean isOnline)
-
getIsLocalOnline
Boolean getIsLocalOnline()
Get local online status.
-
getAttribute
long getAttribute()
-
setAttribute
@Deprecated() void setAttribute(long attribute)
-
getSwitchDp
int getSwitchDp()
-
setSwitchDp
void setSwitchDp(int switchDp)
-
getFaultDps
List<Integer> getFaultDps()
-
setFaultDps
@Deprecated() void setFaultDps(List<Integer> faultDps)
-
getSchemaExt
String getSchemaExt()
-
setSchemaExt
void setSchemaExt(String schemaExt)
-
getUiName
String getUiName()
-
setUiName
@Deprecated() void setUiName(String uiName)
-
getHgwBean
HgwBean getHgwBean()
Get device local area network model.
If it is not null, it means the device has established a LAN connection with the mobile phone
-
setHgwBean
@Deprecated() void setHgwBean(HgwBean hgwBean)
-
getProductBean
ProductBean getProductBean()
Get product information.
-
setProductBean
@Deprecated() void setProductBean(ProductBean productBean)
-
getProductRefBean
ProductRefBean getProductRefBean()
-
setProductRefBean
@Deprecated() void setProductRefBean(ProductRefBean productRefBean)
-
getDeviceBizPropBean
DeviceBizPropBean getDeviceBizPropBean()
-
setDeviceBizPropBean
@Deprecated() void setDeviceBizPropBean(DeviceBizPropBean deviceBizPropBean)
-
getProductStandardConfig
ProductStandardConfig getProductStandardConfig()
-
setProductStandardConfig
@Deprecated() void setProductStandardConfig(ProductStandardConfig productStandardConfig)
-
getTimezoneId
String getTimezoneId()
Get time zone id.
-
setTimezoneId
@Deprecated() void setTimezoneId(String timezoneId)
-
getCadv
String getCadv()
Get CAD version. CAD version is communication protocol version of cloud, application and device.
-
setCadv
@Deprecated() void setCadv(String cadv)
-
getMeshId
String getMeshId()
The mesh id of the device, which is useful when the device is a sub-device.
If the device is a Zigbee/infrared sub-device, meshId is parent device id.If the device is a sigmesh or thingmesh sub-device, meshId is mesh id (top-level virtual node id).
-
setMeshId
void setMeshId(String meshId)
-
getNodeId
String getNodeId()
The node id of the device, which is useful when the device is a sub-device.
-
setNodeId
@Deprecated() void setNodeId(String nodeId)
-
getDisplayOrder
int getDisplayOrder()
-
setDisplayOrder
@Deprecated() void setDisplayOrder(int displayOrder)
-
getHomeDisplayOrder
int getHomeDisplayOrder()
-
setHomeDisplayOrder
@Deprecated() void setHomeDisplayOrder(int homeDisplayOrder)
-
getDpMaxTime
long getDpMaxTime()
-
setDpMaxTime
@Deprecated() void setDpMaxTime(long dpMaxTime)
-
getErrorCode
long getErrorCode()
-
setErrorCode
@Deprecated() void setErrorCode(long errorCode)
-
getSkills
Map<String, Object> getSkills()
-
setSkills
@Deprecated() void setSkills(Map<String, Object> skills)
-
getDpName
Map<String, String> getDpName()
Get data point names.
-
setDpName
@Deprecated() void setDpName(Map<String, String> dpName)
-
getDevKey
String getDevKey()
-
setDevKey
@Deprecated() void setDevKey(String devKey)
-
getMac
String getMac()
Get device MAC address.
-
setMac
void setMac(String mac)
-
getParentId
String getParentId()
-
setParentId
@Deprecated() void setParentId(String parentId)
-
getParentDevId
String getParentDevId()
If the device is sub-device, this method can get parent device id.
-
setParentDevId
@Deprecated() void setParentDevId(String parentDevId)
-
getDevUpgradeStatus
List<DeviceBean.DevUpgradeStatus> getDevUpgradeStatus()
Get the current update status of the device.
-
setDevUpgradeStatus
void setDevUpgradeStatus(List<DeviceBean.DevUpgradeStatus> devUpgradeStatus)
-
getSharedTime
long getSharedTime()
-
setSharedTime
@Deprecated() void setSharedTime(long sharedTime)
-
getDevAttribute
long getDevAttribute()
Get device attribute.
bit0 Whether the device supports automatic activation bit1 The device supports dp query No. 31 protocol query bit2 Whether the device has local linkage capability bit3 Does the device support WIFI scanning bit4 Does the device support google local home bit5 Does the device support lightning distribution network capability bit6 Does the device support Bluetooth control bit7 Does the device support security capabilities bit8 Is the device a shared device bit9 Does the device support sunrise and sunset timing bit10 Does the device support fault replacement capability bit11 Does the device support OTA bit12 Does the device support WIFI backup switching
-
setDevAttribute
@Deprecated() void setDevAttribute(long devAttribute)
-
getDeviceCategory
String getDeviceCategory()
Get the secondary category of device. same asgetCategory
-
setDeviceCategory
@Deprecated() void setDeviceCategory(String deviceCategory)
-
getCategoryCode
String getCategoryCode()
Get the three-level category of device. same as getCategoryCode
-
setCategoryCode
@Deprecated() void setCategoryCode(String categoryCode)
-
getCategory
String getCategory()
Get Bluetooth Mesh product category. from getMeshCategory and getMeta,when getMeshCategory is empty ,will use getMeta.
-
setCategory
void setCategory(String category)
-
getHasThingMeshCommunication
boolean getHasThingMeshCommunication()
Determine whether the device has Bluetooth Mesh (Thing) communication capability
-
setHasThingMeshCommunication
void setHasThingMeshCommunication(boolean hasThingMeshCommunication)
-
getProtocolAttribute
long getProtocolAttribute()
Activate sub-device capability flag.
-
setProtocolAttribute
@Deprecated() void setProtocolAttribute(long protocolAttribute)
-
getBaseAttribute
long getBaseAttribute()
-
setBaseAttribute
@Deprecated() void setBaseAttribute(long baseAttribute)
-
getOtaUpgradeModes
List<Integer> getOtaUpgradeModes()
-
setOtaUpgradeModes
@Deprecated() void setOtaUpgradeModes(List<Integer> otaUpgradeModes)
-
setSupportAutoUpgrade
@Deprecated() void setSupportAutoUpgrade(boolean supportAutoUpgrade)
-
getWifiEnableState
int getWifiEnableState()
-
setWifiEnableState
@Deprecated() void setWifiEnableState(int wifiEnableState)
-
getZigBeeBleSubEnableStatus
int getZigBeeBleSubEnableStatus()
-
setZigBeeBleSubEnableStatus
@Deprecated() void setZigBeeBleSubEnableStatus(int zigBeeBleSubEnableStatus)
-
getMeta
Map<String, Object> getMeta()
-
setMeta
@Deprecated() void setMeta(Map<String, Object> meta)
-
getOwnerId
String getOwnerId()
Get owner id of this device, owner id is home id.
-
setOwnerId
@Deprecated() void setOwnerId(String ownerId)
-
getConnectionStatus
int getConnectionStatus()
-
setConnectionStatus
@Deprecated() void setConnectionStatus(int connectionStatus)
-
setSupportProxyAndRelay
void setSupportProxyAndRelay(boolean supportProxyAndRelay)
-
setOpenProxy
void setOpenProxy(boolean openProxy)
-
setOpenRelay
void setOpenRelay(boolean openRelay)
-
getAccessType
int getAccessType()
get device type0 : thing device1 : tripartite matter device2 : thing link device
-
setAccessType
@Deprecated() void setAccessType(int accessType)
-
getThingModel
ThingSmartThingModel getThingModel()
get thinglink model
-
setThingModel
@Deprecated() void setThingModel(ThingSmartThingModel thingModel)
-
getSecKey
String getSecKey()
-
setSecKey
void setSecKey(String secKey)
-
getDataModel
int getDataModel()
-
setDataModel
void setDataModel(int dataModel)
-
getMqttTopicAttr
long getMqttTopicAttr()
-
setMqttTopicAttr
void setMqttTopicAttr(long mqttTopicAttr)
-
setVirtualExperience
void setVirtualExperience(boolean virtualExperience)
-
isVirtualExperience
boolean isVirtualExperience()
-
isMatter
boolean isMatter()
是否是Matter设备,包含涂鸦Matte与三方Matter
-
isThingMatter
boolean isThingMatter()
是否是涂鸦体系的Matter 设备
-
isTripartiteMatter
boolean isTripartiteMatter()
是否是三方 Matter 设备
-
isSupportAutoUpgrade
boolean isSupportAutoUpgrade()
Is device support auto upgrade.
-
isSupportProxyAndRelay
boolean isSupportProxyAndRelay()
-
isProxyOpen
boolean isProxyOpen()
-
isRelayOpen
boolean isRelayOpen()
-
isOpenRelay
boolean isOpenRelay()
-
isOpenProxy
boolean isOpenProxy()
-
getCommunicationOnline
boolean getCommunicationOnline(CommunicationEnum commEnum)
Get communication node online status, combine local online and cloud online status.
A communication node is a node that can connect to the Internet. For a sub-device,it is a gateway device; for a wifi and device, it is itself.
-
isSupportGroup
boolean isSupportGroup()
-
isZigBeeSubDev
boolean isZigBeeSubDev()
Determine whether the current device is a zigbee sub-device
-
isInfraredSubDev
boolean isInfraredSubDev()
Determine whether the current device is a infrared sub-device
-
isInfraredWifi
boolean isInfraredWifi()
Determine whether the current device is a infrared gateway device
-
is433SubDev
boolean is433SubDev()
Determine whether the current device is a 433 sub-device
-
is433Wifi
boolean is433Wifi()
Determine whether the current device is a 433 gateway device
-
isThreadGwDev
boolean isThreadGwDev()
Determine whether the current device is a thread gateway device
-
isThreadSubDev
boolean isThreadSubDev()
Determine whether the current device is a thread sub device
-
setLocalOnline
@Deprecated() void setLocalOnline(Boolean localOnline)
-
isEncrypt
@Deprecated() boolean isEncrypt()
-
isCloudOnline
boolean isCloudOnline()
Determine whether the device is online in the cloud.
-
isZigBeeWifi
boolean isZigBeeWifi()
Determine whether it is a zigbee gateway.
-
hasZigBee
boolean hasZigBee()
Determine the device has zigbee communication capability.
-
isBleMeshWifi
@Deprecated() boolean isBleMeshWifi()
Please use isBlueMeshWifi and isSigMeshWifi replace.
-
isBluetooth
boolean isBluetooth()
Determine whether the device has Bluetooth communication capability.
-
isBeacon
boolean isBeacon()
Determine whether the device has Beacon communication capability.
-
isSingleBle
boolean isSingleBle()
Determine whether the current device is a single-point Bluetooth device.
Single-point Bluetooth devices are devices that have no Internet communication capabilitiesand can only be controlled via Bluetooth in the near field.
-
isBleMesh
@Deprecated() boolean isBleMesh()
Please use isBlueMesh and isSigMesh replace.
-
isBlueMesh
boolean isBlueMesh()
Determine whether it has Bluetooth Mesh (Thing) capability.
Blue mesh is Bluetooth Mesh (Thing) protocol.
-
isSigMesh
boolean isSigMesh()
Determine whether it has Bluetooth Mesh (SIG) capability.
Sig mesh is Bluetooth Mesh (SIG) protocol.
-
isSigMeshWifi
boolean isSigMeshWifi()
Determine whether it is a Bluetooth Mesh (SIG) gateway.
Sig mesh device is Bluetooth Mesh (SIG) protocol.
-
hasConfigSigMesh
boolean hasConfigSigMesh()
Determine whether the current device can activate Bluetooth Mesh (SIG) sub-device.
-
hasConfigZigbee
boolean hasConfigZigbee()
Determine whether the current device can activate Zigbee sub-device.
-
hasConfigSubpieces
boolean hasConfigSubpieces()
Determine whether the current device can activate Subpieces sub-device or Thing-Smesh sub-device.
-
hasConfigBeacon
boolean hasConfigBeacon()
-
isBlueMeshWifi
boolean isBlueMeshWifi()
Determine whether it is a blue mesh gateway.
Blue mesh device is thing private mesh protocol.
-
isWifiDevice
@Deprecated() boolean isWifiDevice()
Determine whether the device is a wifi device.
Deprecated, replace by hasMqttCommunication
-
isVirtual
boolean isVirtual()
Determine whether the current device is a virtual device
-
isHasMqttCommunication
boolean isHasMqttCommunication()
Determine whether the device has mqtt communication capability
-
isHasLanCommunication
boolean isHasLanCommunication()
Determine whether the device has LAN communication capability
-
isHasBleCommunication
boolean isHasBleCommunication()
Determine whether the device has BLE(bluetooth low energy) communication capability
-
isHasSigmeshCommunication
boolean isHasSigmeshCommunication()
Determine whether the device has Bluetooth Mesh (SIG) communication capability
-
isHasHttpCommunication
boolean isHasHttpCommunication()
Determine whether the device has HTTP communication capability
-
isLocalDevice
boolean isLocalDevice()
是否是本地直连设备
-
isSupportThingModelDevice
boolean isSupportThingModelDevice()
-
-
-
-