@octane-xplat/macos-renderer 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +95 -20
- package/package.json +15 -2
- package/src/appearance.ts +2 -0
- package/src/fonts.ts +2 -0
- package/src/formatted-text.ts +147 -0
- package/src/gestures.ts +196 -0
- package/src/host-globals.d.ts +55 -0
- package/src/html-text.ts +88 -0
- package/src/image.ts +91 -16
- package/src/index.d.ts +9 -0
- package/src/index.ts +5030 -678
- package/src/layer.ts +11 -9
- package/src/list-template.ts +266 -0
- package/src/list-view.ts +445 -0
- package/src/portal-components.macos.tsx +86 -0
- package/src/presentation.ts +48 -15
- package/src/scroll-view.ts +124 -0
- package/src/tab-view.ts +512 -0
- package/src/template-props.ts +402 -0
- package/src/vendor/listview/LICENSE +19 -0
- package/src/vendor/listview/README.md +1 -0
- package/src/vendor/listview/binding-options.ts +189 -0
- package/src/vendor/listview/expressions.ts +285 -0
- package/src/webview.ts +36 -7
- package/types/ARKitCore.d.ts +199 -0
- package/types/AVFAudio.d.ts +2304 -0
- package/types/AVFoundation.d.ts +6974 -0
- package/types/AVKit.d.ts +215 -0
- package/types/AVRouting.d.ts +7 -0
- package/types/Accelerate.d.ts +4776 -0
- package/types/Accessibility.d.ts +69 -0
- package/types/Accounts.d.ts +134 -0
- package/types/AdSupport.d.ts +12 -0
- package/types/AddressBook.d.ts +1012 -0
- package/types/AppKit.d.ts +34247 -0
- package/types/AppTrackingTransparency.d.ts +23 -0
- package/types/AppleScriptKit.d.ts +6 -0
- package/types/ApplicationServices.d.ts +6346 -0
- package/types/AudioToolbox.d.ts +7129 -0
- package/types/AudioVideoBridging.d.ts +613 -0
- package/types/AuthenticationServices.d.ts +982 -0
- package/types/AutomaticAssessmentConfiguration.d.ts +46 -0
- package/types/Automator.d.ts +248 -0
- package/types/BackgroundAssets.d.ts +9 -0
- package/types/BrowserEngineKit.d.ts +166 -0
- package/types/BusinessChat.d.ts +29 -0
- package/types/CFNetwork.d.ts +931 -0
- package/types/CalendarStore.d.ts +354 -0
- package/types/CallKit.d.ts +30 -0
- package/types/Carbon.d.ts +16207 -0
- package/types/ClassKit.d.ts +281 -0
- package/types/CloudKit.d.ts +1565 -0
- package/types/Collaboration.d.ts +123 -0
- package/types/ColorSync.d.ts +562 -0
- package/types/CompositorServices.d.ts +60 -0
- package/types/ComputeGraph.d.ts +16 -0
- package/types/Contacts.d.ts +1558 -0
- package/types/ContactsUI.d.ts +39 -0
- package/types/CoreAudio.d.ts +1376 -0
- package/types/CoreAudioKit.d.ts +122 -0
- package/types/CoreAudioTypes.d.ts +1003 -0
- package/types/CoreBluetooth.d.ts +657 -0
- package/types/CoreData.d.ts +2479 -0
- package/types/CoreFoundation.d.ts +5546 -0
- package/types/CoreGraphics.d.ts +3676 -0
- package/types/CoreHaptics.d.ts +361 -0
- package/types/CoreImage.d.ts +4781 -0
- package/types/CoreLocation.d.ts +564 -0
- package/types/CoreMIDI.d.ts +1538 -0
- package/types/CoreML.d.ts +905 -0
- package/types/CoreMedia.d.ts +2615 -0
- package/types/CoreMediaIO.d.ts +1046 -0
- package/types/CoreMotion.d.ts +316 -0
- package/types/CoreServices.d.ts +24810 -0
- package/types/CoreSpotlight.d.ts +789 -0
- package/types/CoreTelephony.d.ts +31 -0
- package/types/CoreText.d.ts +3973 -0
- package/types/CoreTransferable.d.ts +3 -0
- package/types/CoreVideo.d.ts +1162 -0
- package/types/CoreWLAN.d.ts +556 -0
- package/types/CryptoTokenKit.d.ts +548 -0
- package/types/DVDPlayback.d.ts +931 -0
- package/types/DataDetection.d.ts +66 -0
- package/types/DeviceCheck.d.ts +46 -0
- package/types/DeviceDiscoveryExtension.d.ts +142 -0
- package/types/DirectoryService.d.ts +966 -0
- package/types/DiscRecording.d.ts +2345 -0
- package/types/DiscRecordingUI.d.ts +288 -0
- package/types/DiskArbitration.d.ts +366 -0
- package/types/DriverKit.d.ts +639 -0
- package/types/EventKit.d.ts +640 -0
- package/types/ExceptionHandling.d.ts +56 -0
- package/types/ExecutionPolicy.d.ts +30 -0
- package/types/ExternalAccessory.d.ts +98 -0
- package/types/FSKit.d.ts +237 -0
- package/types/FileProvider.d.ts +495 -0
- package/types/FileProviderUI.d.ts +31 -0
- package/types/FinderSync.d.ts +165 -0
- package/types/FocusEngine.d.ts +133 -0
- package/types/ForceFeedback.d.ts +399 -0
- package/types/Foundation.d.ts +18216 -0
- package/types/GLKit.d.ts +937 -0
- package/types/GLUT.d.ts +1018 -0
- package/types/GSS.d.ts +855 -0
- package/types/GameController.d.ts +1394 -0
- package/types/GameKit.d.ts +1958 -0
- package/types/GameSave.d.ts +54 -0
- package/types/GameplayKit.d.ts +1645 -0
- package/types/HealthKit.d.ts +278 -0
- package/types/Hypervisor.d.ts +2079 -0
- package/types/ICADevices.d.ts +1400 -0
- package/types/IOBluetooth.d.ts +6094 -0
- package/types/IOBluetoothUI.d.ts +250 -0
- package/types/IOKit.d.ts +25804 -0
- package/types/IOSurface.d.ts +435 -0
- package/types/IOUSBHost.d.ts +809 -0
- package/types/ImageCaptureCore.d.ts +1104 -0
- package/types/ImageIO.d.ts +1697 -0
- package/types/InputMethodKit.d.ts +264 -0
- package/types/InstallerPlugins.d.ts +102 -0
- package/types/InstantMessage.d.ts +229 -0
- package/types/Intents.d.ts +1833 -0
- package/types/IntentsUI.d.ts +5 -0
- package/types/JavaRuntimeSupport.d.ts +520 -0
- package/types/JavaScriptCore.d.ts +934 -0
- package/types/Kerberos.d.ts +3754 -0
- package/types/Kernel.d.ts +33698 -0
- package/types/KernelManagement.d.ts +5 -0
- package/types/LatentSemanticMapping.d.ts +152 -0
- package/types/LinkPresentation.d.ts +57 -0
- package/types/LocalAuthentication.d.ts +94 -0
- package/types/MLCompute.d.ts +2343 -0
- package/types/MapKit.d.ts +2125 -0
- package/types/Matter.d.ts +151 -0
- package/types/MediaAccessibility.d.ts +137 -0
- package/types/MediaLibrary.d.ts +394 -0
- package/types/MediaPlayer.d.ts +475 -0
- package/types/MediaToolbox.d.ts +70 -0
- package/types/Metal.d.ts +4542 -0
- package/types/MetalFX.d.ts +107 -0
- package/types/MetalKit.d.ts +524 -0
- package/types/MetalPerformanceShaders.d.ts +9306 -0
- package/types/MetalPerformanceShadersGraph.d.ts +1394 -0
- package/types/MetricKit.d.ts +231 -0
- package/types/ModelIO.d.ts +2908 -0
- package/types/MultipeerConnectivity.d.ts +348 -0
- package/types/NaturalLanguage.d.ts +556 -0
- package/types/NearbyInteraction.d.ts +51 -0
- package/types/NetFS.d.ts +99 -0
- package/types/Network.d.ts +1622 -0
- package/types/NetworkExtension.d.ts +1574 -0
- package/types/NotificationCenter.d.ts +103 -0
- package/types/OSAKit.d.ts +260 -0
- package/types/OSLog.d.ts +208 -0
- package/types/OpenAL.d.ts +314 -0
- package/types/OpenCL.d.ts +2489 -0
- package/types/OpenDirectory.d.ts +1919 -0
- package/types/OpenGL.d.ts +11322 -0
- package/types/PCSC.d.ts +534 -0
- package/types/PDFKit.d.ts +1575 -0
- package/types/PHASE.d.ts +166 -0
- package/types/ParavirtualizedGraphics.d.ts +153 -0
- package/types/PassKit.d.ts +1287 -0
- package/types/PencilKit.d.ts +201 -0
- package/types/Photos.d.ts +1125 -0
- package/types/PhotosUI.d.ts +397 -0
- package/types/PreferencePanes.d.ts +68 -0
- package/types/ProximityReaderStub.d.ts +5 -0
- package/types/PushKit.d.ts +45 -0
- package/types/Quartz.d.ts +1642 -0
- package/types/QuartzCore.d.ts +1398 -0
- package/types/QuickLook.d.ts +212 -0
- package/types/QuickLookThumbnailing.d.ts +131 -0
- package/types/QuickLookUI.d.ts +117 -0
- package/types/REVISION.json +5 -0
- package/types/ReplayKit.d.ts +294 -0
- package/types/Runtime.d.ts +51605 -0
- package/types/SafariServices.d.ts +430 -0
- package/types/SafetyKit.d.ts +7 -0
- package/types/SceneKit.d.ts +4996 -0
- package/types/ScreenCaptureKit.d.ts +16 -0
- package/types/ScreenSaver.d.ts +41 -0
- package/types/ScreenTime.d.ts +41 -0
- package/types/ScriptingBridge.d.ts +96 -0
- package/types/Security.d.ts +14336 -0
- package/types/SecurityFoundation.d.ts +53 -0
- package/types/SecurityInterface.d.ts +297 -0
- package/types/SensorKit.d.ts +7 -0
- package/types/ServiceManagement.d.ts +71 -0
- package/types/SharedWithYou.d.ts +9 -0
- package/types/SharedWithYouCore.d.ts +5 -0
- package/types/ShazamKit.d.ts +12 -0
- package/types/Social.d.ts +306 -0
- package/types/SoundAnalysis.d.ts +177 -0
- package/types/Speech.d.ts +246 -0
- package/types/SpriteKit.d.ts +2766 -0
- package/types/StoreKit.d.ts +509 -0
- package/types/SyncServices.d.ts +551 -0
- package/types/SystemConfiguration.d.ts +1415 -0
- package/types/SystemExtensions.d.ts +89 -0
- package/types/TWAIN.d.ts +380 -0
- package/types/Tcl.d.ts +4013 -0
- package/types/ThreadNetwork.d.ts +77 -0
- package/types/Tk.d.ts +3750 -0
- package/types/UIUtilities.d.ts +31 -0
- package/types/UniformTypeIdentifiers.d.ts +358 -0
- package/types/UserNotifications.d.ts +538 -0
- package/types/UserNotificationsUI.d.ts +38 -0
- package/types/VideoDecodeAcceleration.d.ts +50 -0
- package/types/VideoSubscriberAccount.d.ts +139 -0
- package/types/VideoToolbox.d.ts +907 -0
- package/types/Virtualization.d.ts +302 -0
- package/types/Vision.d.ts +1723 -0
- package/types/WebKit.d.ts +5195 -0
- package/types/WidgetKit.d.ts +9 -0
- package/types/_LocationEssentials.d.ts +159 -0
- package/types/_ScreenCaptureKit_SwiftUI.d.ts +5 -0
- package/types/iTunesLibrary.d.ts +528 -0
- package/types/index.d.ts +9 -0
- package/types/vecLib.d.ts +33586 -0
- package/types/vmnet.d.ts +178 -0
- package/src/appkit.d.ts +0 -472
|
@@ -0,0 +1,564 @@
|
|
|
1
|
+
/// <reference types="@nativescript/objc-node-api" />
|
|
2
|
+
/// <reference path="./Runtime.d.ts" />
|
|
3
|
+
|
|
4
|
+
declare const kCLHeadingFilterNone: number
|
|
5
|
+
|
|
6
|
+
declare const kCLErrorUserInfoAlternateRegionKey: string
|
|
7
|
+
|
|
8
|
+
declare const kCLErrorDomain: string
|
|
9
|
+
|
|
10
|
+
declare const CLActivityType: {
|
|
11
|
+
Other: 1
|
|
12
|
+
AutomotiveNavigation: 2
|
|
13
|
+
Fitness: 3
|
|
14
|
+
OtherNavigation: 4
|
|
15
|
+
Airborne: 5
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare const CLLiveUpdateConfiguration: {
|
|
19
|
+
Default: 0
|
|
20
|
+
AutomotiveNavigation: 1
|
|
21
|
+
OtherNavigation: 2
|
|
22
|
+
Fitness: 3
|
|
23
|
+
Airborne: 4
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
declare const CLProximity: {
|
|
27
|
+
Unknown: 0
|
|
28
|
+
Immediate: 1
|
|
29
|
+
Near: 2
|
|
30
|
+
Far: 3
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
declare const CLServiceSessionAuthorizationRequirement: {
|
|
34
|
+
None: 0
|
|
35
|
+
WhenInUse: 1
|
|
36
|
+
Always: 2
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
declare const CLDeviceOrientation: {
|
|
40
|
+
Unknown: 0
|
|
41
|
+
Portrait: 1
|
|
42
|
+
PortraitUpsideDown: 2
|
|
43
|
+
LandscapeLeft: 3
|
|
44
|
+
LandscapeRight: 4
|
|
45
|
+
FaceUp: 5
|
|
46
|
+
FaceDown: 6
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
declare const CLAuthorizationStatus: {
|
|
50
|
+
NotDetermined: 0
|
|
51
|
+
Restricted: 1
|
|
52
|
+
Denied: 2
|
|
53
|
+
AuthorizedAlways: 3
|
|
54
|
+
Authorized: 3
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
declare const CLRegionState: {
|
|
58
|
+
Unknown: 0
|
|
59
|
+
Inside: 1
|
|
60
|
+
Outside: 2
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
declare const CLError: {
|
|
64
|
+
LocationUnknown: 0
|
|
65
|
+
Denied: 1
|
|
66
|
+
Network: 2
|
|
67
|
+
HeadingFailure: 3
|
|
68
|
+
RegionMonitoringDenied: 4
|
|
69
|
+
RegionMonitoringFailure: 5
|
|
70
|
+
RegionMonitoringSetupDelayed: 6
|
|
71
|
+
RegionMonitoringResponseDelayed: 7
|
|
72
|
+
GeocodeFoundNoResult: 8
|
|
73
|
+
GeocodeFoundPartialResult: 9
|
|
74
|
+
GeocodeCanceled: 10
|
|
75
|
+
DeferredFailed: 11
|
|
76
|
+
DeferredNotUpdatingLocation: 12
|
|
77
|
+
DeferredAccuracyTooLow: 13
|
|
78
|
+
DeferredDistanceFiltered: 14
|
|
79
|
+
DeferredCanceled: 15
|
|
80
|
+
RangingUnavailable: 16
|
|
81
|
+
RangingFailure: 17
|
|
82
|
+
PromptDeclined: 18
|
|
83
|
+
HistoricalLocationError: 19
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
declare const CLAccuracyAuthorization: {
|
|
87
|
+
Full: 0
|
|
88
|
+
Reduced: 1
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
declare const CLMonitoringState: {
|
|
92
|
+
Unknown: 0
|
|
93
|
+
Satisfied: 1
|
|
94
|
+
Unsatisfied: 2
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
declare interface CLLocationManagerDelegate extends NSObjectProtocol {
|
|
98
|
+
locationManagerDidUpdateToLocationFromLocation?(
|
|
99
|
+
manager: CLLocationManager,
|
|
100
|
+
newLocation: CLLocation,
|
|
101
|
+
oldLocation: CLLocation,
|
|
102
|
+
): void
|
|
103
|
+
|
|
104
|
+
locationManagerDidUpdateLocations?(
|
|
105
|
+
manager: CLLocationManager,
|
|
106
|
+
locations: NSArray<interop.Object> | Array<interop.Object>,
|
|
107
|
+
): void
|
|
108
|
+
|
|
109
|
+
locationManagerDidUpdateHeading?(manager: CLLocationManager, newHeading: CLHeading): void
|
|
110
|
+
|
|
111
|
+
locationManagerShouldDisplayHeadingCalibration?(manager: CLLocationManager): boolean
|
|
112
|
+
|
|
113
|
+
locationManagerDidDetermineStateForRegion?(
|
|
114
|
+
manager: CLLocationManager,
|
|
115
|
+
state: interop.Enum<typeof CLRegionState>,
|
|
116
|
+
region: CLRegion,
|
|
117
|
+
): void
|
|
118
|
+
|
|
119
|
+
locationManagerDidRangeBeaconsInRegion?(
|
|
120
|
+
manager: CLLocationManager,
|
|
121
|
+
beacons: NSArray<interop.Object> | Array<interop.Object>,
|
|
122
|
+
region: CLBeaconRegion,
|
|
123
|
+
): void
|
|
124
|
+
|
|
125
|
+
locationManagerRangingBeaconsDidFailForRegionWithError?(
|
|
126
|
+
manager: CLLocationManager,
|
|
127
|
+
region: CLBeaconRegion,
|
|
128
|
+
error: NSError,
|
|
129
|
+
): void
|
|
130
|
+
|
|
131
|
+
locationManagerDidRangeBeaconsSatisfyingConstraint?(
|
|
132
|
+
manager: CLLocationManager,
|
|
133
|
+
beacons: NSArray<interop.Object> | Array<interop.Object>,
|
|
134
|
+
beaconConstraint: CLBeaconIdentityConstraint,
|
|
135
|
+
): void
|
|
136
|
+
|
|
137
|
+
locationManagerDidFailRangingBeaconsForConstraintError?(
|
|
138
|
+
manager: CLLocationManager,
|
|
139
|
+
beaconConstraint: CLBeaconIdentityConstraint,
|
|
140
|
+
error: NSError,
|
|
141
|
+
): void
|
|
142
|
+
|
|
143
|
+
locationManagerDidEnterRegion?(manager: CLLocationManager, region: CLRegion): void
|
|
144
|
+
|
|
145
|
+
locationManagerDidExitRegion?(manager: CLLocationManager, region: CLRegion): void
|
|
146
|
+
|
|
147
|
+
locationManagerDidFailWithError?(manager: CLLocationManager, error: NSError): void
|
|
148
|
+
|
|
149
|
+
locationManagerMonitoringDidFailForRegionWithError?(
|
|
150
|
+
manager: CLLocationManager,
|
|
151
|
+
region: CLRegion | null,
|
|
152
|
+
error: NSError,
|
|
153
|
+
): void
|
|
154
|
+
|
|
155
|
+
locationManagerDidChangeAuthorizationStatus?(
|
|
156
|
+
manager: CLLocationManager,
|
|
157
|
+
status: interop.Enum<typeof CLAuthorizationStatus>,
|
|
158
|
+
): void
|
|
159
|
+
|
|
160
|
+
locationManagerDidChangeAuthorization?(manager: CLLocationManager): void
|
|
161
|
+
|
|
162
|
+
locationManagerDidStartMonitoringForRegion?(manager: CLLocationManager, region: CLRegion): void
|
|
163
|
+
|
|
164
|
+
locationManagerDidPauseLocationUpdates?(manager: CLLocationManager): void
|
|
165
|
+
|
|
166
|
+
locationManagerDidResumeLocationUpdates?(manager: CLLocationManager): void
|
|
167
|
+
|
|
168
|
+
locationManagerDidFinishDeferredUpdatesWithError?(
|
|
169
|
+
manager: CLLocationManager,
|
|
170
|
+
error: NSError | null,
|
|
171
|
+
): void
|
|
172
|
+
|
|
173
|
+
locationManagerDidVisit?(manager: CLLocationManager, visit: CLVisit): void
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
declare class CLLocationManagerDelegate extends NativeObject implements CLLocationManagerDelegate {}
|
|
177
|
+
|
|
178
|
+
declare class CLVisit extends NSObject implements NSSecureCoding, NSCopying {
|
|
179
|
+
readonly arrivalDate: NSDate
|
|
180
|
+
|
|
181
|
+
readonly departureDate: NSDate
|
|
182
|
+
|
|
183
|
+
readonly coordinate: CLLocationCoordinate2D
|
|
184
|
+
|
|
185
|
+
readonly horizontalAccuracy: number
|
|
186
|
+
|
|
187
|
+
static readonly supportsSecureCoding: boolean
|
|
188
|
+
|
|
189
|
+
encodeWithCoder(coder: NSCoder): void
|
|
190
|
+
|
|
191
|
+
initWithCoder(coder: NSCoder): this
|
|
192
|
+
|
|
193
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
declare class CLLocationManager extends NSObject {
|
|
197
|
+
static locationServicesEnabled(): boolean
|
|
198
|
+
|
|
199
|
+
static headingAvailable(): boolean
|
|
200
|
+
|
|
201
|
+
static significantLocationChangeMonitoringAvailable(): boolean
|
|
202
|
+
|
|
203
|
+
static isMonitoringAvailableForClass(regionClass: interop.PointerConvertible): boolean
|
|
204
|
+
|
|
205
|
+
static regionMonitoringAvailable(): boolean
|
|
206
|
+
|
|
207
|
+
static regionMonitoringEnabled(): boolean
|
|
208
|
+
|
|
209
|
+
static isRangingAvailable(): boolean
|
|
210
|
+
|
|
211
|
+
readonly authorizationStatus: interop.Enum<typeof CLAuthorizationStatus>
|
|
212
|
+
|
|
213
|
+
static authorizationStatus(): interop.Enum<typeof CLAuthorizationStatus>
|
|
214
|
+
|
|
215
|
+
readonly accuracyAuthorization: interop.Enum<typeof CLAccuracyAuthorization>
|
|
216
|
+
|
|
217
|
+
readonly authorizedForWidgetUpdates: boolean
|
|
218
|
+
|
|
219
|
+
delegate: CLLocationManagerDelegate
|
|
220
|
+
|
|
221
|
+
readonly locationServicesEnabled: boolean
|
|
222
|
+
|
|
223
|
+
purpose: string
|
|
224
|
+
|
|
225
|
+
activityType: interop.Enum<typeof CLActivityType>
|
|
226
|
+
|
|
227
|
+
distanceFilter: number
|
|
228
|
+
|
|
229
|
+
desiredAccuracy: number
|
|
230
|
+
|
|
231
|
+
pausesLocationUpdatesAutomatically: boolean
|
|
232
|
+
|
|
233
|
+
allowsBackgroundLocationUpdates: boolean
|
|
234
|
+
|
|
235
|
+
readonly location: CLLocation
|
|
236
|
+
|
|
237
|
+
readonly headingAvailable: boolean
|
|
238
|
+
|
|
239
|
+
headingFilter: number
|
|
240
|
+
|
|
241
|
+
headingOrientation: interop.Enum<typeof CLDeviceOrientation>
|
|
242
|
+
|
|
243
|
+
readonly heading: CLHeading
|
|
244
|
+
|
|
245
|
+
readonly maximumRegionMonitoringDistance: number
|
|
246
|
+
|
|
247
|
+
readonly monitoredRegions: NSSet
|
|
248
|
+
|
|
249
|
+
readonly rangedRegions: NSSet
|
|
250
|
+
|
|
251
|
+
readonly rangedBeaconConstraints: NSSet
|
|
252
|
+
|
|
253
|
+
requestWhenInUseAuthorization(): void
|
|
254
|
+
|
|
255
|
+
requestAlwaysAuthorization(): void
|
|
256
|
+
|
|
257
|
+
requestTemporaryFullAccuracyAuthorizationWithPurposeKeyCompletion(
|
|
258
|
+
purposeKey: string,
|
|
259
|
+
completion: (p1: NSError) => void | null,
|
|
260
|
+
): void
|
|
261
|
+
|
|
262
|
+
requestTemporaryFullAccuracyAuthorizationWithPurposeKey(purposeKey: string): void
|
|
263
|
+
|
|
264
|
+
startUpdatingLocation(): void
|
|
265
|
+
|
|
266
|
+
stopUpdatingLocation(): void
|
|
267
|
+
|
|
268
|
+
requestLocation(): void
|
|
269
|
+
|
|
270
|
+
startUpdatingHeading(): void
|
|
271
|
+
|
|
272
|
+
dismissHeadingCalibrationDisplay(): void
|
|
273
|
+
|
|
274
|
+
startMonitoringSignificantLocationChanges(): void
|
|
275
|
+
|
|
276
|
+
stopMonitoringSignificantLocationChanges(): void
|
|
277
|
+
|
|
278
|
+
startMonitoringForRegionDesiredAccuracy(region: CLRegion, accuracy: number): void
|
|
279
|
+
|
|
280
|
+
stopMonitoringForRegion(region: CLRegion): void
|
|
281
|
+
|
|
282
|
+
startMonitoringForRegion(region: CLRegion): void
|
|
283
|
+
|
|
284
|
+
requestStateForRegion(region: CLRegion): void
|
|
285
|
+
|
|
286
|
+
startRangingBeaconsInRegion(region: CLBeaconRegion): void
|
|
287
|
+
|
|
288
|
+
stopRangingBeaconsInRegion(region: CLBeaconRegion): void
|
|
289
|
+
|
|
290
|
+
startRangingBeaconsSatisfyingConstraint(constraint: CLBeaconIdentityConstraint): void
|
|
291
|
+
|
|
292
|
+
stopRangingBeaconsSatisfyingConstraint(constraint: CLBeaconIdentityConstraint): void
|
|
293
|
+
|
|
294
|
+
allowDeferredLocationUpdatesUntilTraveledTimeout(distance: number, timeout: number): void
|
|
295
|
+
|
|
296
|
+
disallowDeferredLocationUpdates(): void
|
|
297
|
+
|
|
298
|
+
static deferredLocationUpdatesAvailable(): boolean
|
|
299
|
+
|
|
300
|
+
isAuthorizedForWidgetUpdates(): boolean
|
|
301
|
+
|
|
302
|
+
startMonitoringVisits(): void
|
|
303
|
+
|
|
304
|
+
stopMonitoringVisits(): void
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
declare class CLHeading extends NSObject implements NSCopying, NSSecureCoding {
|
|
308
|
+
readonly magneticHeading: number
|
|
309
|
+
|
|
310
|
+
readonly trueHeading: number
|
|
311
|
+
|
|
312
|
+
readonly headingAccuracy: number
|
|
313
|
+
|
|
314
|
+
readonly x: number
|
|
315
|
+
|
|
316
|
+
readonly y: number
|
|
317
|
+
|
|
318
|
+
readonly z: number
|
|
319
|
+
|
|
320
|
+
readonly timestamp: NSDate
|
|
321
|
+
|
|
322
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
323
|
+
|
|
324
|
+
static readonly supportsSecureCoding: boolean
|
|
325
|
+
|
|
326
|
+
encodeWithCoder(coder: NSCoder): void
|
|
327
|
+
|
|
328
|
+
initWithCoder(coder: NSCoder): this
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
declare class CLBeacon extends NSObject implements NSCopying, NSSecureCoding {
|
|
332
|
+
readonly timestamp: NSDate
|
|
333
|
+
|
|
334
|
+
readonly UUID: NSUUID
|
|
335
|
+
|
|
336
|
+
readonly proximityUUID: NSUUID
|
|
337
|
+
|
|
338
|
+
readonly major: NSNumber
|
|
339
|
+
|
|
340
|
+
readonly minor: NSNumber
|
|
341
|
+
|
|
342
|
+
readonly proximity: interop.Enum<typeof CLProximity>
|
|
343
|
+
|
|
344
|
+
readonly accuracy: number
|
|
345
|
+
|
|
346
|
+
readonly rssi: number
|
|
347
|
+
|
|
348
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
349
|
+
|
|
350
|
+
static readonly supportsSecureCoding: boolean
|
|
351
|
+
|
|
352
|
+
encodeWithCoder(coder: NSCoder): void
|
|
353
|
+
|
|
354
|
+
initWithCoder(coder: NSCoder): this
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
declare class CLBeaconIdentityConstraint extends NSObject implements NSCopying, NSSecureCoding {
|
|
358
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
359
|
+
|
|
360
|
+
static readonly supportsSecureCoding: boolean
|
|
361
|
+
|
|
362
|
+
encodeWithCoder(coder: NSCoder): void
|
|
363
|
+
|
|
364
|
+
initWithCoder(coder: NSCoder): this
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
declare class CLCircularRegion extends CLRegion {
|
|
368
|
+
initWithCenterRadiusIdentifier(
|
|
369
|
+
center: CLLocationCoordinate2D,
|
|
370
|
+
radius: number,
|
|
371
|
+
identifier: string,
|
|
372
|
+
): this
|
|
373
|
+
|
|
374
|
+
readonly center: CLLocationCoordinate2D
|
|
375
|
+
|
|
376
|
+
readonly radius: number
|
|
377
|
+
|
|
378
|
+
containsCoordinate(coordinate: CLLocationCoordinate2D): boolean
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
declare class CLRegion extends NSObject implements NSCopying, NSSecureCoding {
|
|
382
|
+
initCircularRegionWithCenterRadiusIdentifier(
|
|
383
|
+
center: CLLocationCoordinate2D,
|
|
384
|
+
radius: number,
|
|
385
|
+
identifier: string,
|
|
386
|
+
): this
|
|
387
|
+
|
|
388
|
+
readonly center: CLLocationCoordinate2D
|
|
389
|
+
|
|
390
|
+
readonly radius: number
|
|
391
|
+
|
|
392
|
+
readonly identifier: string
|
|
393
|
+
|
|
394
|
+
notifyOnEntry: boolean
|
|
395
|
+
|
|
396
|
+
notifyOnExit: boolean
|
|
397
|
+
|
|
398
|
+
containsCoordinate(coordinate: CLLocationCoordinate2D): boolean
|
|
399
|
+
|
|
400
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
401
|
+
|
|
402
|
+
static readonly supportsSecureCoding: boolean
|
|
403
|
+
|
|
404
|
+
encodeWithCoder(coder: NSCoder): void
|
|
405
|
+
|
|
406
|
+
initWithCoder(coder: NSCoder): this
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
declare class CLGeocoder extends NSObject {
|
|
410
|
+
readonly geocoding: boolean
|
|
411
|
+
|
|
412
|
+
reverseGeocodeLocationCompletionHandler(
|
|
413
|
+
location: CLLocation,
|
|
414
|
+
completionHandler: (p1: NSArray<interop.Object> | Array<interop.Object>, p2: NSError) => void,
|
|
415
|
+
): void
|
|
416
|
+
|
|
417
|
+
reverseGeocodeLocationPreferredLocaleCompletionHandler(
|
|
418
|
+
location: CLLocation,
|
|
419
|
+
locale: NSLocale | null,
|
|
420
|
+
completionHandler: (p1: NSArray<interop.Object> | Array<interop.Object>, p2: NSError) => void,
|
|
421
|
+
): void
|
|
422
|
+
|
|
423
|
+
geocodeAddressDictionaryCompletionHandler(
|
|
424
|
+
addressDictionary:
|
|
425
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
426
|
+
| Record<interop.Object, interop.Object>,
|
|
427
|
+
completionHandler: (p1: NSArray<interop.Object> | Array<interop.Object>, p2: NSError) => void,
|
|
428
|
+
): void
|
|
429
|
+
|
|
430
|
+
geocodeAddressStringInRegionCompletionHandler(
|
|
431
|
+
addressString: string,
|
|
432
|
+
region: CLRegion | null,
|
|
433
|
+
completionHandler: (p1: NSArray<interop.Object> | Array<interop.Object>, p2: NSError) => void,
|
|
434
|
+
): void
|
|
435
|
+
|
|
436
|
+
geocodeAddressStringInRegionPreferredLocaleCompletionHandler(
|
|
437
|
+
addressString: string,
|
|
438
|
+
region: CLRegion | null,
|
|
439
|
+
locale: NSLocale | null,
|
|
440
|
+
completionHandler: (p1: NSArray<interop.Object> | Array<interop.Object>, p2: NSError) => void,
|
|
441
|
+
): void
|
|
442
|
+
|
|
443
|
+
geocodeAddressStringCompletionHandler(
|
|
444
|
+
addressString: string,
|
|
445
|
+
completionHandler: (p1: NSArray<interop.Object> | Array<interop.Object>, p2: NSError) => void,
|
|
446
|
+
): void
|
|
447
|
+
|
|
448
|
+
cancelGeocode(): void
|
|
449
|
+
|
|
450
|
+
isGeocoding(): boolean
|
|
451
|
+
|
|
452
|
+
geocodePostalAddressCompletionHandler(
|
|
453
|
+
postalAddress: CNPostalAddress,
|
|
454
|
+
completionHandler: (p1: NSArray<interop.Object> | Array<interop.Object>, p2: NSError) => void,
|
|
455
|
+
): void
|
|
456
|
+
|
|
457
|
+
geocodePostalAddressPreferredLocaleCompletionHandler(
|
|
458
|
+
postalAddress: CNPostalAddress,
|
|
459
|
+
locale: NSLocale | null,
|
|
460
|
+
completionHandler: (p1: NSArray<interop.Object> | Array<interop.Object>, p2: NSError) => void,
|
|
461
|
+
): void
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
declare class CLBeaconRegion extends CLRegion {
|
|
465
|
+
initWithUUIDIdentifier(uuid: NSUUID, identifier: string): this
|
|
466
|
+
|
|
467
|
+
initWithProximityUUIDIdentifier(proximityUUID: NSUUID, identifier: string): this
|
|
468
|
+
|
|
469
|
+
initWithUUIDMajorIdentifier(uuid: NSUUID, major: number, identifier: string): this
|
|
470
|
+
|
|
471
|
+
initWithProximityUUIDMajorIdentifier(
|
|
472
|
+
proximityUUID: NSUUID,
|
|
473
|
+
major: number,
|
|
474
|
+
identifier: string,
|
|
475
|
+
): this
|
|
476
|
+
|
|
477
|
+
initWithUUIDMajorMinorIdentifier(
|
|
478
|
+
uuid: NSUUID,
|
|
479
|
+
major: number,
|
|
480
|
+
minor: number,
|
|
481
|
+
identifier: string,
|
|
482
|
+
): this
|
|
483
|
+
|
|
484
|
+
initWithProximityUUIDMajorMinorIdentifier(
|
|
485
|
+
proximityUUID: NSUUID,
|
|
486
|
+
major: number,
|
|
487
|
+
minor: number,
|
|
488
|
+
identifier: string,
|
|
489
|
+
): this
|
|
490
|
+
|
|
491
|
+
initWithBeaconIdentityConstraintIdentifier(
|
|
492
|
+
beaconIdentityConstraint: CLBeaconIdentityConstraint,
|
|
493
|
+
identifier: string,
|
|
494
|
+
): this
|
|
495
|
+
|
|
496
|
+
peripheralDataWithMeasuredPower(measuredPower: NSNumber | null): NSMutableDictionary
|
|
497
|
+
|
|
498
|
+
readonly beaconIdentityConstraint: CLBeaconIdentityConstraint
|
|
499
|
+
|
|
500
|
+
readonly UUID: NSUUID
|
|
501
|
+
|
|
502
|
+
readonly proximityUUID: NSUUID
|
|
503
|
+
|
|
504
|
+
readonly major: NSNumber
|
|
505
|
+
|
|
506
|
+
readonly minor: NSNumber
|
|
507
|
+
|
|
508
|
+
notifyEntryStateOnDisplay: boolean
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
declare class CLPlacemark extends NSObject implements NSCopying, NSSecureCoding {
|
|
512
|
+
initWithPlacemark(placemark: CLPlacemark): this
|
|
513
|
+
|
|
514
|
+
readonly location: CLLocation
|
|
515
|
+
|
|
516
|
+
readonly region: CLRegion
|
|
517
|
+
|
|
518
|
+
readonly timeZone: NSTimeZone
|
|
519
|
+
|
|
520
|
+
readonly addressDictionary: NSDictionary
|
|
521
|
+
|
|
522
|
+
readonly name: string
|
|
523
|
+
|
|
524
|
+
readonly thoroughfare: string
|
|
525
|
+
|
|
526
|
+
readonly subThoroughfare: string
|
|
527
|
+
|
|
528
|
+
readonly locality: string
|
|
529
|
+
|
|
530
|
+
readonly subLocality: string
|
|
531
|
+
|
|
532
|
+
readonly administrativeArea: string
|
|
533
|
+
|
|
534
|
+
readonly subAdministrativeArea: string
|
|
535
|
+
|
|
536
|
+
readonly postalCode: string
|
|
537
|
+
|
|
538
|
+
readonly ISOcountryCode: string
|
|
539
|
+
|
|
540
|
+
readonly country: string
|
|
541
|
+
|
|
542
|
+
readonly inlandWater: string
|
|
543
|
+
|
|
544
|
+
readonly ocean: string
|
|
545
|
+
|
|
546
|
+
readonly areasOfInterest: NSArray
|
|
547
|
+
|
|
548
|
+
readonly postalAddress: CNPostalAddress
|
|
549
|
+
|
|
550
|
+
static placemarkWithLocationNamePostalAddress<This extends abstract new (...args: any) => any>(
|
|
551
|
+
this: This,
|
|
552
|
+
location: CLLocation,
|
|
553
|
+
name: string | null,
|
|
554
|
+
postalAddress: CNPostalAddress | null,
|
|
555
|
+
): InstanceType<This>
|
|
556
|
+
|
|
557
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
558
|
+
|
|
559
|
+
static readonly supportsSecureCoding: boolean
|
|
560
|
+
|
|
561
|
+
encodeWithCoder(coder: NSCoder): void
|
|
562
|
+
|
|
563
|
+
initWithCoder(coder: NSCoder): this
|
|
564
|
+
}
|