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
-
userCount
Get 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
-
– getUserList
Get the full list of Users
Instance Methods
containsUser:
Checks if a specific User object exists in the local User list
- (BOOL)containsUser:(id<User>)user
Discussion
Checks if a specific User object exists in the local User list
Declared In
SFSUserManager.h
containsUserId:
Checks if a specific User id exists in the local User list
- (BOOL)containsUserId:(NSInteger)userId
Discussion
Checks if a specific User id exists in the local User list
Declared In
SFSUserManager.h
containsUserName:
Checks if a specific User name exists in the local User list
- (BOOL)containsUserName:(NSString *)userName
Discussion
Checks if a specific User name exists in the local User list
Declared In
SFSUserManager.h
getUserById:
Get a User object from its id
- (id<User>)getUserById:(NSInteger)userId
Discussion
Get a User object from its id
Declared In
SFSUserManager.h