/* * @file CBAdvertisementData.h * @framework CoreBluetooth * * @copyright 2012 Apple, Inc. All rights reserved. */ #ifndef _CORE_BLUETOOTH_H_ #warning Please do not import this header file directly. Use instead. #endif #import #import NS_ASSUME_NONNULL_BEGIN /*! * @constant CBAdvertisementDataLocalNameKey * * @discussion A NSString containing the local name of a peripheral. * */ CB_EXTERN NSString * const CBAdvertisementDataLocalNameKey; /*! * @constant CBAdvertisementDataTxPowerLevelKey * * @discussion A NSNumber containing the transmit power of a peripheral. * */ CB_EXTERN NSString * const CBAdvertisementDataTxPowerLevelKey; /*! * @constant CBAdvertisementDataServiceUUIDsKey * * @discussion A list of one or more CBUUID objects, representing CBService UUIDs. * */ CB_EXTERN NSString * const CBAdvertisementDataServiceUUIDsKey; /*! * @constant CBAdvertisementDataServiceDataKey * * @discussion A dictionary containing service-specific advertisement data. Keys are CBUUID objects, representing * CBService UUIDs. Values are NSData objects. * */ CB_EXTERN NSString * const CBAdvertisementDataServiceDataKey; /*! * @constant CBAdvertisementDataManufacturerDataKey * * @discussion A NSData object containing the manufacturer data of a peripheral. * */ CB_EXTERN NSString * const CBAdvertisementDataManufacturerDataKey; /*! * @constant CBAdvertisementDataOverflowServiceUUIDsKey * * @discussion A list of one or more CBUUID objects, representing CBService UUIDs that were * found in the "overflow" area of the advertising data. Due to the nature of the data stored in this area, * UUIDs listed here are "best effort" and may not always be accurate. * * @see startAdvertising: * */ CB_EXTERN NSString * const CBAdvertisementDataOverflowServiceUUIDsKey NS_AVAILABLE(10_9, 6_0); /*! * @constant CBAdvertisementDataIsConnectable * * @discussion An NSNumber (Boolean) indicating whether or not the advertising event type was connectable. This can be used to determine * whether or not a peripheral is connectable in that instant. * */ CB_EXTERN NSString * const CBAdvertisementDataIsConnectable NS_AVAILABLE(10_9, 7_0); /*! * @constant CBAdvertisementDataSolicitedServiceUUIDsKey * * @discussion A list of one or more CBUUID objects, representing CBService UUIDs. * */ CB_EXTERN NSString * const CBAdvertisementDataSolicitedServiceUUIDsKey NS_AVAILABLE(10_9, 7_0); NS_ASSUME_NONNULL_END