SFS2X Objective-C API  1.7.13
iOS / macOS / tvOS
BlockBuddyRequest Class Reference

#import <BlockBuddyRequest.h>

Inherits BaseRequest.

Instance Methods

(id) - initWithBuddyName:blocked:
 

Class Methods

(id) + requestWithBuddyName:blocked:
 

Properties

NSString * buddyName
 

Detailed Description

Block/Unblock a Buddy in the User's BuddyList

Blocked buddies won't be able to see the the User online status and send messages or events

Method Documentation

◆ requestWithBuddyName:blocked:

+ (id) requestWithBuddyName: (NSString *)  buddyName
blocked: (BOOL)  blocked 

Request to Block/Unblock a Buddy in the User's BuddyList

Parameters
buddyNamethe name of the buddy to add
blockedthe blocked status
See also
[ISFSEvents onBuddyBlock:]
[ISFSEvents onBuddyError:]
AddBuddyRequest
RemoveBuddyRequest