@octane-xplat/macos-renderer 0.13.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,1565 @@
|
|
|
1
|
+
/// <reference types="@nativescript/objc-node-api" />
|
|
2
|
+
/// <reference path="./Runtime.d.ts" />
|
|
3
|
+
/// <reference path="./Foundation.d.ts" />
|
|
4
|
+
|
|
5
|
+
declare const CKQueryOperationMaximumResults: number
|
|
6
|
+
|
|
7
|
+
declare const CKRecordTypeShare: string
|
|
8
|
+
|
|
9
|
+
declare const CKErrorRetryAfterKey: string
|
|
10
|
+
|
|
11
|
+
declare const CKRecordChangedErrorClientRecordKey: string
|
|
12
|
+
|
|
13
|
+
declare const CKRecordChangedErrorServerRecordKey: string
|
|
14
|
+
|
|
15
|
+
declare const CKRecordChangedErrorAncestorRecordKey: string
|
|
16
|
+
|
|
17
|
+
declare const CKAccountChangedNotification: string
|
|
18
|
+
|
|
19
|
+
declare const CKCurrentUserDefaultName: string
|
|
20
|
+
|
|
21
|
+
declare const CKPartialErrorsByItemIDKey: string
|
|
22
|
+
|
|
23
|
+
declare const CKRecordCreatorUserRecordIDKey: string
|
|
24
|
+
|
|
25
|
+
declare const CKRecordShareKey: string
|
|
26
|
+
|
|
27
|
+
declare const CKRecordParentKey: string
|
|
28
|
+
|
|
29
|
+
declare const CKRecordModificationDateKey: string
|
|
30
|
+
|
|
31
|
+
declare const CKRecordLastModifiedUserRecordIDKey: string
|
|
32
|
+
|
|
33
|
+
declare const CKRecordTypeUserRecord: string
|
|
34
|
+
|
|
35
|
+
declare const CKRecordRecordIDKey: string
|
|
36
|
+
|
|
37
|
+
declare const CKShareTypeKey: string
|
|
38
|
+
|
|
39
|
+
declare const CKShareTitleKey: string
|
|
40
|
+
|
|
41
|
+
declare const CKOwnerDefaultName: string
|
|
42
|
+
|
|
43
|
+
declare const CKErrorDomain: string
|
|
44
|
+
|
|
45
|
+
declare const CKRecordZoneDefaultName: string
|
|
46
|
+
|
|
47
|
+
declare const CKRecordCreationDateKey: string
|
|
48
|
+
|
|
49
|
+
declare const CKShareThumbnailImageDataKey: string
|
|
50
|
+
|
|
51
|
+
declare const CKSyncEngineAccountChangeType: {
|
|
52
|
+
SignIn: 0
|
|
53
|
+
SignOut: 1
|
|
54
|
+
SwitchAccounts: 2
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
declare const CKSyncEngineEventType: {
|
|
58
|
+
StateUpdate: 0
|
|
59
|
+
AccountChange: 1
|
|
60
|
+
FetchedDatabaseChanges: 2
|
|
61
|
+
FetchedRecordZoneChanges: 3
|
|
62
|
+
SentDatabaseChanges: 4
|
|
63
|
+
SentRecordZoneChanges: 5
|
|
64
|
+
WillFetchChanges: 6
|
|
65
|
+
WillFetchRecordZoneChanges: 7
|
|
66
|
+
DidFetchRecordZoneChanges: 8
|
|
67
|
+
DidFetchChanges: 9
|
|
68
|
+
WillSendChanges: 10
|
|
69
|
+
DidSendChanges: 11
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
declare const CKSyncEngineSyncReason: {
|
|
73
|
+
Scheduled: 0
|
|
74
|
+
Manual: 1
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
declare const CKSyncEnginePendingDatabaseChangeType: {
|
|
78
|
+
Save: 0
|
|
79
|
+
Delete: 1
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
declare const CKRecordSavePolicy: {
|
|
83
|
+
IfServerRecordUnchanged: 0
|
|
84
|
+
ChangedKeys: 1
|
|
85
|
+
AllKeys: 2
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
declare const CKShareParticipantAcceptanceStatus: {
|
|
89
|
+
Unknown: 0
|
|
90
|
+
Pending: 1
|
|
91
|
+
Accepted: 2
|
|
92
|
+
Removed: 3
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
declare const CKRecordZoneEncryptionScope: {
|
|
96
|
+
Record: 0
|
|
97
|
+
Zone: 1
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
declare const CKQueryNotificationReason: {
|
|
101
|
+
Created: 1
|
|
102
|
+
Updated: 2
|
|
103
|
+
Deleted: 3
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
declare const CKApplicationPermissionStatus: {
|
|
107
|
+
InitialState: 0
|
|
108
|
+
CouldNotComplete: 1
|
|
109
|
+
Denied: 2
|
|
110
|
+
Granted: 3
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
declare const CKApplicationPermissions: {
|
|
114
|
+
CKApplicationPermissionUserDiscoverability: 1
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
declare const CKAccountStatus: {
|
|
118
|
+
CouldNotDetermine: 0
|
|
119
|
+
Available: 1
|
|
120
|
+
Restricted: 2
|
|
121
|
+
NoAccount: 3
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
declare const CKShareParticipantRole: {
|
|
125
|
+
Unknown: 0
|
|
126
|
+
Owner: 1
|
|
127
|
+
PrivateUser: 3
|
|
128
|
+
PublicUser: 4
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
declare const CKSyncEnginePendingRecordZoneChangeType: {
|
|
132
|
+
Save: 0
|
|
133
|
+
Delete: 1
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
declare const CKNotificationType: {
|
|
137
|
+
Query: 1
|
|
138
|
+
RecordZone: 2
|
|
139
|
+
ReadNotification: 3
|
|
140
|
+
Database: 4
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
declare const CKShareParticipantType: {
|
|
144
|
+
Unknown: 0
|
|
145
|
+
Owner: 1
|
|
146
|
+
PrivateUser: 3
|
|
147
|
+
PublicUser: 4
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
declare const CKOperationGroupTransferSize: {
|
|
151
|
+
Unknown: 0
|
|
152
|
+
Kilobytes: 1
|
|
153
|
+
Megabytes: 2
|
|
154
|
+
TensOfMegabytes: 3
|
|
155
|
+
HundredsOfMegabytes: 4
|
|
156
|
+
Gigabytes: 5
|
|
157
|
+
TensOfGigabytes: 6
|
|
158
|
+
HundredsOfGigabytes: 7
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
declare const CKShareParticipantPermission: {
|
|
162
|
+
Unknown: 0
|
|
163
|
+
None: 1
|
|
164
|
+
ReadOnly: 2
|
|
165
|
+
ReadWrite: 3
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
declare const CKDatabaseScope: {
|
|
169
|
+
Public: 1
|
|
170
|
+
Private: 2
|
|
171
|
+
Shared: 3
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
declare const CKQuerySubscriptionOptions: {
|
|
175
|
+
OnRecordCreation: 1
|
|
176
|
+
OnRecordUpdate: 2
|
|
177
|
+
OnRecordDeletion: 4
|
|
178
|
+
Once: 8
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
declare const CKSubscriptionType: {
|
|
182
|
+
Query: 1
|
|
183
|
+
RecordZone: 2
|
|
184
|
+
Database: 3
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
declare const CKReferenceAction: {
|
|
188
|
+
None: 0
|
|
189
|
+
DeleteSelf: 1
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
declare const CKErrorCode: {
|
|
193
|
+
InternalError: 1
|
|
194
|
+
PartialFailure: 2
|
|
195
|
+
NetworkUnavailable: 3
|
|
196
|
+
NetworkFailure: 4
|
|
197
|
+
BadContainer: 5
|
|
198
|
+
ServiceUnavailable: 6
|
|
199
|
+
RequestRateLimited: 7
|
|
200
|
+
MissingEntitlement: 8
|
|
201
|
+
NotAuthenticated: 9
|
|
202
|
+
PermissionFailure: 10
|
|
203
|
+
UnknownItem: 11
|
|
204
|
+
InvalidArguments: 12
|
|
205
|
+
ResultsTruncated: 13
|
|
206
|
+
ServerRecordChanged: 14
|
|
207
|
+
ServerRejectedRequest: 15
|
|
208
|
+
AssetFileNotFound: 16
|
|
209
|
+
AssetFileModified: 17
|
|
210
|
+
IncompatibleVersion: 18
|
|
211
|
+
ConstraintViolation: 19
|
|
212
|
+
OperationCancelled: 20
|
|
213
|
+
ChangeTokenExpired: 21
|
|
214
|
+
BatchRequestFailed: 22
|
|
215
|
+
ZoneBusy: 23
|
|
216
|
+
BadDatabase: 24
|
|
217
|
+
QuotaExceeded: 25
|
|
218
|
+
ZoneNotFound: 26
|
|
219
|
+
LimitExceeded: 27
|
|
220
|
+
UserDeletedZone: 28
|
|
221
|
+
TooManyParticipants: 29
|
|
222
|
+
AlreadyShared: 30
|
|
223
|
+
ReferenceViolation: 31
|
|
224
|
+
ManagedAccountRestricted: 32
|
|
225
|
+
ParticipantMayNeedVerification: 33
|
|
226
|
+
ServerResponseLost: 34
|
|
227
|
+
AssetNotAvailable: 35
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
declare const CKRecordZoneCapabilities: {
|
|
231
|
+
FetchChanges: 1
|
|
232
|
+
Atomic: 2
|
|
233
|
+
Sharing: 4
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
declare const CKSyncEngineZoneDeletionReason: {
|
|
237
|
+
Deleted: 0
|
|
238
|
+
Purged: 1
|
|
239
|
+
EncryptedDataReset: 2
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
declare interface CKRecordKeyValueSetting extends NSObjectProtocol {
|
|
243
|
+
objectForKey(key: string): CKRecordValue
|
|
244
|
+
|
|
245
|
+
setObjectForKey(object: CKRecordValue | null, key: string): void
|
|
246
|
+
|
|
247
|
+
objectForKeyedSubscript(key: string): CKRecordValue
|
|
248
|
+
|
|
249
|
+
setObjectForKeyedSubscript(object: CKRecordValue | null, key: string): void
|
|
250
|
+
|
|
251
|
+
allKeys(): NSArray
|
|
252
|
+
|
|
253
|
+
changedKeys(): NSArray
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
declare class CKRecordKeyValueSetting extends NativeObject implements CKRecordKeyValueSetting {}
|
|
257
|
+
|
|
258
|
+
declare interface CKRecordValue extends NSObjectProtocol {}
|
|
259
|
+
|
|
260
|
+
declare class CKRecordValue extends NativeObject implements CKRecordValue {}
|
|
261
|
+
|
|
262
|
+
declare class CKQueryOperation extends CKDatabaseOperation {
|
|
263
|
+
init(): this
|
|
264
|
+
|
|
265
|
+
initWithQuery(query: CKQuery): this
|
|
266
|
+
|
|
267
|
+
initWithCursor(cursor: CKQueryCursor): this
|
|
268
|
+
|
|
269
|
+
query: CKQuery
|
|
270
|
+
|
|
271
|
+
cursor: CKQueryCursor
|
|
272
|
+
|
|
273
|
+
zoneID: CKRecordZoneID
|
|
274
|
+
|
|
275
|
+
resultsLimit: number
|
|
276
|
+
|
|
277
|
+
get desiredKeys(): NSArray
|
|
278
|
+
set desiredKeys(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
279
|
+
|
|
280
|
+
recordFetchedBlock: (p1: CKRecord) => void
|
|
281
|
+
|
|
282
|
+
queryCompletionBlock: (p1: CKQueryCursor, p2: NSError) => void | null
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
declare class CKModifyRecordsOperation extends CKDatabaseOperation {
|
|
286
|
+
init(): this
|
|
287
|
+
|
|
288
|
+
initWithRecordsToSaveRecordIDsToDelete(
|
|
289
|
+
records: NSArray<interop.Object> | Array<interop.Object> | null,
|
|
290
|
+
recordIDs: NSArray<interop.Object> | Array<interop.Object> | null,
|
|
291
|
+
): this
|
|
292
|
+
|
|
293
|
+
get recordsToSave(): NSArray
|
|
294
|
+
set recordsToSave(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
295
|
+
|
|
296
|
+
get recordIDsToDelete(): NSArray
|
|
297
|
+
set recordIDsToDelete(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
298
|
+
|
|
299
|
+
savePolicy: interop.Enum<typeof CKRecordSavePolicy>
|
|
300
|
+
|
|
301
|
+
clientChangeTokenData: NSData
|
|
302
|
+
|
|
303
|
+
atomic: boolean
|
|
304
|
+
|
|
305
|
+
perRecordProgressBlock: (p1: CKRecord, p2: number) => void
|
|
306
|
+
|
|
307
|
+
perRecordCompletionBlock: (p1: CKRecord, p2: NSError) => void | null
|
|
308
|
+
|
|
309
|
+
modifyRecordsCompletionBlock: (
|
|
310
|
+
p1: NSArray<interop.Object> | Array<interop.Object>,
|
|
311
|
+
p2: NSArray<interop.Object> | Array<interop.Object>,
|
|
312
|
+
p3: NSError,
|
|
313
|
+
) => void | null
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
declare class CKFetchSubscriptionsOperation extends CKDatabaseOperation {
|
|
317
|
+
static fetchAllSubscriptionsOperation<This extends abstract new (...args: any) => any>(
|
|
318
|
+
this: This,
|
|
319
|
+
): InstanceType<This>
|
|
320
|
+
|
|
321
|
+
init(): this
|
|
322
|
+
|
|
323
|
+
initWithSubscriptionIDs(subscriptionIDs: NSArray<interop.Object> | Array<interop.Object>): this
|
|
324
|
+
|
|
325
|
+
get subscriptionIDs(): NSArray
|
|
326
|
+
set subscriptionIDs(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
327
|
+
|
|
328
|
+
fetchSubscriptionCompletionBlock: (
|
|
329
|
+
p1: NSDictionary<interop.Object, interop.Object> | Record<interop.Object, interop.Object>,
|
|
330
|
+
p2: NSError,
|
|
331
|
+
) => void | null
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
declare class CKFetchRecordZoneChangesOptions
|
|
335
|
+
extends NSObject
|
|
336
|
+
implements NSSecureCoding, NSCopying
|
|
337
|
+
{
|
|
338
|
+
previousServerChangeToken: CKServerChangeToken
|
|
339
|
+
|
|
340
|
+
resultsLimit: number
|
|
341
|
+
|
|
342
|
+
get desiredKeys(): NSArray
|
|
343
|
+
set desiredKeys(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
344
|
+
|
|
345
|
+
static readonly supportsSecureCoding: boolean
|
|
346
|
+
|
|
347
|
+
encodeWithCoder(coder: NSCoder): void
|
|
348
|
+
|
|
349
|
+
initWithCoder(coder: NSCoder): this
|
|
350
|
+
|
|
351
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
declare class CKFetchRecordChangesOperation extends CKDatabaseOperation {
|
|
355
|
+
init(): this
|
|
356
|
+
|
|
357
|
+
initWithRecordZoneIDPreviousServerChangeToken(
|
|
358
|
+
recordZoneID: CKRecordZoneID,
|
|
359
|
+
previousServerChangeToken: CKServerChangeToken | null,
|
|
360
|
+
): this
|
|
361
|
+
|
|
362
|
+
recordZoneID: CKRecordZoneID
|
|
363
|
+
|
|
364
|
+
previousServerChangeToken: CKServerChangeToken
|
|
365
|
+
|
|
366
|
+
resultsLimit: number
|
|
367
|
+
|
|
368
|
+
get desiredKeys(): NSArray
|
|
369
|
+
set desiredKeys(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
370
|
+
|
|
371
|
+
recordChangedBlock: (p1: CKRecord) => void
|
|
372
|
+
|
|
373
|
+
recordWithIDWasDeletedBlock: (p1: CKRecordID) => void
|
|
374
|
+
|
|
375
|
+
readonly moreComing: boolean
|
|
376
|
+
|
|
377
|
+
fetchRecordChangesCompletionBlock: (
|
|
378
|
+
p1: CKServerChangeToken,
|
|
379
|
+
p2: NSData,
|
|
380
|
+
p3: NSError,
|
|
381
|
+
) => void | null
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
declare class CKDiscoverUserIdentitiesOperation extends CKOperation {
|
|
385
|
+
init(): this
|
|
386
|
+
|
|
387
|
+
initWithUserIdentityLookupInfos(
|
|
388
|
+
userIdentityLookupInfos: NSArray<interop.Object> | Array<interop.Object>,
|
|
389
|
+
): this
|
|
390
|
+
|
|
391
|
+
get userIdentityLookupInfos(): NSArray
|
|
392
|
+
set userIdentityLookupInfos(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
393
|
+
|
|
394
|
+
userIdentityDiscoveredBlock: (p1: CKUserIdentity, p2: CKUserIdentityLookupInfo) => void
|
|
395
|
+
|
|
396
|
+
discoverUserIdentitiesCompletionBlock: (p1: NSError) => void | null
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
declare class CKUserIdentityLookupInfo extends NSObject implements NSSecureCoding, NSCopying {
|
|
400
|
+
initWithEmailAddress(emailAddress: string): this
|
|
401
|
+
|
|
402
|
+
initWithPhoneNumber(phoneNumber: string): this
|
|
403
|
+
|
|
404
|
+
initWithUserRecordID(userRecordID: CKRecordID): this
|
|
405
|
+
|
|
406
|
+
static lookupInfosWithEmails(emails: NSArray<interop.Object> | Array<interop.Object>): NSArray
|
|
407
|
+
|
|
408
|
+
static lookupInfosWithPhoneNumbers(
|
|
409
|
+
phoneNumbers: NSArray<interop.Object> | Array<interop.Object>,
|
|
410
|
+
): NSArray
|
|
411
|
+
|
|
412
|
+
static lookupInfosWithRecordIDs(
|
|
413
|
+
recordIDs: NSArray<interop.Object> | Array<interop.Object>,
|
|
414
|
+
): NSArray
|
|
415
|
+
|
|
416
|
+
readonly emailAddress: string
|
|
417
|
+
|
|
418
|
+
readonly phoneNumber: string
|
|
419
|
+
|
|
420
|
+
readonly userRecordID: CKRecordID
|
|
421
|
+
|
|
422
|
+
static readonly supportsSecureCoding: boolean
|
|
423
|
+
|
|
424
|
+
encodeWithCoder(coder: NSCoder): void
|
|
425
|
+
|
|
426
|
+
initWithCoder(coder: NSCoder): this
|
|
427
|
+
|
|
428
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
declare class CKUserIdentity extends NSObject implements NSSecureCoding, NSCopying {
|
|
432
|
+
readonly userRecordID: CKRecordID
|
|
433
|
+
|
|
434
|
+
readonly lookupInfo: CKUserIdentityLookupInfo
|
|
435
|
+
|
|
436
|
+
readonly nameComponents: NSPersonNameComponents
|
|
437
|
+
|
|
438
|
+
readonly hasiCloudAccount: boolean
|
|
439
|
+
|
|
440
|
+
readonly contactIdentifiers: NSArray
|
|
441
|
+
|
|
442
|
+
static readonly supportsSecureCoding: boolean
|
|
443
|
+
|
|
444
|
+
encodeWithCoder(coder: NSCoder): void
|
|
445
|
+
|
|
446
|
+
initWithCoder(coder: NSCoder): this
|
|
447
|
+
|
|
448
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
declare class CKShareMetadata extends NSObject implements NSCopying, NSSecureCoding {
|
|
452
|
+
readonly containerIdentifier: string
|
|
453
|
+
|
|
454
|
+
readonly share: CKShare
|
|
455
|
+
|
|
456
|
+
readonly participantRole: interop.Enum<typeof CKShareParticipantRole>
|
|
457
|
+
|
|
458
|
+
readonly participantStatus: interop.Enum<typeof CKShareParticipantAcceptanceStatus>
|
|
459
|
+
|
|
460
|
+
readonly participantPermission: interop.Enum<typeof CKShareParticipantPermission>
|
|
461
|
+
|
|
462
|
+
readonly ownerIdentity: CKUserIdentity
|
|
463
|
+
|
|
464
|
+
readonly rootRecord: CKRecord
|
|
465
|
+
|
|
466
|
+
readonly participantType: interop.Enum<typeof CKShareParticipantType>
|
|
467
|
+
|
|
468
|
+
readonly rootRecordID: CKRecordID
|
|
469
|
+
|
|
470
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
471
|
+
|
|
472
|
+
static readonly supportsSecureCoding: boolean
|
|
473
|
+
|
|
474
|
+
encodeWithCoder(coder: NSCoder): void
|
|
475
|
+
|
|
476
|
+
initWithCoder(coder: NSCoder): this
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
declare class CKServerChangeToken extends NSObject implements NSCopying, NSSecureCoding {
|
|
480
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
481
|
+
|
|
482
|
+
static readonly supportsSecureCoding: boolean
|
|
483
|
+
|
|
484
|
+
encodeWithCoder(coder: NSCoder): void
|
|
485
|
+
|
|
486
|
+
initWithCoder(coder: NSCoder): this
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
declare class CKQuery extends NSObject implements NSSecureCoding, NSCopying {
|
|
490
|
+
initWithCoder(aDecoder: NSCoder): this
|
|
491
|
+
|
|
492
|
+
initWithRecordTypePredicate(recordType: string, predicate: NSPredicate): this
|
|
493
|
+
|
|
494
|
+
readonly recordType: string
|
|
495
|
+
|
|
496
|
+
readonly predicate: NSPredicate
|
|
497
|
+
|
|
498
|
+
get sortDescriptors(): NSArray
|
|
499
|
+
set sortDescriptors(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
500
|
+
|
|
501
|
+
static readonly supportsSecureCoding: boolean
|
|
502
|
+
|
|
503
|
+
encodeWithCoder(coder: NSCoder): void
|
|
504
|
+
|
|
505
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
declare class CKOperationGroup extends NSObject implements NSSecureCoding, NSCopying {
|
|
509
|
+
init(): this
|
|
510
|
+
|
|
511
|
+
initWithCoder(aDecoder: NSCoder): this
|
|
512
|
+
|
|
513
|
+
readonly operationGroupID: string
|
|
514
|
+
|
|
515
|
+
defaultConfiguration: CKOperationConfiguration
|
|
516
|
+
|
|
517
|
+
name: string
|
|
518
|
+
|
|
519
|
+
quantity: number
|
|
520
|
+
|
|
521
|
+
expectedSendSize: interop.Enum<typeof CKOperationGroupTransferSize>
|
|
522
|
+
|
|
523
|
+
expectedReceiveSize: interop.Enum<typeof CKOperationGroupTransferSize>
|
|
524
|
+
|
|
525
|
+
static readonly supportsSecureCoding: boolean
|
|
526
|
+
|
|
527
|
+
encodeWithCoder(coder: NSCoder): void
|
|
528
|
+
|
|
529
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
declare class CKQueryNotification extends CKNotification {
|
|
533
|
+
readonly queryNotificationReason: interop.Enum<typeof CKQueryNotificationReason>
|
|
534
|
+
|
|
535
|
+
readonly recordFields: NSDictionary
|
|
536
|
+
|
|
537
|
+
readonly recordID: CKRecordID
|
|
538
|
+
|
|
539
|
+
readonly databaseScope: interop.Enum<typeof CKDatabaseScope>
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
declare class CKNotificationID extends NSObject implements NSCopying, NSSecureCoding {
|
|
543
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
544
|
+
|
|
545
|
+
static readonly supportsSecureCoding: boolean
|
|
546
|
+
|
|
547
|
+
encodeWithCoder(coder: NSCoder): void
|
|
548
|
+
|
|
549
|
+
initWithCoder(coder: NSCoder): this
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
declare class CKOperation extends NSOperation {
|
|
553
|
+
init(): this
|
|
554
|
+
|
|
555
|
+
configuration: CKOperationConfiguration
|
|
556
|
+
|
|
557
|
+
group: CKOperationGroup
|
|
558
|
+
|
|
559
|
+
readonly operationID: string
|
|
560
|
+
|
|
561
|
+
longLivedOperationWasPersistedBlock: () => void
|
|
562
|
+
|
|
563
|
+
container: CKContainer
|
|
564
|
+
|
|
565
|
+
allowsCellularAccess: boolean
|
|
566
|
+
|
|
567
|
+
longLived: boolean
|
|
568
|
+
|
|
569
|
+
timeoutIntervalForRequest: number
|
|
570
|
+
|
|
571
|
+
timeoutIntervalForResource: number
|
|
572
|
+
|
|
573
|
+
isLongLived(): boolean
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
declare class CKFetchDatabaseChangesOperation extends CKDatabaseOperation {
|
|
577
|
+
init(): this
|
|
578
|
+
|
|
579
|
+
initWithPreviousServerChangeToken(previousServerChangeToken: CKServerChangeToken | null): this
|
|
580
|
+
|
|
581
|
+
previousServerChangeToken: CKServerChangeToken
|
|
582
|
+
|
|
583
|
+
resultsLimit: number
|
|
584
|
+
|
|
585
|
+
fetchAllChanges: boolean
|
|
586
|
+
|
|
587
|
+
recordZoneWithIDChangedBlock: (p1: CKRecordZoneID) => void
|
|
588
|
+
|
|
589
|
+
recordZoneWithIDWasDeletedBlock: (p1: CKRecordZoneID) => void
|
|
590
|
+
|
|
591
|
+
recordZoneWithIDWasPurgedBlock: (p1: CKRecordZoneID) => void
|
|
592
|
+
|
|
593
|
+
changeTokenUpdatedBlock: (p1: CKServerChangeToken) => void
|
|
594
|
+
|
|
595
|
+
fetchDatabaseChangesCompletionBlock: (
|
|
596
|
+
p1: CKServerChangeToken,
|
|
597
|
+
p2: boolean,
|
|
598
|
+
p3: NSError,
|
|
599
|
+
) => void | null
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
declare class CKRecordID extends NSObject implements NSSecureCoding, NSCopying {
|
|
603
|
+
initWithRecordName(recordName: string): this
|
|
604
|
+
|
|
605
|
+
initWithRecordNameZoneID(recordName: string, zoneID: CKRecordZoneID): this
|
|
606
|
+
|
|
607
|
+
readonly recordName: string
|
|
608
|
+
|
|
609
|
+
readonly zoneID: CKRecordZoneID
|
|
610
|
+
|
|
611
|
+
static readonly supportsSecureCoding: boolean
|
|
612
|
+
|
|
613
|
+
encodeWithCoder(coder: NSCoder): void
|
|
614
|
+
|
|
615
|
+
initWithCoder(coder: NSCoder): this
|
|
616
|
+
|
|
617
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
declare class CKShare extends CKRecord implements NSSecureCoding, NSCopying {
|
|
621
|
+
initWithRootRecord(rootRecord: CKRecord): this
|
|
622
|
+
|
|
623
|
+
initWithRootRecordShareID(rootRecord: CKRecord, shareID: CKRecordID): this
|
|
624
|
+
|
|
625
|
+
initWithCoder(coder: NSCoder): this
|
|
626
|
+
initWithCoder(aDecoder: NSCoder): this
|
|
627
|
+
|
|
628
|
+
publicPermission: interop.Enum<typeof CKShareParticipantPermission>
|
|
629
|
+
|
|
630
|
+
readonly URL: NSURL
|
|
631
|
+
|
|
632
|
+
readonly participants: NSArray
|
|
633
|
+
|
|
634
|
+
readonly owner: CKShareParticipant
|
|
635
|
+
|
|
636
|
+
readonly currentUserParticipant: CKShareParticipant
|
|
637
|
+
|
|
638
|
+
addParticipant(participant: CKShareParticipant): void
|
|
639
|
+
|
|
640
|
+
removeParticipant(participant: CKShareParticipant): void
|
|
641
|
+
|
|
642
|
+
static readonly supportsSecureCoding: boolean
|
|
643
|
+
|
|
644
|
+
encodeWithCoder(coder: NSCoder): void
|
|
645
|
+
|
|
646
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
declare class CKModifyRecordZonesOperation extends CKDatabaseOperation {
|
|
650
|
+
init(): this
|
|
651
|
+
|
|
652
|
+
initWithRecordZonesToSaveRecordZoneIDsToDelete(
|
|
653
|
+
recordZonesToSave: NSArray<interop.Object> | Array<interop.Object> | null,
|
|
654
|
+
recordZoneIDsToDelete: NSArray<interop.Object> | Array<interop.Object> | null,
|
|
655
|
+
): this
|
|
656
|
+
|
|
657
|
+
get recordZonesToSave(): NSArray
|
|
658
|
+
set recordZonesToSave(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
659
|
+
|
|
660
|
+
get recordZoneIDsToDelete(): NSArray
|
|
661
|
+
set recordZoneIDsToDelete(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
662
|
+
|
|
663
|
+
modifyRecordZonesCompletionBlock: (
|
|
664
|
+
p1: NSArray<interop.Object> | Array<interop.Object>,
|
|
665
|
+
p2: NSArray<interop.Object> | Array<interop.Object>,
|
|
666
|
+
p3: NSError,
|
|
667
|
+
) => void | null
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
declare class CKFetchWebAuthTokenOperation extends CKDatabaseOperation {
|
|
671
|
+
init(): this
|
|
672
|
+
|
|
673
|
+
initWithAPIToken(APIToken: string): this
|
|
674
|
+
|
|
675
|
+
APIToken: string
|
|
676
|
+
|
|
677
|
+
fetchWebAuthTokenCompletionBlock: (p1: string, p2: NSError) => void | null
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
declare class CKShareParticipant extends NSObject implements NSSecureCoding, NSCopying {
|
|
681
|
+
readonly userIdentity: CKUserIdentity
|
|
682
|
+
|
|
683
|
+
role: interop.Enum<typeof CKShareParticipantRole>
|
|
684
|
+
|
|
685
|
+
type: interop.Enum<typeof CKShareParticipantType>
|
|
686
|
+
|
|
687
|
+
readonly acceptanceStatus: interop.Enum<typeof CKShareParticipantAcceptanceStatus>
|
|
688
|
+
|
|
689
|
+
permission: interop.Enum<typeof CKShareParticipantPermission>
|
|
690
|
+
|
|
691
|
+
readonly participantID: string
|
|
692
|
+
|
|
693
|
+
isEqual(object: interop.Object): boolean
|
|
694
|
+
|
|
695
|
+
static readonly supportsSecureCoding: boolean
|
|
696
|
+
|
|
697
|
+
encodeWithCoder(coder: NSCoder): void
|
|
698
|
+
|
|
699
|
+
initWithCoder(coder: NSCoder): this
|
|
700
|
+
|
|
701
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
declare class CKDiscoverAllUserIdentitiesOperation extends CKOperation {
|
|
705
|
+
init(): this
|
|
706
|
+
|
|
707
|
+
userIdentityDiscoveredBlock: (p1: CKUserIdentity) => void
|
|
708
|
+
|
|
709
|
+
discoverAllUserIdentitiesCompletionBlock: (p1: NSError) => void | null
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
declare class CKNotification extends NSObject {
|
|
713
|
+
static notificationFromRemoteNotificationDictionary<
|
|
714
|
+
This extends abstract new (...args: any) => any,
|
|
715
|
+
>(
|
|
716
|
+
this: This,
|
|
717
|
+
notificationDictionary:
|
|
718
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
719
|
+
| Record<interop.Object, interop.Object>,
|
|
720
|
+
): InstanceType<This>
|
|
721
|
+
|
|
722
|
+
readonly notificationType: interop.Enum<typeof CKNotificationType>
|
|
723
|
+
|
|
724
|
+
readonly notificationID: CKNotificationID
|
|
725
|
+
|
|
726
|
+
readonly containerIdentifier: string
|
|
727
|
+
|
|
728
|
+
readonly subscriptionOwnerUserRecordID: CKRecordID
|
|
729
|
+
|
|
730
|
+
readonly isPruned: boolean
|
|
731
|
+
|
|
732
|
+
readonly subscriptionID: string
|
|
733
|
+
|
|
734
|
+
readonly alertBody: string
|
|
735
|
+
|
|
736
|
+
readonly alertLocalizationKey: string
|
|
737
|
+
|
|
738
|
+
readonly alertLocalizationArgs: NSArray
|
|
739
|
+
|
|
740
|
+
readonly title: string
|
|
741
|
+
|
|
742
|
+
readonly titleLocalizationKey: string
|
|
743
|
+
|
|
744
|
+
readonly titleLocalizationArgs: NSArray
|
|
745
|
+
|
|
746
|
+
readonly subtitle: string
|
|
747
|
+
|
|
748
|
+
readonly subtitleLocalizationKey: string
|
|
749
|
+
|
|
750
|
+
readonly subtitleLocalizationArgs: NSArray
|
|
751
|
+
|
|
752
|
+
readonly alertActionLocalizationKey: string
|
|
753
|
+
|
|
754
|
+
readonly alertLaunchImage: string
|
|
755
|
+
|
|
756
|
+
readonly badge: NSNumber
|
|
757
|
+
|
|
758
|
+
readonly soundName: string
|
|
759
|
+
|
|
760
|
+
readonly category: string
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
declare class CKDatabaseSubscription extends CKSubscription implements NSSecureCoding, NSCopying {
|
|
764
|
+
init(): this
|
|
765
|
+
|
|
766
|
+
static new<This extends abstract new (...args: any) => any>(this: This): InstanceType<This>
|
|
767
|
+
|
|
768
|
+
initWithSubscriptionID(subscriptionID: string): this
|
|
769
|
+
|
|
770
|
+
initWithCoder(coder: NSCoder): this
|
|
771
|
+
initWithCoder(aDecoder: NSCoder): this
|
|
772
|
+
|
|
773
|
+
recordType: string
|
|
774
|
+
|
|
775
|
+
static readonly supportsSecureCoding: boolean
|
|
776
|
+
|
|
777
|
+
encodeWithCoder(coder: NSCoder): void
|
|
778
|
+
|
|
779
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
declare class CKFetchShareMetadataOperation extends CKOperation {
|
|
783
|
+
init(): this
|
|
784
|
+
|
|
785
|
+
initWithShareURLs(shareURLs: NSArray<interop.Object> | Array<interop.Object>): this
|
|
786
|
+
|
|
787
|
+
get shareURLs(): NSArray
|
|
788
|
+
set shareURLs(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
789
|
+
|
|
790
|
+
shouldFetchRootRecord: boolean
|
|
791
|
+
|
|
792
|
+
get rootRecordDesiredKeys(): NSArray
|
|
793
|
+
set rootRecordDesiredKeys(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
794
|
+
|
|
795
|
+
perShareMetadataBlock: (p1: NSURL, p2: CKShareMetadata, p3: NSError) => void | null
|
|
796
|
+
|
|
797
|
+
fetchShareMetadataCompletionBlock: (p1: NSError) => void | null
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
declare class CKRecordZone extends NSObject implements NSSecureCoding, NSCopying {
|
|
801
|
+
static defaultRecordZone(): CKRecordZone
|
|
802
|
+
|
|
803
|
+
initWithZoneName(zoneName: string): this
|
|
804
|
+
|
|
805
|
+
initWithZoneID(zoneID: CKRecordZoneID): this
|
|
806
|
+
|
|
807
|
+
readonly zoneID: CKRecordZoneID
|
|
808
|
+
|
|
809
|
+
readonly capabilities: interop.Enum<typeof CKRecordZoneCapabilities>
|
|
810
|
+
|
|
811
|
+
static readonly supportsSecureCoding: boolean
|
|
812
|
+
|
|
813
|
+
encodeWithCoder(coder: NSCoder): void
|
|
814
|
+
|
|
815
|
+
initWithCoder(coder: NSCoder): this
|
|
816
|
+
|
|
817
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
declare class CKSubscription extends NSObject implements NSSecureCoding, NSCopying {
|
|
821
|
+
readonly subscriptionID: string
|
|
822
|
+
|
|
823
|
+
readonly subscriptionType: interop.Enum<typeof CKSubscriptionType>
|
|
824
|
+
|
|
825
|
+
notificationInfo: CKNotificationInfo
|
|
826
|
+
|
|
827
|
+
static readonly supportsSecureCoding: boolean
|
|
828
|
+
|
|
829
|
+
encodeWithCoder(coder: NSCoder): void
|
|
830
|
+
|
|
831
|
+
initWithCoder(coder: NSCoder): this
|
|
832
|
+
|
|
833
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
declare class CKOperationConfiguration extends NSObject {
|
|
837
|
+
container: CKContainer
|
|
838
|
+
|
|
839
|
+
qualityOfService: interop.Enum<typeof NSQualityOfService>
|
|
840
|
+
|
|
841
|
+
allowsCellularAccess: boolean
|
|
842
|
+
|
|
843
|
+
longLived: boolean
|
|
844
|
+
|
|
845
|
+
timeoutIntervalForRequest: number
|
|
846
|
+
|
|
847
|
+
timeoutIntervalForResource: number
|
|
848
|
+
|
|
849
|
+
isLongLived(): boolean
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
declare class CKRecordZoneSubscription extends CKSubscription implements NSSecureCoding, NSCopying {
|
|
853
|
+
initWithZoneID(zoneID: CKRecordZoneID): this
|
|
854
|
+
|
|
855
|
+
initWithZoneIDSubscriptionID(zoneID: CKRecordZoneID, subscriptionID: string): this
|
|
856
|
+
|
|
857
|
+
initWithCoder(coder: NSCoder): this
|
|
858
|
+
initWithCoder(aDecoder: NSCoder): this
|
|
859
|
+
|
|
860
|
+
readonly zoneID: CKRecordZoneID
|
|
861
|
+
|
|
862
|
+
recordType: string
|
|
863
|
+
|
|
864
|
+
static readonly supportsSecureCoding: boolean
|
|
865
|
+
|
|
866
|
+
encodeWithCoder(coder: NSCoder): void
|
|
867
|
+
|
|
868
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
declare class CKLocationSortDescriptor extends NSSortDescriptor implements NSSecureCoding {
|
|
872
|
+
initWithKeyRelativeLocation(key: string, relativeLocation: CLLocation): this
|
|
873
|
+
|
|
874
|
+
initWithCoder(coder: NSCoder): this
|
|
875
|
+
initWithCoder(aDecoder: NSCoder): this
|
|
876
|
+
|
|
877
|
+
readonly relativeLocation: CLLocation
|
|
878
|
+
|
|
879
|
+
static readonly supportsSecureCoding: boolean
|
|
880
|
+
|
|
881
|
+
encodeWithCoder(coder: NSCoder): void
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
declare class CKFetchRecordsOperation extends CKDatabaseOperation {
|
|
885
|
+
init(): this
|
|
886
|
+
|
|
887
|
+
initWithRecordIDs(recordIDs: NSArray<interop.Object> | Array<interop.Object>): this
|
|
888
|
+
|
|
889
|
+
static fetchCurrentUserRecordOperation<This extends abstract new (...args: any) => any>(
|
|
890
|
+
this: This,
|
|
891
|
+
): InstanceType<This>
|
|
892
|
+
|
|
893
|
+
get recordIDs(): NSArray
|
|
894
|
+
set recordIDs(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
895
|
+
|
|
896
|
+
get desiredKeys(): NSArray
|
|
897
|
+
set desiredKeys(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
898
|
+
|
|
899
|
+
perRecordProgressBlock: (p1: CKRecordID, p2: number) => void
|
|
900
|
+
|
|
901
|
+
perRecordCompletionBlock: (p1: CKRecord, p2: CKRecordID, p3: NSError) => void | null
|
|
902
|
+
|
|
903
|
+
fetchRecordsCompletionBlock: (
|
|
904
|
+
p1: NSDictionary<interop.Object, interop.Object> | Record<interop.Object, interop.Object>,
|
|
905
|
+
p2: NSError,
|
|
906
|
+
) => void | null
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
declare class CKQueryCursor extends NSObject implements NSCopying, NSSecureCoding {
|
|
910
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
911
|
+
|
|
912
|
+
static readonly supportsSecureCoding: boolean
|
|
913
|
+
|
|
914
|
+
encodeWithCoder(coder: NSCoder): void
|
|
915
|
+
|
|
916
|
+
initWithCoder(coder: NSCoder): this
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
declare class CKDatabase extends NSObject {
|
|
920
|
+
addOperation(operation: CKDatabaseOperation): void
|
|
921
|
+
|
|
922
|
+
readonly databaseScope: interop.Enum<typeof CKDatabaseScope>
|
|
923
|
+
|
|
924
|
+
fetchRecordWithIDCompletionHandler(
|
|
925
|
+
recordID: CKRecordID,
|
|
926
|
+
completionHandler: (p1: CKRecord, p2: NSError) => void | null,
|
|
927
|
+
): void
|
|
928
|
+
|
|
929
|
+
saveRecordCompletionHandler(
|
|
930
|
+
record: CKRecord,
|
|
931
|
+
completionHandler: (p1: CKRecord, p2: NSError) => void | null,
|
|
932
|
+
): void
|
|
933
|
+
|
|
934
|
+
deleteRecordWithIDCompletionHandler(
|
|
935
|
+
recordID: CKRecordID,
|
|
936
|
+
completionHandler: (p1: CKRecordID, p2: NSError) => void | null,
|
|
937
|
+
): void
|
|
938
|
+
|
|
939
|
+
performQueryInZoneWithIDCompletionHandler(
|
|
940
|
+
query: CKQuery,
|
|
941
|
+
zoneID: CKRecordZoneID | null,
|
|
942
|
+
completionHandler: (
|
|
943
|
+
p1: NSArray<interop.Object> | Array<interop.Object>,
|
|
944
|
+
p2: NSError,
|
|
945
|
+
) => void | null,
|
|
946
|
+
): void
|
|
947
|
+
|
|
948
|
+
fetchAllRecordZonesWithCompletionHandler(
|
|
949
|
+
completionHandler: (
|
|
950
|
+
p1: NSArray<interop.Object> | Array<interop.Object>,
|
|
951
|
+
p2: NSError,
|
|
952
|
+
) => void | null,
|
|
953
|
+
): void
|
|
954
|
+
|
|
955
|
+
fetchRecordZoneWithIDCompletionHandler(
|
|
956
|
+
zoneID: CKRecordZoneID,
|
|
957
|
+
completionHandler: (p1: CKRecordZone, p2: NSError) => void | null,
|
|
958
|
+
): void
|
|
959
|
+
|
|
960
|
+
saveRecordZoneCompletionHandler(
|
|
961
|
+
zone: CKRecordZone,
|
|
962
|
+
completionHandler: (p1: CKRecordZone, p2: NSError) => void | null,
|
|
963
|
+
): void
|
|
964
|
+
|
|
965
|
+
deleteRecordZoneWithIDCompletionHandler(
|
|
966
|
+
zoneID: CKRecordZoneID,
|
|
967
|
+
completionHandler: (p1: CKRecordZoneID, p2: NSError) => void | null,
|
|
968
|
+
): void
|
|
969
|
+
|
|
970
|
+
fetchSubscriptionWithIDCompletionHandler(
|
|
971
|
+
subscriptionID: string,
|
|
972
|
+
completionHandler: (p1: CKSubscription, p2: NSError) => void | null,
|
|
973
|
+
): void
|
|
974
|
+
|
|
975
|
+
fetchAllSubscriptionsWithCompletionHandler(
|
|
976
|
+
completionHandler: (
|
|
977
|
+
p1: NSArray<interop.Object> | Array<interop.Object>,
|
|
978
|
+
p2: NSError,
|
|
979
|
+
) => void | null,
|
|
980
|
+
): void
|
|
981
|
+
|
|
982
|
+
saveSubscriptionCompletionHandler(
|
|
983
|
+
subscription: CKSubscription,
|
|
984
|
+
completionHandler: (p1: CKSubscription, p2: NSError) => void | null,
|
|
985
|
+
): void
|
|
986
|
+
|
|
987
|
+
deleteSubscriptionWithIDCompletionHandler(
|
|
988
|
+
subscriptionID: string,
|
|
989
|
+
completionHandler: (p1: string, p2: NSError) => void | null,
|
|
990
|
+
): void
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
declare class CKDatabaseOperation extends CKOperation {
|
|
994
|
+
database: CKDatabase
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
declare class CKDatabaseNotification extends CKNotification {
|
|
998
|
+
readonly databaseScope: interop.Enum<typeof CKDatabaseScope>
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
declare class CKNotificationInfo extends NSObject implements NSSecureCoding, NSCopying {
|
|
1002
|
+
alertBody: string
|
|
1003
|
+
|
|
1004
|
+
alertLocalizationKey: string
|
|
1005
|
+
|
|
1006
|
+
get alertLocalizationArgs(): NSArray
|
|
1007
|
+
set alertLocalizationArgs(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
1008
|
+
|
|
1009
|
+
title: string
|
|
1010
|
+
|
|
1011
|
+
titleLocalizationKey: string
|
|
1012
|
+
|
|
1013
|
+
get titleLocalizationArgs(): NSArray
|
|
1014
|
+
set titleLocalizationArgs(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
1015
|
+
|
|
1016
|
+
subtitle: string
|
|
1017
|
+
|
|
1018
|
+
subtitleLocalizationKey: string
|
|
1019
|
+
|
|
1020
|
+
get subtitleLocalizationArgs(): NSArray
|
|
1021
|
+
set subtitleLocalizationArgs(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
1022
|
+
|
|
1023
|
+
alertActionLocalizationKey: string
|
|
1024
|
+
|
|
1025
|
+
alertLaunchImage: string
|
|
1026
|
+
|
|
1027
|
+
soundName: string
|
|
1028
|
+
|
|
1029
|
+
get desiredKeys(): NSArray
|
|
1030
|
+
set desiredKeys(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
1031
|
+
|
|
1032
|
+
shouldBadge: boolean
|
|
1033
|
+
|
|
1034
|
+
shouldSendContentAvailable: boolean
|
|
1035
|
+
|
|
1036
|
+
shouldSendMutableContent: boolean
|
|
1037
|
+
|
|
1038
|
+
category: string
|
|
1039
|
+
|
|
1040
|
+
collapseIDKey: string
|
|
1041
|
+
|
|
1042
|
+
static readonly supportsSecureCoding: boolean
|
|
1043
|
+
|
|
1044
|
+
encodeWithCoder(coder: NSCoder): void
|
|
1045
|
+
|
|
1046
|
+
initWithCoder(coder: NSCoder): this
|
|
1047
|
+
|
|
1048
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
declare class CKQuerySubscription extends CKSubscription implements NSSecureCoding, NSCopying {
|
|
1052
|
+
initWithRecordTypePredicateOptions(
|
|
1053
|
+
recordType: string,
|
|
1054
|
+
predicate: NSPredicate,
|
|
1055
|
+
querySubscriptionOptions: interop.Enum<typeof CKQuerySubscriptionOptions>,
|
|
1056
|
+
): this
|
|
1057
|
+
|
|
1058
|
+
initWithRecordTypePredicateSubscriptionIDOptions(
|
|
1059
|
+
recordType: string,
|
|
1060
|
+
predicate: NSPredicate,
|
|
1061
|
+
subscriptionID: string,
|
|
1062
|
+
querySubscriptionOptions: interop.Enum<typeof CKQuerySubscriptionOptions>,
|
|
1063
|
+
): this
|
|
1064
|
+
|
|
1065
|
+
initWithCoder(coder: NSCoder): this
|
|
1066
|
+
initWithCoder(aDecoder: NSCoder): this
|
|
1067
|
+
|
|
1068
|
+
readonly recordType: string
|
|
1069
|
+
|
|
1070
|
+
readonly predicate: NSPredicate
|
|
1071
|
+
|
|
1072
|
+
zoneID: CKRecordZoneID
|
|
1073
|
+
|
|
1074
|
+
readonly querySubscriptionOptions: interop.Enum<typeof CKQuerySubscriptionOptions>
|
|
1075
|
+
|
|
1076
|
+
static readonly supportsSecureCoding: boolean
|
|
1077
|
+
|
|
1078
|
+
encodeWithCoder(coder: NSCoder): void
|
|
1079
|
+
|
|
1080
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
declare class CKRecord
|
|
1084
|
+
extends NSObject
|
|
1085
|
+
implements NSSecureCoding, NSCopying, CKRecordKeyValueSetting
|
|
1086
|
+
{
|
|
1087
|
+
initWithRecordType(recordType: string): this
|
|
1088
|
+
|
|
1089
|
+
initWithRecordTypeRecordID(recordType: string, recordID: CKRecordID): this
|
|
1090
|
+
|
|
1091
|
+
initWithRecordTypeZoneID(recordType: string, zoneID: CKRecordZoneID): this
|
|
1092
|
+
|
|
1093
|
+
readonly recordType: string
|
|
1094
|
+
|
|
1095
|
+
readonly recordID: CKRecordID
|
|
1096
|
+
|
|
1097
|
+
readonly recordChangeTag: string
|
|
1098
|
+
|
|
1099
|
+
readonly creatorUserRecordID: CKRecordID
|
|
1100
|
+
|
|
1101
|
+
readonly creationDate: NSDate
|
|
1102
|
+
|
|
1103
|
+
readonly lastModifiedUserRecordID: CKRecordID
|
|
1104
|
+
|
|
1105
|
+
readonly modificationDate: NSDate
|
|
1106
|
+
|
|
1107
|
+
objectForKey(key: string): CKRecordValue
|
|
1108
|
+
|
|
1109
|
+
setObjectForKey(object: CKRecordValue | null, key: string): void
|
|
1110
|
+
|
|
1111
|
+
allKeys(): NSArray
|
|
1112
|
+
|
|
1113
|
+
allTokens(): NSArray
|
|
1114
|
+
|
|
1115
|
+
objectForKeyedSubscript(key: string): CKRecordValue
|
|
1116
|
+
|
|
1117
|
+
setObjectForKeyedSubscript(object: CKRecordValue | null, key: string): void
|
|
1118
|
+
|
|
1119
|
+
changedKeys(): NSArray
|
|
1120
|
+
|
|
1121
|
+
encodeSystemFieldsWithCoder(coder: NSCoder): void
|
|
1122
|
+
|
|
1123
|
+
readonly share: CKReference
|
|
1124
|
+
|
|
1125
|
+
parent: CKReference
|
|
1126
|
+
|
|
1127
|
+
setParentReferenceFromRecord(parentRecord: CKRecord | null): void
|
|
1128
|
+
|
|
1129
|
+
setParentReferenceFromRecordID(parentRecordID: CKRecordID | null): void
|
|
1130
|
+
|
|
1131
|
+
static readonly supportsSecureCoding: boolean
|
|
1132
|
+
|
|
1133
|
+
encodeWithCoder(coder: NSCoder): void
|
|
1134
|
+
|
|
1135
|
+
initWithCoder(coder: NSCoder): this
|
|
1136
|
+
|
|
1137
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
1138
|
+
|
|
1139
|
+
isEqual(object: interop.Object): boolean
|
|
1140
|
+
|
|
1141
|
+
readonly hash: number
|
|
1142
|
+
|
|
1143
|
+
readonly superclass: interop.Pointer
|
|
1144
|
+
|
|
1145
|
+
class(): interop.Pointer
|
|
1146
|
+
|
|
1147
|
+
self(): this
|
|
1148
|
+
|
|
1149
|
+
performSelector(aSelector: string): interop.Object
|
|
1150
|
+
|
|
1151
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
1152
|
+
|
|
1153
|
+
performSelectorWithObjectWithObject(
|
|
1154
|
+
aSelector: string,
|
|
1155
|
+
object1: interop.Object,
|
|
1156
|
+
object2: interop.Object,
|
|
1157
|
+
): interop.Object
|
|
1158
|
+
|
|
1159
|
+
readonly isProxy: boolean
|
|
1160
|
+
|
|
1161
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
1162
|
+
|
|
1163
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
1164
|
+
|
|
1165
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
1166
|
+
|
|
1167
|
+
respondsToSelector(aSelector: string): boolean
|
|
1168
|
+
|
|
1169
|
+
retain(): this
|
|
1170
|
+
|
|
1171
|
+
release(): void
|
|
1172
|
+
|
|
1173
|
+
autorelease(): this
|
|
1174
|
+
|
|
1175
|
+
retainCount(): number
|
|
1176
|
+
|
|
1177
|
+
readonly zone: interop.Pointer
|
|
1178
|
+
|
|
1179
|
+
readonly description: string
|
|
1180
|
+
|
|
1181
|
+
readonly debugDescription: string
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
declare class CKFetchShareParticipantsOperation extends CKOperation {
|
|
1185
|
+
init(): this
|
|
1186
|
+
|
|
1187
|
+
initWithUserIdentityLookupInfos(
|
|
1188
|
+
userIdentityLookupInfos: NSArray<interop.Object> | Array<interop.Object>,
|
|
1189
|
+
): this
|
|
1190
|
+
|
|
1191
|
+
get userIdentityLookupInfos(): NSArray
|
|
1192
|
+
set userIdentityLookupInfos(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
1193
|
+
|
|
1194
|
+
shareParticipantFetchedBlock: (p1: CKShareParticipant) => void
|
|
1195
|
+
|
|
1196
|
+
perShareParticipantCompletionBlock: (
|
|
1197
|
+
p1: CKUserIdentityLookupInfo,
|
|
1198
|
+
p2: CKShareParticipant,
|
|
1199
|
+
p3: NSError,
|
|
1200
|
+
) => void | null
|
|
1201
|
+
|
|
1202
|
+
fetchShareParticipantsCompletionBlock: (p1: NSError) => void | null
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
declare class CKFetchRecordZoneChangesConfiguration
|
|
1206
|
+
extends NSObject
|
|
1207
|
+
implements NSSecureCoding, NSCopying
|
|
1208
|
+
{
|
|
1209
|
+
previousServerChangeToken: CKServerChangeToken
|
|
1210
|
+
|
|
1211
|
+
resultsLimit: number
|
|
1212
|
+
|
|
1213
|
+
get desiredKeys(): NSArray
|
|
1214
|
+
set desiredKeys(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
1215
|
+
|
|
1216
|
+
static readonly supportsSecureCoding: boolean
|
|
1217
|
+
|
|
1218
|
+
encodeWithCoder(coder: NSCoder): void
|
|
1219
|
+
|
|
1220
|
+
initWithCoder(coder: NSCoder): this
|
|
1221
|
+
|
|
1222
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
declare class CKFetchRecordZonesOperation extends CKDatabaseOperation {
|
|
1226
|
+
static fetchAllRecordZonesOperation<This extends abstract new (...args: any) => any>(
|
|
1227
|
+
this: This,
|
|
1228
|
+
): InstanceType<This>
|
|
1229
|
+
|
|
1230
|
+
init(): this
|
|
1231
|
+
|
|
1232
|
+
initWithRecordZoneIDs(zoneIDs: NSArray<interop.Object> | Array<interop.Object>): this
|
|
1233
|
+
|
|
1234
|
+
get recordZoneIDs(): NSArray
|
|
1235
|
+
set recordZoneIDs(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
1236
|
+
|
|
1237
|
+
fetchRecordZonesCompletionBlock: (
|
|
1238
|
+
p1: NSDictionary<interop.Object, interop.Object> | Record<interop.Object, interop.Object>,
|
|
1239
|
+
p2: NSError,
|
|
1240
|
+
) => void | null
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
declare class CKRecordZoneID extends NSObject implements NSSecureCoding, NSCopying {
|
|
1244
|
+
initWithZoneNameOwnerName(zoneName: string, ownerName: string): this
|
|
1245
|
+
|
|
1246
|
+
readonly zoneName: string
|
|
1247
|
+
|
|
1248
|
+
readonly ownerName: string
|
|
1249
|
+
|
|
1250
|
+
static readonly supportsSecureCoding: boolean
|
|
1251
|
+
|
|
1252
|
+
encodeWithCoder(coder: NSCoder): void
|
|
1253
|
+
|
|
1254
|
+
initWithCoder(coder: NSCoder): this
|
|
1255
|
+
|
|
1256
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
declare class CKFetchRecordZoneChangesOperation extends CKDatabaseOperation {
|
|
1260
|
+
init(): this
|
|
1261
|
+
|
|
1262
|
+
initWithRecordZoneIDsConfigurationsByRecordZoneID(
|
|
1263
|
+
recordZoneIDs: NSArray<interop.Object> | Array<interop.Object>,
|
|
1264
|
+
configurationsByRecordZoneID:
|
|
1265
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
1266
|
+
| Record<interop.Object, interop.Object>
|
|
1267
|
+
| null,
|
|
1268
|
+
): this
|
|
1269
|
+
|
|
1270
|
+
get recordZoneIDs(): NSArray
|
|
1271
|
+
set recordZoneIDs(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
1272
|
+
|
|
1273
|
+
get configurationsByRecordZoneID(): NSDictionary
|
|
1274
|
+
set configurationsByRecordZoneID(
|
|
1275
|
+
value: NSDictionary<interop.Object, interop.Object> | Record<interop.Object, interop.Object>,
|
|
1276
|
+
)
|
|
1277
|
+
|
|
1278
|
+
fetchAllChanges: boolean
|
|
1279
|
+
|
|
1280
|
+
recordChangedBlock: (p1: CKRecord) => void
|
|
1281
|
+
|
|
1282
|
+
recordWithIDWasDeletedBlock: (p1: CKRecordID, p2: string) => void
|
|
1283
|
+
|
|
1284
|
+
recordZoneChangeTokensUpdatedBlock: (
|
|
1285
|
+
p1: CKRecordZoneID,
|
|
1286
|
+
p2: CKServerChangeToken,
|
|
1287
|
+
p3: NSData,
|
|
1288
|
+
) => void | null
|
|
1289
|
+
|
|
1290
|
+
recordZoneFetchCompletionBlock: (
|
|
1291
|
+
p1: CKRecordZoneID,
|
|
1292
|
+
p2: CKServerChangeToken,
|
|
1293
|
+
p3: NSData,
|
|
1294
|
+
p4: boolean,
|
|
1295
|
+
p5: NSError,
|
|
1296
|
+
) => void | null
|
|
1297
|
+
|
|
1298
|
+
fetchRecordZoneChangesCompletionBlock: (p1: NSError) => void | null
|
|
1299
|
+
|
|
1300
|
+
initWithRecordZoneIDsOptionsByRecordZoneID(
|
|
1301
|
+
recordZoneIDs: NSArray<interop.Object> | Array<interop.Object>,
|
|
1302
|
+
optionsByRecordZoneID:
|
|
1303
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
1304
|
+
| Record<interop.Object, interop.Object>
|
|
1305
|
+
| null,
|
|
1306
|
+
): this
|
|
1307
|
+
|
|
1308
|
+
get optionsByRecordZoneID(): NSDictionary
|
|
1309
|
+
set optionsByRecordZoneID(
|
|
1310
|
+
value: NSDictionary<interop.Object, interop.Object> | Record<interop.Object, interop.Object>,
|
|
1311
|
+
)
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
declare class CKReference extends NSObject implements NSSecureCoding, NSCopying, CKRecordValue {
|
|
1315
|
+
initWithRecordIDAction(recordID: CKRecordID, action: interop.Enum<typeof CKReferenceAction>): this
|
|
1316
|
+
|
|
1317
|
+
initWithRecordAction(record: CKRecord, action: interop.Enum<typeof CKReferenceAction>): this
|
|
1318
|
+
|
|
1319
|
+
readonly referenceAction: interop.Enum<typeof CKReferenceAction>
|
|
1320
|
+
|
|
1321
|
+
readonly recordID: CKRecordID
|
|
1322
|
+
|
|
1323
|
+
static readonly supportsSecureCoding: boolean
|
|
1324
|
+
|
|
1325
|
+
encodeWithCoder(coder: NSCoder): void
|
|
1326
|
+
|
|
1327
|
+
initWithCoder(coder: NSCoder): this
|
|
1328
|
+
|
|
1329
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
1330
|
+
|
|
1331
|
+
isEqual(object: interop.Object): boolean
|
|
1332
|
+
|
|
1333
|
+
readonly hash: number
|
|
1334
|
+
|
|
1335
|
+
readonly superclass: interop.Pointer
|
|
1336
|
+
|
|
1337
|
+
class(): interop.Pointer
|
|
1338
|
+
|
|
1339
|
+
self(): this
|
|
1340
|
+
|
|
1341
|
+
performSelector(aSelector: string): interop.Object
|
|
1342
|
+
|
|
1343
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
1344
|
+
|
|
1345
|
+
performSelectorWithObjectWithObject(
|
|
1346
|
+
aSelector: string,
|
|
1347
|
+
object1: interop.Object,
|
|
1348
|
+
object2: interop.Object,
|
|
1349
|
+
): interop.Object
|
|
1350
|
+
|
|
1351
|
+
readonly isProxy: boolean
|
|
1352
|
+
|
|
1353
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
1354
|
+
|
|
1355
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
1356
|
+
|
|
1357
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
1358
|
+
|
|
1359
|
+
respondsToSelector(aSelector: string): boolean
|
|
1360
|
+
|
|
1361
|
+
retain(): this
|
|
1362
|
+
|
|
1363
|
+
release(): void
|
|
1364
|
+
|
|
1365
|
+
autorelease(): this
|
|
1366
|
+
|
|
1367
|
+
retainCount(): number
|
|
1368
|
+
|
|
1369
|
+
readonly zone: interop.Pointer
|
|
1370
|
+
|
|
1371
|
+
readonly description: string
|
|
1372
|
+
|
|
1373
|
+
readonly debugDescription: string
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
declare class CKContainer extends NSObject {
|
|
1377
|
+
static defaultContainer(): CKContainer
|
|
1378
|
+
|
|
1379
|
+
static containerWithIdentifier(containerIdentifier: string): CKContainer
|
|
1380
|
+
|
|
1381
|
+
readonly containerIdentifier: string
|
|
1382
|
+
|
|
1383
|
+
addOperation(operation: CKOperation): void
|
|
1384
|
+
|
|
1385
|
+
readonly privateCloudDatabase: CKDatabase
|
|
1386
|
+
|
|
1387
|
+
readonly publicCloudDatabase: CKDatabase
|
|
1388
|
+
|
|
1389
|
+
readonly sharedCloudDatabase: CKDatabase
|
|
1390
|
+
|
|
1391
|
+
databaseWithDatabaseScope(databaseScope: interop.Enum<typeof CKDatabaseScope>): CKDatabase
|
|
1392
|
+
|
|
1393
|
+
accountStatusWithCompletionHandler(
|
|
1394
|
+
completionHandler: (p1: interop.Enum<typeof CKAccountStatus>, p2: NSError) => void | null,
|
|
1395
|
+
): void
|
|
1396
|
+
|
|
1397
|
+
statusForApplicationPermissionCompletionHandler(
|
|
1398
|
+
applicationPermission: interop.Enum<typeof CKApplicationPermissions>,
|
|
1399
|
+
completionHandler: (
|
|
1400
|
+
p1: interop.Enum<typeof CKApplicationPermissionStatus>,
|
|
1401
|
+
p2: NSError,
|
|
1402
|
+
) => void,
|
|
1403
|
+
): void
|
|
1404
|
+
|
|
1405
|
+
requestApplicationPermissionCompletionHandler(
|
|
1406
|
+
applicationPermission: interop.Enum<typeof CKApplicationPermissions>,
|
|
1407
|
+
completionHandler: (
|
|
1408
|
+
p1: interop.Enum<typeof CKApplicationPermissionStatus>,
|
|
1409
|
+
p2: NSError,
|
|
1410
|
+
) => void,
|
|
1411
|
+
): void
|
|
1412
|
+
|
|
1413
|
+
fetchUserRecordIDWithCompletionHandler(
|
|
1414
|
+
completionHandler: (p1: CKRecordID, p2: NSError) => void | null,
|
|
1415
|
+
): void
|
|
1416
|
+
|
|
1417
|
+
discoverAllIdentitiesWithCompletionHandler(
|
|
1418
|
+
completionHandler: (
|
|
1419
|
+
p1: NSArray<interop.Object> | Array<interop.Object>,
|
|
1420
|
+
p2: NSError,
|
|
1421
|
+
) => void | null,
|
|
1422
|
+
): void
|
|
1423
|
+
|
|
1424
|
+
discoverUserIdentityWithEmailAddressCompletionHandler(
|
|
1425
|
+
email: string,
|
|
1426
|
+
completionHandler: (p1: CKUserIdentity, p2: NSError) => void | null,
|
|
1427
|
+
): void
|
|
1428
|
+
|
|
1429
|
+
discoverUserIdentityWithPhoneNumberCompletionHandler(
|
|
1430
|
+
phoneNumber: string,
|
|
1431
|
+
completionHandler: (p1: CKUserIdentity, p2: NSError) => void | null,
|
|
1432
|
+
): void
|
|
1433
|
+
|
|
1434
|
+
discoverUserIdentityWithUserRecordIDCompletionHandler(
|
|
1435
|
+
userRecordID: CKRecordID,
|
|
1436
|
+
completionHandler: (p1: CKUserIdentity, p2: NSError) => void | null,
|
|
1437
|
+
): void
|
|
1438
|
+
|
|
1439
|
+
fetchShareParticipantWithEmailAddressCompletionHandler(
|
|
1440
|
+
emailAddress: string,
|
|
1441
|
+
completionHandler: (p1: CKShareParticipant, p2: NSError) => void | null,
|
|
1442
|
+
): void
|
|
1443
|
+
|
|
1444
|
+
fetchShareParticipantWithPhoneNumberCompletionHandler(
|
|
1445
|
+
phoneNumber: string,
|
|
1446
|
+
completionHandler: (p1: CKShareParticipant, p2: NSError) => void | null,
|
|
1447
|
+
): void
|
|
1448
|
+
|
|
1449
|
+
fetchShareParticipantWithUserRecordIDCompletionHandler(
|
|
1450
|
+
userRecordID: CKRecordID,
|
|
1451
|
+
completionHandler: (p1: CKShareParticipant, p2: NSError) => void | null,
|
|
1452
|
+
): void
|
|
1453
|
+
|
|
1454
|
+
fetchShareMetadataWithURLCompletionHandler(
|
|
1455
|
+
url: NSURL,
|
|
1456
|
+
completionHandler: (p1: CKShareMetadata, p2: NSError) => void | null,
|
|
1457
|
+
): void
|
|
1458
|
+
|
|
1459
|
+
acceptShareMetadataCompletionHandler(
|
|
1460
|
+
metadata: CKShareMetadata,
|
|
1461
|
+
completionHandler: (p1: CKShare, p2: NSError) => void | null,
|
|
1462
|
+
): void
|
|
1463
|
+
|
|
1464
|
+
fetchAllLongLivedOperationIDsWithCompletionHandler(
|
|
1465
|
+
completionHandler: (
|
|
1466
|
+
p1: NSArray<interop.Object> | Array<interop.Object>,
|
|
1467
|
+
p2: NSError,
|
|
1468
|
+
) => void | null,
|
|
1469
|
+
): void
|
|
1470
|
+
|
|
1471
|
+
fetchLongLivedOperationWithIDCompletionHandler(
|
|
1472
|
+
operationID: string,
|
|
1473
|
+
completionHandler: (p1: CKOperation, p2: NSError) => void | null,
|
|
1474
|
+
): void
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
declare class CKModifySubscriptionsOperation extends CKDatabaseOperation {
|
|
1478
|
+
init(): this
|
|
1479
|
+
|
|
1480
|
+
initWithSubscriptionsToSaveSubscriptionIDsToDelete(
|
|
1481
|
+
subscriptionsToSave: NSArray<interop.Object> | Array<interop.Object> | null,
|
|
1482
|
+
subscriptionIDsToDelete: NSArray<interop.Object> | Array<interop.Object> | null,
|
|
1483
|
+
): this
|
|
1484
|
+
|
|
1485
|
+
get subscriptionsToSave(): NSArray
|
|
1486
|
+
set subscriptionsToSave(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
1487
|
+
|
|
1488
|
+
get subscriptionIDsToDelete(): NSArray
|
|
1489
|
+
set subscriptionIDsToDelete(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
1490
|
+
|
|
1491
|
+
modifySubscriptionsCompletionBlock: (
|
|
1492
|
+
p1: NSArray<interop.Object> | Array<interop.Object>,
|
|
1493
|
+
p2: NSArray<interop.Object> | Array<interop.Object>,
|
|
1494
|
+
p3: NSError,
|
|
1495
|
+
) => void | null
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
declare class CKAcceptSharesOperation extends CKOperation {
|
|
1499
|
+
init(): this
|
|
1500
|
+
|
|
1501
|
+
initWithShareMetadatas(shareMetadatas: NSArray<interop.Object> | Array<interop.Object>): this
|
|
1502
|
+
|
|
1503
|
+
get shareMetadatas(): NSArray
|
|
1504
|
+
set shareMetadatas(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
1505
|
+
|
|
1506
|
+
perShareCompletionBlock: (p1: CKShareMetadata, p2: CKShare, p3: NSError) => void | null
|
|
1507
|
+
|
|
1508
|
+
acceptSharesCompletionBlock: (p1: NSError) => void | null
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
declare class CKAsset extends NSObject implements CKRecordValue {
|
|
1512
|
+
initWithFileURL(fileURL: NSURL): this
|
|
1513
|
+
|
|
1514
|
+
readonly fileURL: NSURL
|
|
1515
|
+
|
|
1516
|
+
isEqual(object: interop.Object): boolean
|
|
1517
|
+
|
|
1518
|
+
readonly hash: number
|
|
1519
|
+
|
|
1520
|
+
readonly superclass: interop.Pointer
|
|
1521
|
+
|
|
1522
|
+
class(): interop.Pointer
|
|
1523
|
+
|
|
1524
|
+
self(): this
|
|
1525
|
+
|
|
1526
|
+
performSelector(aSelector: string): interop.Object
|
|
1527
|
+
|
|
1528
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
1529
|
+
|
|
1530
|
+
performSelectorWithObjectWithObject(
|
|
1531
|
+
aSelector: string,
|
|
1532
|
+
object1: interop.Object,
|
|
1533
|
+
object2: interop.Object,
|
|
1534
|
+
): interop.Object
|
|
1535
|
+
|
|
1536
|
+
readonly isProxy: boolean
|
|
1537
|
+
|
|
1538
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
1539
|
+
|
|
1540
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
1541
|
+
|
|
1542
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
1543
|
+
|
|
1544
|
+
respondsToSelector(aSelector: string): boolean
|
|
1545
|
+
|
|
1546
|
+
retain(): this
|
|
1547
|
+
|
|
1548
|
+
release(): void
|
|
1549
|
+
|
|
1550
|
+
autorelease(): this
|
|
1551
|
+
|
|
1552
|
+
retainCount(): number
|
|
1553
|
+
|
|
1554
|
+
readonly zone: interop.Pointer
|
|
1555
|
+
|
|
1556
|
+
readonly description: string
|
|
1557
|
+
|
|
1558
|
+
readonly debugDescription: string
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1561
|
+
declare class CKRecordZoneNotification extends CKNotification {
|
|
1562
|
+
readonly recordZoneID: CKRecordZoneID
|
|
1563
|
+
|
|
1564
|
+
readonly databaseScope: interop.Enum<typeof CKDatabaseScope>
|
|
1565
|
+
}
|