DeviceDescriptor

Stay organized with collections Save and categorize content based on your preferences.
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()
Returns the Matter device type value of the device.
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
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 ()

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 void writeToParcel (Parcel dest, int flags)