Class OnConnectionSuccessReturn


  • public class OnConnectionSuccessReturn
    extends Object
    The data returned when the connection success callback is invoked in a connection.
    See Also:
    MqttClientConnectionEvents
    • Method Detail

      • getSessionPresent

        public boolean getSessionPresent()
        Returns whether a session was present and resumed for this successful connection. Will be set to true if the connection resumed an already present MQTT connection session.
        Returns:
        whether a session was present and resumed