Constants
The following constants are available globally.
-
The didRead notification will pass as the object, an array of VLDRecords read from the peripheral. The userInfo dictionary for the notifications will contain the peripheral ID and an operation metadata object (see
kVLDBluetoothPassiveNotificationUserInfoKey
constants).Declaration
Objective-C
extern NSString *const _Nonnull kVLDBluetoothPassiveDidReadNotification
Swift
static let vldBluetoothPassiveDidRead: NSNotification.Name
-
The didFail notification will pass the NSError object as the object in the notification.
Declaration
Objective-C
extern NSString *const _Nonnull kVLDBluetoothPassiveDidFailNotification
Swift
static let vldBluetoothPassiveDidFail: NSNotification.Name
-
The is ready notification indicates that tracking can now start.
Declaration
Objective-C
extern NSString *const _Nonnull kVLDBluetoothPassiveIsReadyToReadNotification
Swift
static let vldBluetoothPassiveIsReadyToRead: NSNotification.Name
-
Key to access the peripheralID object in the
userInfo
dictionary of passive notificationsDeclaration
Objective-C
extern NSString *const _Nonnull kVLDBluetoothPassiveNotificationUserInfoKeyPeripheralID
Swift
let kVLDBluetoothPassiveNotificationUserInfoKeyPeripheralID: String
-
Key to access the OperationMetadata object in the
userInfo
dictionary of passive notificationsDeclaration
Objective-C
extern NSString *const _Nonnull kVLDBluetoothPassiveNotificationUserInfoKeyOperationMetadata
Swift
let kVLDBluetoothPassiveNotificationUserInfoKeyOperationMetadata: String
-
Constant to use with
-[VLDBluetoothPeripheral storeData:forKey:ofPeripheralUUID:]
to store a peripheral’s encryption key in the Validic Bluetooth SDKDeclaration
Objective-C
extern NSString *const _Nonnull kVLDBluetoothPeripheralDataKeyEncryptionKey
-
Constraint string used to identify bluetooth errors.
Declaration
Objective-C
extern NSString *const kVLDBluetoothErrorDomain
Swift
let kVLDBluetoothErrorDomain: String
-
Project version number for ValidicBluetooth.
Declaration
Objective-C
extern double ValidicBluetoothVersionNumber
Swift
var ValidicBluetoothVersionNumber: Double
-
Project version string for ValidicBluetooth.
Declaration
Objective-C
extern const unsigned char ValidicBluetoothVersionString[]
Swift
let ValidicBluetoothVersionString: <<error type>>