objc2_core_bluetooth/generated/
CBAdvertisementData.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::ptr::NonNull;
4use objc2_foundation::*;
5
6use crate::*;
7
8extern "C" {
9    /// A
10    /// <code>
11    /// NSString
12    /// </code>
13    /// containing the local name of a peripheral.
14    ///
15    /// See also [Apple's documentation](https://developer.apple.com/documentation/corebluetooth/cbadvertisementdatalocalnamekey?language=objc)
16    pub static CBAdvertisementDataLocalNameKey: &'static NSString;
17}
18
19extern "C" {
20    /// A
21    /// <code>
22    /// NSNumber
23    /// </code>
24    /// containing the transmit power of a peripheral.
25    ///
26    /// See also [Apple's documentation](https://developer.apple.com/documentation/corebluetooth/cbadvertisementdatatxpowerlevelkey?language=objc)
27    pub static CBAdvertisementDataTxPowerLevelKey: &'static NSString;
28}
29
30extern "C" {
31    /// A list of one or more
32    /// <code>
33    /// CBUUID
34    /// </code>
35    /// objects, representing
36    /// <code>
37    /// CBService
38    /// </code>
39    /// UUIDs.
40    ///
41    /// See also [Apple's documentation](https://developer.apple.com/documentation/corebluetooth/cbadvertisementdataserviceuuidskey?language=objc)
42    pub static CBAdvertisementDataServiceUUIDsKey: &'static NSString;
43}
44
45extern "C" {
46    /// A dictionary containing service-specific advertisement data. Keys are
47    /// <code>
48    /// CBUUID
49    /// </code>
50    /// objects, representing
51    /// <code>
52    /// CBService
53    /// </code>
54    /// UUIDs. Values are
55    /// <code>
56    /// NSData
57    /// </code>
58    /// objects.
59    ///
60    /// See also [Apple's documentation](https://developer.apple.com/documentation/corebluetooth/cbadvertisementdataservicedatakey?language=objc)
61    pub static CBAdvertisementDataServiceDataKey: &'static NSString;
62}
63
64extern "C" {
65    /// A
66    /// <code>
67    /// NSData
68    /// </code>
69    /// object containing the manufacturer data of a peripheral.
70    ///
71    /// See also [Apple's documentation](https://developer.apple.com/documentation/corebluetooth/cbadvertisementdatamanufacturerdatakey?language=objc)
72    pub static CBAdvertisementDataManufacturerDataKey: &'static NSString;
73}
74
75extern "C" {
76    /// A list of one or more
77    /// <code>
78    /// CBUUID
79    /// </code>
80    /// objects, representing
81    /// <code>
82    /// CBService
83    /// </code>
84    /// UUIDs that were
85    /// found in the "overflow" area of the advertising data. Due to the nature of the data stored in this area,
86    /// UUIDs listed here are "best effort" and may not always be accurate.
87    ///
88    ///
89    /// See: startAdvertising:
90    ///
91    /// See also [Apple's documentation](https://developer.apple.com/documentation/corebluetooth/cbadvertisementdataoverflowserviceuuidskey?language=objc)
92    pub static CBAdvertisementDataOverflowServiceUUIDsKey: &'static NSString;
93}
94
95extern "C" {
96    /// An NSNumber (Boolean) indicating whether or not the advertising event type was connectable. This can be used to determine
97    /// whether or not a peripheral is connectable in that instant.
98    ///
99    /// See also [Apple's documentation](https://developer.apple.com/documentation/corebluetooth/cbadvertisementdataisconnectable?language=objc)
100    pub static CBAdvertisementDataIsConnectable: &'static NSString;
101}
102
103extern "C" {
104    /// A list of one or more
105    /// <code>
106    /// CBUUID
107    /// </code>
108    /// objects, representing
109    /// <code>
110    /// CBService
111    /// </code>
112    /// UUIDs.
113    ///
114    /// See also [Apple's documentation](https://developer.apple.com/documentation/corebluetooth/cbadvertisementdatasolicitedserviceuuidskey?language=objc)
115    pub static CBAdvertisementDataSolicitedServiceUUIDsKey: &'static NSString;
116}