IdentifyDeviceCriteria

public class IdentifyDeviceCriteria extends Object

Constant Summary

int PRODUCT_WILDCARD_ID_NEST_CAM Special value to use for TargetProductId that indicates that any generation of Nest Cam or Nest Cam Outdoor can be considered valid to respond to an identify request.
int PRODUCT_WILDCARD_ID_NEST_PROTECT Special value to use for TargetProductId that indicates that any generation of Nest Protect can be considered valid to respond to an identify request.
int PRODUCT_WILDCARD_ID_NEST_THERMOSTAT Special value to use for TargetProductId that indicates that any generation of Nest Thermostat can be considered valid to respond to an identify request.

Field Summary

public long TargetDeviceId Specifies that only the device with the specified Weave Node id should respond.
public long TargetFabricId Specifies that only devices that are members of the specified Weave fabric should respond.
public TargetDeviceModes TargetModes Specifies that only devices that are currently in the specified modes should respond.
public int TargetProductId Specifies that only devices with the given product id should respond.
public int TargetVendorId Specifies that only devices manufactured by the given vendor should respond.

Public Constructor Summary

Inherited Method Summary

Constants

public static final int PRODUCT_WILDCARD_ID_NEST_CAM

Special value to use for TargetProductId that indicates that any generation of Nest Cam or Nest Cam Outdoor can be considered valid to respond to an identify request.

Constant Value: 65522

public static final int PRODUCT_WILDCARD_ID_NEST_PROTECT

Special value to use for TargetProductId that indicates that any generation of Nest Protect can be considered valid to respond to an identify request.

Constant Value: 65521

public static final int PRODUCT_WILDCARD_ID_NEST_THERMOSTAT

Special value to use for TargetProductId that indicates that any generation of Nest Thermostat can be considered valid to respond to an identify request.

Constant Value: 65520

Fields

public long TargetDeviceId

Specifies that only the device with the specified Weave Node id should respond. A value of -1 specifies all devices should respond.

public long TargetFabricId

Specifies that only devices that are members of the specified Weave fabric should respond. Value can be an actual fabric id, or one of the values defined in the TargetFabricId class.

public TargetDeviceModes TargetModes

Specifies that only devices that are currently in the specified modes should respond. Values are taken from the TargetDeviceModes enum.

public int TargetProductId

Specifies that only devices with the given product id should respond. A value of -1 specifies any product. If the TargetProductId field is specified, then the TargetVendorId must also be specified.

public int TargetVendorId

Specifies that only devices manufactured by the given vendor should respond. A value of -1 specifies any vendor.

Public Constructors

public IdentifyDeviceCriteria ()