knisleyj

API Reference Suggestion

Discussion created by knisleyj on Oct 31, 2013
Latest reply on Nov 5, 2013 by doneill-esristaff
First, let me start by saying that I really like some of the improvements in 10.2.0, and that's actually what led me to this idea. I was looking at the API reference and noticed the getLegendImage() method under com.esri.core.symbol.SymbolHelper, and I thought that would be useful for an app I'm working on. However, when I tried to use the method in my code, I was getting an error that it was undefined. When I went back to the API Reference page, I realized that it had been updated to 10.2.0, but the page for the SymbolHelper class overview didn't say anything about what API version each method was added in. After some digging I was able to find the API Reference page for 10.1.1 and saw that, in fact, getLegendImage() didn't exist in the API version I was using.

So, would it be possible to add text that says "Added in API version..." next to the classes and their methods, similar to the class overview pages on Android API reference page (http://developer.android.com/reference/packages.html)? That way, your page at https://developers.arcgis.com/en/android/api-reference/ can always point to the current API, but people using a previous version will be able to see what is really available for them. Sounds like a great task for an intern!

Outcomes