|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ParticipantStatusListener
A listener that is fired anytime a participant's status in a room is changed, such as the user being kicked, banned, or granted admin permissions.
Method Summary | |
---|---|
void |
adminGranted(String participant)
Called when an owner grants administrator privileges to a user. |
void |
adminRevoked(String participant)
Called when an owner revokes administrator privileges from a user. |
void |
banned(String participant)
Called when an administrator or owner banned a participant from the room. |
void |
kicked(String participant)
Called when a room participant has been kicked from the room. |
void |
membershipGranted(String participant)
Called when an administrator grants a user membership to the room. |
void |
membershipRevoked(String participant)
Called when an administrator revokes a user membership to the room. |
void |
moderatorGranted(String participant)
Called when an administrator grants moderator privileges to a user. |
void |
moderatorRevoked(String participant)
Called when an administrator revokes moderator privileges from a user. |
void |
nicknameChanged(String nickname)
Called when a participant changed his/her nickname in the room. |
void |
ownershipGranted(String participant)
Called when an owner grants a user ownership on the room. |
void |
ownershipRevoked(String participant)
Called when an owner revokes a user ownership on the room. |
void |
voiceGranted(String participant)
Called when a moderator grants voice to a visitor. |
void |
voiceRevoked(String participant)
Called when a moderator revokes voice from a participant. |
Method Detail |
---|
void kicked(String participant)
participant
- the participant that was kicked from the room
(e.g. room@conference.jabber.org/nick).void voiceGranted(String participant)
participant
- the participant that was granted voice in the room
(e.g. room@conference.jabber.org/nick).void voiceRevoked(String participant)
participant
- the participant that was revoked voice from the room
(e.g. room@conference.jabber.org/nick).void banned(String participant)
participant
- the participant that was banned from the room
(e.g. room@conference.jabber.org/nick).void membershipGranted(String participant)
participant
- the participant that was granted membership in the room
(e.g. room@conference.jabber.org/nick).void membershipRevoked(String participant)
participant
- the participant that was revoked membership from the room
(e.g. room@conference.jabber.org/nick).void moderatorGranted(String participant)
participant
- the participant that was granted moderator privileges in the room
(e.g. room@conference.jabber.org/nick).void moderatorRevoked(String participant)
participant
- the participant that was revoked moderator privileges in the room
(e.g. room@conference.jabber.org/nick).void ownershipGranted(String participant)
participant
- the participant that was granted ownership on the room
(e.g. room@conference.jabber.org/nick).void ownershipRevoked(String participant)
participant
- the participant that was revoked ownership on the room
(e.g. room@conference.jabber.org/nick).void adminGranted(String participant)
participant
- the participant that was granted administrator privileges
(e.g. room@conference.jabber.org/nick).void adminRevoked(String participant)
participant
- the participant that was revoked administrator privileges
(e.g. room@conference.jabber.org/nick).void nicknameChanged(String nickname)
nickname
- the old nickname that the participant decided to change.
|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |