DeviceInfo.Builder

public static final class DeviceInfo.Builder extends Object

Builder for constructing DeviceInfo instances.

Public Method Summary

DeviceInfo
build()
Constructs a DeviceInfo as configured by this builder.
DeviceInfo.Builder
setDiscriminator(Discriminator discriminator)
Set the 12-bit discriminator for the device to be commissioned.
DeviceInfo.Builder
setProductId(int productId)
Set the 16-bit product identifier of the device to be commissioned.
DeviceInfo.Builder
setVendorId(int vendorId)
Set the 16-bit vendor identifier of the device to be commissioned.

Inherited Method Summary

Public Methods

public DeviceInfo build ()

Constructs a DeviceInfo as configured by this builder.

public DeviceInfo.Builder setDiscriminator (Discriminator discriminator)

Set the 12-bit discriminator for the device to be commissioned.

public DeviceInfo.Builder setProductId (int productId)

Set the 16-bit product identifier of the device to be commissioned.

public DeviceInfo.Builder setVendorId (int vendorId)

Set the 16-bit vendor identifier of the device to be commissioned.