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

Class Methods

(BBMChatMessageKey *) + keyWithChatId:messageId:
 

Detailed Description

Represents a key for the ChatMessage list composed of a chatID and a messageId.

BBMChatMessageKey *key = [BBChatMessageKey keyWithChatId:@"5" messageId:45];
BBMChatMessage *msg = [[BBMEnterpriseService service].model.chatMessage valueForKey:key];
Since
R4

Method Documentation

◆ keyWithChatId:messageId:()

+ (BBMChatMessageKey *) keyWithChatId: (NSString *)  chatId
messageId: (unsigned long long)  messageId 

Creates a key for the ChatMessage map

Parameters
chatIdThe chatId of the chat to query
messageIdThe messageId to request
Returns
BBMChatMessageKey A key object suitable for using in valueForKey on BBMLiveMap
Since
R4