CommandResponse

protocol CommandResponse : Sendable

A protocol for the response of a Matter command.

  • Creates a new ClusterResponse 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 Response.