PresenceStanza.withType constructor
PresenceStanza.withType(
- PresenceType type
Implementation
PresenceStanza.withType(PresenceType type) {
name = 'presence';
addAttribute(XmppAttribute('type', type.toString().split('.').last.toLowerCase()));
}