DeviceDescriptor

class DeviceDescriptor : Parcelable


Minimal representation of information about a Matter device, to recognize the product and its purpose.

Summary

Nested types

Builder class to generate DeviceDescriptor instances.

Public functions

java-static DeviceDescriptor.Builder!

Returns an empty Builder instance.

Boolean
equals(other: Any?)
@IntRange(from = 1, to = 65535) Int?

Like getProductId but returns null if product is unspecified (instead of 0).

@IntRange(from = 1, to = 65535) Int?

Like getVendorId but returns null if vendor is unknown.

Int
String!
Unit
writeToParcel(dest: Parcel!, flags: Int)

Public properties

Int
Int
Int

Inherited functions

From android.os.Parcelable

Public functions

builder

java-static fun builder(): DeviceDescriptor.Builder!

Returns an empty Builder instance.

equals

fun equals(other: Any?): Boolean

getNullableProductId

fun getNullableProductId(): @IntRange(from = 1, to = 65535) Int?

Like getProductId but returns null if product is unspecified (instead of 0).

getNullableVendorId

fun getNullableVendorId(): @IntRange(from = 1, to = 65535) Int?

Like getVendorId but returns null if vendor is unknown.

hashCode

fun hashCode(): Int

toString

fun toString(): String!

writeToParcel

fun writeToParcel(dest: Parcel!, flags: Int): Unit

Public properties

deviceType

val deviceTypeInt

productId

val productIdInt

vendorId

val vendorIdInt