Class BlockBuddyRequest

java.lang.Object
sfs3.client.requests.BaseRequest
sfs3.client.requests.buddylist.BlockBuddyRequest
All Implemented Interfaces:
sfs3.client.requests.IClientRequest

public class BlockBuddyRequest extends BaseRequest
Blocks or unblocks a buddy in the current user's buddies list. Blocked buddies won't be able to see if the user who blocked them is online in their buddies list; they also won't be able to send messages or requests to that user.

In order to block a buddy, the current user must be online in the Buddy List system. If the operation is successful, a buddyBlock confirmation event is dispatched; otherwise the buddyError event is fired.

NOTE: this request can be sent if the Buddy List system was previously initialized only (see the InitBuddyListRequest request description).

See Also: