Minimal representation of information about a Matter device, to recognize the product and its purpose.
Nested Class Summary
class | DeviceDescriptor.Builder | Builder class to generate DeviceDescriptor
instances. |
Inherited Constant Summary
Public Method Summary
static DeviceDescriptor.Builder |
builder()
Returns an empty
DeviceDescriptor.Builder instance.
|
boolean | |
int |
getDeviceType()
This method is deprecated. this field is not expected to be populated; the
vendor ID and product ID can be used to map to a device type
|
int |
getProductId()
Returns the product ID of the device, or zero if the product is unspecified or
the vendor is unknown.
|
int |
getVendorId()
Returns the vendor ID of the device, or zero if the vendor is unknown.
|
int |
hashCode()
|
String |
toString()
|
void |
writeToParcel(Parcel dest, int
flags)
|
Inherited Method Summary
Public Methods
public static DeviceDescriptor.Builder builder ()
Returns an empty
DeviceDescriptor.Builder
instance.
public boolean equals (Object other)
public int getDeviceType ()
This method is deprecated.
this field is not expected to be populated; the vendor ID and product ID can be used to
map to a device type
Returns the Matter device type value of the device.
public int getProductId ()
Returns the product ID of the device, or zero if the product is unspecified or the vendor is unknown.
public int getVendorId ()
Returns the vendor ID of the device, or zero if the vendor is unknown.