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

Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

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.