Class OnConnectionFailureReturn


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

      • getErrorCode

        public int getErrorCode()
        Gets the AWS CRT error code for the connection failure. Pass to CRT.awsErrorString(int) for a human readable error
        Returns:
        The AWS CRT error code for the connection failure.