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.

Properties

userCount

Get the total number of Users

@property (readonly) NSInteger userCount

Discussion

Get the total number of Users

Declared In

SFSUserManager.h

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

getUserByName:

Get a User object from its name

- (id<User>)getUserByName:(NSString *)userName

Discussion

Get a User object from its name

Declared In

SFSUserManager.h

getUserList

Get the full list of Users

- (NSArray *)getUserList

Discussion

Get the full list of Users

Declared In

SFSUserManager.h