QNUserScaleConfig

User Scale device configuration class, which controls the user scale operation

Configuration instructions:

  • When wifiConfig = null && curUser != null, the SDK only performs operations such as registration and access
  • When wifiConfig != null && curUser == null, the SDK only configures the device
  • When wifiConfig != null && curUser != null, the SDK will configure the network first, and then perform operations such as registration and access after the network configuration is successful; if the network configuration fails, there will be no operations such as registration and access

Parameters

name Types of Is it necessary Explanation
wifiConfig QNWiFiConfig N Distribution network information. For devices that support WiFi, when the value value is null, the network configuration operation is not performed; when the value value is the QNWiFiConfig object, the network configuration settings are performed according to the value in the object
userlist QNUser N The list of registered scale users, which is used to delete redundant users on the scale synchronously. When the list is null, no sync user list operation will be done
curUser QNUser N The current measurement user can be set to null when only network configuration is required and no measurement is required.
isVisitor Boolean N Whether to use the visitor for measurement, no need to set QNUser when using the visitor to measure, no need to set index, secret

results matching ""

    No results matching ""