SFSUserManager Class Reference
| Inherits from | NSObject |
| Conforms to | IUserManager |
| Declared in | SFSUserManager.h SFSUserManager.m |
Overview
Manages the local Users.
The client side API only see the Users that are joined in the same Rooms of the current User.
Tasks
-
userCountGet the total number of Users
property -
– containsUserName:Checks if a specific User name exists in the local User list
-
– containsUserId:Checks if a specific User id exists in the local User list
-
– containsUser:Checks if a specific User object exists in the local User list
-
– getUserByName:Get a User object from its name
-
– getUserById:Get a User object from its id
-
– getUserListGet the full list of Users
Instance Methods
containsUser:
Checks if a specific User object exists in the local User list
- (BOOL)containsUser:(id<User>)userDiscussion
Checks if a specific User object exists in the local User list
Declared In
SFSUserManager.hcontainsUserId:
Checks if a specific User id exists in the local User list
- (BOOL)containsUserId:(NSInteger)userIdDiscussion
Checks if a specific User id exists in the local User list
Declared In
SFSUserManager.hcontainsUserName:
Checks if a specific User name exists in the local User list
- (BOOL)containsUserName:(NSString *)userNameDiscussion
Checks if a specific User name exists in the local User list
Declared In
SFSUserManager.hgetUserById:
Get a User object from its id
- (id<User>)getUserById:(NSInteger)userIdDiscussion
Get a User object from its id
Declared In
SFSUserManager.h