objc2_core_bluetooth/generated/
CBPeripheralManagerConstants.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    /// An NSNumber (Boolean) indicating that the system should, if Bluetooth is powered off when
10    /// <code>
11    /// CBPeripheralManager
12    /// </code>
13    /// is instantiated, display
14    /// a warning dialog to the user.
15    ///
16    ///
17    /// See: initWithDelegate:queue:options:
18    ///
19    /// See also [Apple's documentation](https://developer.apple.com/documentation/corebluetooth/cbperipheralmanageroptionshowpoweralertkey?language=objc)
20    pub static CBPeripheralManagerOptionShowPowerAlertKey: &'static NSString;
21}
22
23extern "C" {
24    /// An NSString containing a unique identifier (UID) for the
25    /// <code>
26    /// CBPeripheralManager
27    /// </code>
28    /// that is being instantiated. This UID is used
29    /// by the system to identify a specific
30    /// <code>
31    /// CBPeripheralManager
32    /// </code>
33    /// instance for restoration and, therefore, must remain the same for
34    /// subsequent application executions in order for the manager to be restored.
35    ///
36    ///
37    /// See: initWithDelegate:queue:options:
38    ///
39    /// See also: centralManager:willRestoreState:
40    ///
41    /// See also [Apple's documentation](https://developer.apple.com/documentation/corebluetooth/cbperipheralmanageroptionrestoreidentifierkey?language=objc)
42    pub static CBPeripheralManagerOptionRestoreIdentifierKey: &'static NSString;
43}
44
45extern "C" {
46    /// An NSArray of
47    /// <code>
48    /// CBMutableService
49    /// </code>
50    /// objects containing all services that were published to the local database at the time the
51    /// application was terminated by the system. All information for each service will be restored, including all discovered
52    /// services, characteristics and descriptors, as well as characteristic notification states.
53    ///
54    ///
55    /// See: peripheralManager:willRestoreState:
56    ///
57    /// See also: addService:
58    ///
59    /// See also [Apple's documentation](https://developer.apple.com/documentation/corebluetooth/cbperipheralmanagerrestoredstateserviceskey?language=objc)
60    pub static CBPeripheralManagerRestoredStateServicesKey: &'static NSString;
61}
62
63extern "C" {
64    /// An NSDictionary containing the data being advertised at the time the application was terminated by the system.
65    ///
66    ///
67    /// See: peripheralManager:willRestoreState:
68    ///
69    /// See also: startAdvertising:
70    ///
71    /// See also [Apple's documentation](https://developer.apple.com/documentation/corebluetooth/cbperipheralmanagerrestoredstateadvertisementdatakey?language=objc)
72    pub static CBPeripheralManagerRestoredStateAdvertisementDataKey: &'static NSString;
73}