Hello, I’m wondering what is the difference between RosterListener and PresenceEventListener interface. I know they have different methods such as PresenceEventListener. presenceSubscribed which isn’t available in RosterListener.
However, there are similar methods such as RosterListener.presenceChanged and PresenceEventListener.presenceAvailable.
And there is no documentation at all for PresenceEventListener. I’m listening for presence changes but it just worked using roster.addRosterListener instead of roster.addPresenceEventListener.
I’m using smack 4.3.1.