MessageConsumer

interface MessageConsumer

An interface which allows a derived class to consume a Message from DeviceGateway.

Functions

Link copied to clipboard
abstract fun consumeAttachment(attachment: AttachmentMessage)

Called when an attachment has been received from DeviceGateway.

Link copied to clipboard
abstract fun consumeDirectives(directives: List<DirectiveMessage>)

Called when directives has been received from DeviceGateway.