BlackBerry Spark Communications Services for iOS  1.9.0
BBMStat Class Reference
Inheritance diagram for BBMStat:
BBMElement BBMElementBase

Properties

NSArray * count
 
NSString * objectName
 
NSArray * part
 
- Properties inherited from BBMElement
BBMElementState bbmState
 
NSString * primaryKey
 
- Properties inherited from BBMElementBase
BBMContainerparentContainer
 The container (BBMLiveList or BBMLiveMap) holding this element. More...
 

Additional Inherited Members

- Instance Methods inherited from BBMElementBase
(BBMDSModel *) - masterModel
 
(id) - objectForKeyedSubscript:
 
- Class Methods inherited from BBMElementBase
(NSString *) + identifierOfElement:
 

Detailed Description

Your application uses this list to retrieve stats that bbmcore has recorded about its operation and performance. Stats recorded by bbmcore are local to the device and do not contain personally identifiable information. bbmcore will only ever provide this data to your application when requested to do so.

Every time your application retrieves this list with 'requestListAll', it can contain different data. Bbmcore remembers what values were sent in the most recent 'stat' list collected by your application until your application sends a 'statsCommitted' message. When it receives 'statsCommitted', bbmcore considers the values in the most recently collected 'stat' list to have been exported by your application and committed permanently. After that 'statsCommitted' message, subsequent collections of stats with this list will no longer include that committed data.

If your application can't commit the values it collected with 'requestListAll', it must not send 'statsCommitted'. In such cases, the next copy of of this list that your application collects will be even more up to date and will include the data returned previously (back to the previous 'statsCommitted').

The values in this list persist across bbmcore restarts, and a 'statsCommitted' message can and will complete a 'stats' retrieval even if it was from a previous incarnation of bbmcore.

Statistics whose values are zero when the list is requested are not included in the list.

No 'listElements' or 'listChange' will ever be sent for this list.

This list does not define which statistics are recorded. Interpretation of the statistics is intended to be done by offline analysis and reporting.

Since
R5

Property Documentation

◆ count

- (NSArray*) count
readnonatomicstrong

The count(s) associated with this statistic.Iff there are multiple elements, then this statistic has multiple parts, each with its own scalar counter. Each part that has a non-zero count will be included with a number in the 'count' array and its part name in the 'part' array. The part's name and number will be at corresponding positions in the two arrays.If no 'part' array is present, then the statistic does not have multiple parts and the 'count' array will have only one element.

Since
R5

◆ objectName

- (NSString*) objectName
readnonatomicstrong

The name of the statistic.

Since
R5

◆ part

- (NSArray*) part
readnonatomicstrong

Iff there are multiple elements, then this statistic has multiple parts, each with its own scalar counter. Each part that has a non-zero count will be included with a number in the 'count' array and its part name in the 'part' array. The part's name and number will be at corresponding positions in the two arrays.If no 'part' array is present, then the statistic does not have multiple parts and the 'count' array will have only one element.

Since
R5