IotHubListener.onConnectionLost(Throwable e, String connectionId) 方法
定义
Callback to be fired when connection has been lost
public void onConnectionLost(Throwable e, String connectionId)
参数
- e
- Throwable
the cause of the connection loss
- connectionId
- String
the id of the connection this update is relevant to