Class ExtAccessoryInfoResponseHandler
- Namespace
- Z21.Core.ResponseHandler.Switching
- Assembly
- Z21.Client.dll
Reads the encoded extended accessory decoder state either because it was requested via GetExtAccessoryInfoCommand or the accessory status has been changed by other clients or a handset controller and the client has activated the corresponding broadcast DriveAndSwitchingMessages via SetBroadcastFlagsCommand .
public class ExtAccessoryInfoResponseHandler : IExtAccessoryInfoResponseHandler, IZ21ResponseHandler
- Inheritance
-
ExtAccessoryInfoResponseHandler
- Implements
- Inherited Members
Constructors
ExtAccessoryInfoResponseHandler(IAddressCodec)
public ExtAccessoryInfoResponseHandler(IAddressCodec addressCodec)
Parameters
addressCodecIAddressCodec
Properties
Name
Human-readable command according to the specification.
public string Name { get; }
Property Value
Methods
CanHandle(byte[])
Returns true if this response handler can handle the response. False otherwise.
public bool CanHandle(byte[] response)
Parameters
responsebyte[]
Returns
Handle(byte[])
public void Handle(byte[] response)
Parameters
responsebyte[]
Events
OnExtAccessoryInfoReceived
public event EventHandler<ExtAccessoryInfoReceivedEventArgs>? OnExtAccessoryInfoReceived