Package 

Class ProductBean

  • All Implemented Interfaces:
    com.thingclips.smart.sdk.api.IStorageCache

    
    public class ProductBean
     implements IStorageCache
                        
    • Method Detail

      • getResptime

         long getResptime()

        Get server response time.

      • setResptime

         void setResptime(long resptime)

        Set server response time.

        Parameters:
        resptime - Server response time.
      • getId

         String getId()

        Get product id.

      • setId

         void setId(String id)
      • getCategory

         String getCategory()

        Get the secondary category of product information.

      • getMeshCategory

         String getMeshCategory()

        Get Bluetooth Mesh product category.

      • getPanelConfig

         Map<String, Object> getPanelConfig()

        Get panel config.

      • setPanelConfig

         void setPanelConfig(Map<String, Object> panelConfig)
      • getUiInfo

         UiInfo getUiInfo()

        Control panel information supported by the product.

        Provided to ReactNative panel.

      • getCategoryCode

         String getCategoryCode()

        Get the three-level category of product information.

      • isSupportSGroup

         boolean isSupportSGroup()

        Determine whether to support standard groups

      • isSupportGroup

         boolean isSupportGroup()

        Determine whether to support groups

      • getKey

         Object getKey()

        Get unique id

      • hasZigBee

         boolean hasZigBee()

        Determine whether the current product has zigbee protocol

      • hasBlueMesh

         boolean hasBlueMesh()

        Determine whether it has Bluetooth Mesh (Thing) capability.

        Blue mesh is Bluetooth Mesh (Thing) protocol.

      • hasSigMesh

         boolean hasSigMesh()

        Determine whether it has Bluetooth Mesh (SIG) capability.

        Sig mesh is Bluetooth Mesh (SIG) protocol.

      • hasWifi

         boolean hasWifi()

        Determine whether the current product has wifi protocol

      • isWifi

         boolean isWifi()

        Determine whether the current product has only wifi protocol

      • hasBluetooth

         boolean hasBluetooth()

        Determine whether the current product has Bluetooth protocol

      • hasCat1

         boolean hasCat1()

        Determine whether the current product has Cat1 protocol

      • isBeacon

         boolean isBeacon()

        Determine whether the current product has only Beacon protocol

      • isBluetooth

         boolean isBluetooth()

        Determine whether the current product has only Bluetooth protocol

      • isInfraredSubDevDisplayInList

         boolean isInfraredSubDevDisplayInList()

        Determine whether the infrared sub-device is displayed on the homepage.

        This function definition exists when the product information is defined,and it can be judged whether there is this mark to show or hide the infrared sub-device.

      • hasInfrared

         boolean hasInfrared()

        Determine whether the product has infrared capability.

      • has433

         boolean has433()

        Determine whether the product has 433 protocol or Thing-Smesh protocol.

      • hasThread

         boolean hasThread()

        Determine whether the product has Thread protocol .

      • isThread

         boolean isThread()

        Determine whether the product is Thread protocol .

      • getsSchema

        @Deprecated() StandSchema getsSchema()

        Deprecated. Replace by {@Link IThingHomeDataManager#getStandardProductConfig(java.lang.String)}

      • isStandard

         boolean isStandard()

        Determine whether it is a standard product