NodeMetadata

struct NodeMetadata
extension NodeMetadata : AutomationValue, Equatable, Hashable, Sendable, StructDataRepresentable

Represents metadata for a node.

See: google3/google/internal/home/platform/mesh/interaction/v1/hub_connection_service.proto

  • Undocumented

    Declaration

    Swift

    let icdToken: Data?
  • Undocumented

    Declaration

    Swift

    init(icdToken: Data? = nil)
  • Creates a new Struct instance using data read from the given TraitDecoder.

    Throws

    HomeError.parseError when parsing fails.

    Declaration

    Swift

    init(decoder: TraitDecoder) throws

    Parameters

    decoder

    The raw data representing this Struct.

  • Writes this Struct to the given TraitEncoder. Throws HomeError.parseError if the data could not be encoded.

    Declaration

    Swift

    func encode(with encoder: TraitEncoder) throws