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