DeviceInfo

public final class DeviceInfo extends Object
implements Parcelable

Encapsulating information about an individual Matter device. Instances can be constructed via the DeviceInfo.Builder class, acquired by builder().

Nested Class Summary

class DeviceInfo.Builder Builder for constructing DeviceInfo instances. 

Inherited Constant Summary

Public Method Summary

static DeviceInfo.Builder
builder()
Returns a new DeviceInfo.Builder for constructing a DeviceInfo.
boolean
equals(Object other)
Discriminator
getDiscriminator()
The device's discriminator, if known, used to discriminate between Matter device beacons to identify the target device.
int
getProductId()
The Product ID (PID) of the Matter device, if present, or else zero.
int
getVendorId()
The Vendor ID (VID) of the Matter device, if present, or else zero.
int
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Public Methods

public static DeviceInfo.Builder builder ()

Returns a new DeviceInfo.Builder for constructing a DeviceInfo.

public boolean equals (Object other)

public Discriminator getDiscriminator ()

The device's discriminator, if known, used to discriminate between Matter device beacons to identify the target device.

public int getProductId ()

The Product ID (PID) of the Matter device, if present, or else zero. The PID is not strictly required to be included in the advertisements of all devices. In conjunction with the VID, this ID uniquely identifies a particular product manufactured by the vendor.

public int getVendorId ()

The Vendor ID (VID) of the Matter device, if present, or else zero. The VID is not strictly required to be included in the advertisements of all devices. This ID uniquely identifies the manufacturer of the beaconing device.

public int hashCode ()

public void writeToParcel (Parcel dest, int flags)