AWSIoTThingConnectivity

Objective-C

@interface AWSIoTThingConnectivity

Swift

class AWSIoTThingConnectivity

The connectivity status of the thing.

  • True if the thing is connected to the Amazon Web Services IoT Core service; false if it is not connected.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable connected;

    Swift

    var connected: NSNumber? { get set }
  • The reason why the client is disconnected. If the thing has been disconnected for approximately an hour, the disconnectReason value might be missing.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable disconnectReason;

    Swift

    var disconnectReason: String? { get set }
  • The epoch time (in milliseconds) when the thing last connected or disconnected. If the thing has been disconnected for approximately an hour, the time value might be missing.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable timestamp;

    Swift

    var timestamp: NSNumber? { get set }