DeviceDescriptor

public final class DeviceDescriptor extends Object
implements Parcelable

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
equals(Object other)
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
String
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.

public int hashCode ()

public String toString ()

public void writeToParcel (Parcel dest, int flags)