Package software.amazon.awssdk.crt.iot
Class SubscriptionStatusEvent
java.lang.Object
software.amazon.awssdk.crt.iot.SubscriptionStatusEvent
An event that describes a change in subscription status for a streaming operation.
-
Method Details
-
getType
Gets the type of status change represented by the event.- Returns:
- The type of status change represented by the event
-
getError
Gets the underlying reason for the event. Only set for SubscriptionLost and SubscriptionHalted. Use CRT.awsErrorString() to convert the integer error code into an error description.- Returns:
- underlying reason for the event
-