Documentation Error

Former Member
Former Member
I found an error in the documentation for InputDelegate. The class documentation says onKey(evt), evt is one of the WatchUi.KEY_* enum values. I finally figured out via the examples that evt is an instance of KeyEvent and the key is available via the method getKey().

It makes sense now that I look at InputDelegate and notice all of the other methds return some type of event but it was confusing at first.
  • Former Member
    Former Member over 10 years ago
    Thanks for the report. This (and several other documentation errors in the API) have been addressed and should be included in the next SDK release.