OnConnectionChanged OnConnectionChanged(bool) protected void OnConnectionChanged(bool isConnection) ; Description Called when the port connection changes Parameters Parameter Name Description isConnection Whether the port is connected