Class PresenceTypeFilter

java.lang.Object
org.jivesoftware.smack.filter.FlexibleStanzaTypeFilter<Presence>
org.jivesoftware.smack.filter.PresenceTypeFilter
All Implemented Interfaces:
Predicate<Stanza>, StanzaFilter

A filter for Presence types. Returns true only if the stanza is an Presence stanza and it matches the type provided in the constructor.