Package software.amazon.awssdk.crt.mqtt
Class OnConnectionSuccessReturn
java.lang.Object
software.amazon.awssdk.crt.mqtt.OnConnectionSuccessReturn
The data returned when the connection success callback is invoked in a connection.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether a session was present and resumed for this successful connection.
-
Method Details
-
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
-