AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The connectivity status of the thing.
Namespace: Amazon.IoT.Model
Assembly: AWSSDK.IoT.dll
Version: 3.x.y.z
public class ThingConnectivity
The ThingConnectivity type exposes the following members
| Name | Description | |
|---|---|---|
|
ThingConnectivity() |
| Name | Type | Description | |
|---|---|---|---|
|
CleanSession | System.Nullable<System.Boolean> |
Gets and sets the property CleanSession.
Indicates whether the client is using a clean session. Returns |
|
ClientId | System.String |
Gets and sets the property ClientId. The unique identifier of the MQTT client. |
|
Connected | System.Nullable<System.Boolean> |
Gets and sets the property Connected. True if the thing is connected to the Amazon Web Services IoT Core service; false if it is not connected. |
|
DisconnectReason | System.String |
Gets and sets the property DisconnectReason. The reason that the client is disconnected. |
|
KeepAliveDuration | System.Nullable<System.Int32> |
Gets and sets the property KeepAliveDuration. The keep-alive interval in seconds that the client specified when establishing the connection. |
|
SessionExpiry | System.Nullable<System.Int64> |
Gets and sets the property SessionExpiry. The session expiry interval in seconds for the MQTT client connection. This value indicates how long the session will remain active after the client disconnects. |
|
Timestamp | System.Nullable<System.Int64> |
Gets and sets the property Timestamp. The epoch time (in milliseconds) when the thing last connected or disconnected. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer