VirtualGatewayDelegate
public protocol VirtualGatewayDelegate: class
The protocol required to receive ThinCloud Virtual Gateway device commands.
-
Notifies the reciever of incoming commands.
Declaration
Swift
func virtualGatewayDidReceiveCommands(_ commands: [DeviceCommand], completionHandler: (_ updatedCommands: [DeviceCommand]) -> Void)
Parameters
commands
The incoming commands.
completionHandler
The handler called after processing incoming commands.