BlackBerry Spark Communications Services for iOS  1.9.0
BBMChatParticipantKey Class Reference
Inheritance diagram for BBMChatParticipantKey:
BBMCompositeKey

Class Methods

(BBMChatParticipantKey *) + keyWithChatId:userUri:
 

Detailed Description

Represents a key for the Participant map composed of a chatID and a userUri.

BBMParticipantKey *key = [BBMParticipantKey keyWithChatId:@"5" userUri:user.uri];
BBMChatParticipant *msg = [[BBMEnterpriseService service].model.participant valueForKey:key];
Since
R4

Method Documentation

◆ keyWithChatId:userUri:()

+ (BBMChatParticipantKey *) keyWithChatId: (NSString *)  chatId
userUri: (NSString *)  userUri 

Creates a key for the Participant map

Parameters
chatIdThe chatId of the chat to query
userUriThe userUri of the participant we're interested in
Returns
BBMParticipantKey A key object suitable for using in valueForKey on BBMLiveMap for the Participant map
Since
R4