Functions
The following functions are available globally.
-
Possible error codes that can be returned to the response block
Declaration
Objective-C
typedef NS_ENUM(NSUInteger, VLDAPIErrorCode) { /** Indicates some of the records in a postMultipleRecords:completion: call were invalid, the userInfo dictionary in the error will contain the invalid records in the ```errorRecords``` key. It is possible for some of the records to successfully post and still receive this error. */ VLDAPIErrorCodeInvalidRecords, /** Indicates that the recordType for the record was invalid. */ VLDAPIErrorCodeInvalidRecordType, /** Indicates that the recordID of a record was missing when attempting to update the record. */ VLDAPIErrorCodeMissingRecordID, /** Indicates that the activityID of a record was missing when attempting to upsert the record. */ VLDAPIErrorCodeMissingActivityID, /** Indicates an attempt to call an API method with a nil record. */ VLDAPIErrorCodeMissingRecord, /** Indicates that the records given to postMultipleRecords:completion: were not all of the same recordType. */ VLDAPIErrorCodeMismatchedRecordTypes }
-
Undocumented
Declaration
Objective-C
typedef NS_OPTIONS(NSUInteger, VLDLogMask) { VLDLogBluetooth = 1 << 0, VLDLogHealthKit = 1 << 1, VLDLogOCR = 1 << 2, VLDLogCore = 1 << 3 }