BlackBerry Spark Communications Services for iOS  1.9.0
<BBMIncomingMessageListener > Protocol Reference
Inheritance diagram for <BBMIncomingMessageListener >:

Instance Methods

(void) - receivedIncomingMessage:
 
(void) - receivedJSONIncomingMessage:
 

Method Documentation

◆ receivedIncomingMessage:()

- (void BBMIncomingMessageListener) receivedIncomingMessage: (BBMIncomingMessage *)  incomingMessage

This gets called on listeners whenever a BBMDS message is received.

Parameters
incomingMessageThe message that was received. Use messageName to find out the type of message.

◆ receivedJSONIncomingMessage:()

- (void BBMIncomingMessageListener) receivedJSONIncomingMessage: (NSDictionary *)  dictionary
optional

This gets called on listeners whenever a BBMDS message is received and includes the raw JSON for the message.

Parameters
dictionaryThe raw JSON received by the client.