AnsweredAssumed Answered

Mistakes in Smack Documentation

Question asked by Clinton Yeboah on Jun 12, 2016
Latest reply on Jun 13, 2016 by Flow

I think there is a problem is the Smack Documentation, which might need correction. l


Line 24:

Message newMessage = new Message();
message.setProperty("favoriteColor", "red");



1. It seems Message Class does not have any method called setProperty(). Message (Smack 4.1.5 API)

2. It should be newMessage.setProperty() and not message.setProperty().


Please verify and correct these mistakes. Anyway, I am in need of the setProperty() method.