public interface IotHubConnectionStatusChangeCallback
Modifier and Type | Method and Description |
---|---|
void |
onStatusChanged(ConnectionStatusChangeContext connectionStatusChangeContext)
The callback that is executed each time the connection status of the client changes.
|
void onStatusChanged(ConnectionStatusChangeContext connectionStatusChangeContext)
connectionStatusChangeContext
- the context surrounding the status change, including the new status, the reason
for the new status, the underlying exception (if connection was lost), and the user provided context object that
was set when setting the connection status change callback on the client.Copyright © 2023. All rights reserved.