Action Required! Starting November 21st, 2022, Nest Hubs opted into the Preview Program are being updated to support Matter 1.0 in anticipation of Google's general availability (GA) of Matter. All Matter devices being used with the Preview Program will need to be updated. See the Release Notes for more details.

DeviceInfo

Stay organized with collections Save and categorize content based on your preferences.
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)
String
getBluetoothAddress()
The Bluetooth address (e.g.
Discriminator
getDiscriminator()
The device's discriminator, if known, used to discriminate between Matter device beacons to identify the target device.
String
getHotspotSsid()
The SSID of the discovered Matter device, if this device was discovered via a Wi-Fi Hotspot (Soft AP) broadcast.
NetworkLocation
getNetworkLocation()
The IP address on the current network of the discovered device mDNS advertisement, if this commissioning request is being started via mDNS discovery of a Matter 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 String getBluetoothAddress ()

The Bluetooth address (e.g. 12:34:56:78:90:AB) of the discovered device beacon, if this commissioning request is being started via discovery of a CHIP BLE advertisement.

public Discriminator getDiscriminator ()

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

public String getHotspotSsid ()

The SSID of the discovered Matter device, if this device was discovered via a Wi-Fi Hotspot (Soft AP) broadcast.

public NetworkLocation getNetworkLocation ()

The IP address on the current network of the discovered device mDNS advertisement, if this commissioning request is being started via mDNS discovery of a Matter 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)