BlackBerry Spark Communications Services for iOS  1.9.0
BBMDSModel Class Reference
Inheritance diagram for BBMDSModel:
<BBMModelProtocol> BBMDSGeneratedModel

Instance Methods

(void) - resync
 
- Instance Methods inherited from <BBMModelProtocol>
(id) - valueForKey:
 

Protected Attributes

NSMutableDictionary * _mutableData
 

Properties

NSDictionary * data
 The underlying JSON representation of the object. More...
 
BBMConnectionconnection
 The connection used to communicate with the underlying API. More...
 

Detailed Description

BBMDSModel is the top level entry point into accessing the BBM model.

It maintains the complete object graph of the object model exposed via the BBMDS API.

Conceptually the objects are accessed with Key-Value-Coding (KVC)

BBMLiveMap *users = aBBMDSModel.data[@"user"];

The data model is Key-Value-Observing (KVO) compliant.

Since
R3

Method Documentation

◆ resync()

- (void) resync

Re-syncs the singleton lists. This method is intended to be called when a user switches device. Only the singleton lists need to be re-syncing the singleton lists in this use-case is more than efficient.

Since
R3

Reimplemented from <BBMModelProtocol>.

Property Documentation

◆ connection

- (BBMConnection*) connection
readatomicassign

The connection used to communicate with the underlying API.

Since
R3

◆ data

- (NSDictionary*) data
readatomicassign

The underlying JSON representation of the object.

Since
R3