Package ej.aws.iot

Interface AwsIotMessageCallback


  • public interface AwsIotMessageCallback
    The callback interface when receiving messages from AWS IoT. This can be used when subscribing to a topic, all the messages received on that specific topic will be routed to this callback.
    • Method Detail

      • onMessageReceived

        void onMessageReceived​(AwsIotMessage message)
        Called whenever a message arrives in the broker.
        Parameters:
        message - received AWS IoT message