| 
 | Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface UserStatusListener
A listener that is fired anytime your participant's status in a room is changed, such as the user being kicked, banned, or granted admin permissions.
| Method Summary | |
|---|---|
|  void | adminGranted()Called when an owner grants administrator privileges to your user. | 
|  void | adminRevoked()Called when an owner revokes administrator privileges from your user. | 
|  void | banned(String actor,
       String reason)Called when an administrator or owner banned your user from the room. | 
|  void | kicked(String actor,
       String reason)Called when a moderator kicked your user from the room. | 
|  void | membershipGranted()Called when an administrator grants your user membership to the room. | 
|  void | membershipRevoked()Called when an administrator revokes your user membership to the room. | 
|  void | moderatorGranted()Called when an administrator grants moderator privileges to your user. | 
|  void | moderatorRevoked()Called when an administrator revokes moderator privileges from your user. | 
|  void | ownershipGranted()Called when an owner grants to your user ownership on the room. | 
|  void | ownershipRevoked()Called when an owner revokes from your user ownership on the room. | 
|  void | voiceGranted()Called when a moderator grants voice to your user. | 
|  void | voiceRevoked()Called when a moderator revokes voice from your user. | 
| Method Detail | 
|---|
void kicked(String actor,
            String reason)
actor - the moderator that kicked your user from the room (e.g. user@host.org).reason - the reason provided by the actor to kick you from the room.void voiceGranted()
void voiceRevoked()
void banned(String actor,
            String reason)
actor - the administrator that banned your user (e.g. user@host.org).reason - the reason provided by the administrator to banned you.void membershipGranted()
void membershipRevoked()
void moderatorGranted()
void moderatorRevoked()
void ownershipGranted()
void ownershipRevoked()
void adminGranted()
void adminRevoked()
| 
 | Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||