objcjs-types 0.4.0 → 0.5.1

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.
Files changed (1259) hide show
  1. package/dist/AVFAudio/AVAudioApplication.d.ts +3 -3
  2. package/dist/AVFAudio/AVAudioConverter.d.ts +1 -1
  3. package/dist/AVFAudio/AVAudioEngine.d.ts +5 -5
  4. package/dist/AVFAudio/AVAudioInputNode.d.ts +3 -2
  5. package/dist/AVFAudio/AVAudioNode.d.ts +2 -2
  6. package/dist/AVFAudio/AVAudioPCMBuffer.d.ts +1 -1
  7. package/dist/AVFAudio/AVAudioPlayerNode.d.ts +8 -9
  8. package/dist/AVFAudio/AVAudioRoutingArbiter.d.ts +2 -2
  9. package/dist/AVFAudio/AVAudioSequencer.d.ts +1 -1
  10. package/dist/AVFAudio/AVAudioSession.d.ts +3 -2
  11. package/dist/AVFAudio/AVAudioSinkNode.d.ts +1 -1
  12. package/dist/AVFAudio/AVAudioSourceNode.d.ts +2 -2
  13. package/dist/AVFAudio/AVAudioUnit.d.ts +2 -1
  14. package/dist/AVFAudio/AVAudioUnitComponentManager.d.ts +2 -1
  15. package/dist/AVFAudio/AVMIDIPlayer.d.ts +1 -1
  16. package/dist/AVFAudio/AVMusicTrack.d.ts +1 -1
  17. package/dist/AVFAudio/AVSpeechSynthesisProviderAudioUnit.d.ts +2 -3
  18. package/dist/AVFAudio/AVSpeechSynthesizer.d.ts +4 -4
  19. package/dist/AVFoundation/AVAsset.d.ts +9 -8
  20. package/dist/AVFoundation/AVAssetExportSession.d.ts +5 -6
  21. package/dist/AVFoundation/AVAssetImageGenerator.d.ts +4 -2
  22. package/dist/AVFoundation/AVAssetPlaybackAssistant.d.ts +2 -2
  23. package/dist/AVFoundation/AVAssetTrack.d.ts +5 -5
  24. package/dist/AVFoundation/AVAssetWriter.d.ts +1 -1
  25. package/dist/AVFoundation/AVAssetWriterInput.d.ts +2 -2
  26. package/dist/AVFoundation/AVAsynchronousKeyValueLoading.d.ts +1 -1
  27. package/dist/AVFoundation/AVCaptionConversionValidator.d.ts +2 -2
  28. package/dist/AVFoundation/AVCaptureDeskViewApplication.d.ts +3 -3
  29. package/dist/AVFoundation/AVCaptureDevice.d.ts +8 -7
  30. package/dist/AVFoundation/AVCaptureIndexPicker.d.ts +2 -3
  31. package/dist/AVFoundation/AVCapturePhotoOutput.d.ts +2 -1
  32. package/dist/AVFoundation/AVCaptureSlider.d.ts +1 -2
  33. package/dist/AVFoundation/AVCaptureStillImageOutput.d.ts +5 -3
  34. package/dist/AVFoundation/AVCaptureSystemExposureBiasSlider.d.ts +1 -2
  35. package/dist/AVFoundation/AVCaptureSystemZoomSlider.d.ts +1 -2
  36. package/dist/AVFoundation/AVComposition.d.ts +3 -7
  37. package/dist/AVFoundation/AVContentKeyRequest.d.ts +1 -1
  38. package/dist/AVFoundation/AVContentKeySession.d.ts +4 -3
  39. package/dist/AVFoundation/AVError.d.ts +88 -0
  40. package/dist/AVFoundation/AVError.js +88 -0
  41. package/dist/AVFoundation/AVExternalStorageDevice.d.ts +1 -1
  42. package/dist/AVFoundation/AVFragmentedAsset.d.ts +3 -7
  43. package/dist/AVFoundation/AVFragmentedMovie.d.ts +3 -7
  44. package/dist/AVFoundation/AVMetadataItem.d.ts +3 -2
  45. package/dist/AVFoundation/AVMovie.d.ts +3 -6
  46. package/dist/AVFoundation/AVMutableComposition.d.ts +4 -7
  47. package/dist/AVFoundation/AVMutableMovie.d.ts +3 -6
  48. package/dist/AVFoundation/AVMutableVideoComposition.d.ts +4 -10
  49. package/dist/AVFoundation/AVPlaybackCoordinatorPlaybackControlDelegate.d.ts +4 -5
  50. package/dist/AVFoundation/AVPlayer.d.ts +6 -6
  51. package/dist/AVFoundation/AVPlayerItem.d.ts +4 -4
  52. package/dist/AVFoundation/AVPlayerItemIntegratedTimeline.d.ts +4 -5
  53. package/dist/AVFoundation/AVQueuedSampleBufferRendering.d.ts +1 -1
  54. package/dist/AVFoundation/AVSampleBufferAudioRenderer.d.ts +1 -2
  55. package/dist/AVFoundation/AVSampleBufferDisplayLayer.d.ts +1 -1
  56. package/dist/AVFoundation/AVSampleBufferGenerator.d.ts +2 -1
  57. package/dist/AVFoundation/AVSampleBufferGeneratorBatch.d.ts +2 -2
  58. package/dist/AVFoundation/AVSampleBufferRenderSynchronizer.d.ts +3 -3
  59. package/dist/AVFoundation/AVSampleBufferVideoRenderer.d.ts +3 -2
  60. package/dist/AVFoundation/AVURLAsset.d.ts +2 -2
  61. package/dist/AVFoundation/AVVideoComposition.d.ts +6 -4
  62. package/dist/AVFoundation/index.d.ts +1 -0
  63. package/dist/AVFoundation/index.js +1 -0
  64. package/dist/AVKit/AVPictureInPictureControllerDelegate.d.ts +1 -2
  65. package/dist/AVKit/AVPictureInPictureSampleBufferPlaybackDelegate.d.ts +1 -2
  66. package/dist/AVKit/AVPlayerView.d.ts +2 -2
  67. package/dist/AVKit/AVPlayerViewDelegate.d.ts +1 -2
  68. package/dist/AVKit/AVPlayerViewPictureInPictureDelegate.d.ts +1 -2
  69. package/dist/AVRouting/AVCustomRoutingControllerDelegate.d.ts +1 -2
  70. package/dist/Accessibility/AXBrailleMapRenderer.d.ts +3 -3
  71. package/dist/Accessibility/AXCustomContentProvider.d.ts +2 -3
  72. package/dist/Accessibility/AXNumericDataAxisDescriptor.d.ts +4 -5
  73. package/dist/Accessibility/functions.d.ts +2 -2
  74. package/dist/Accessibility/functions.js +1 -1
  75. package/dist/AccessorySetupKit/ASAccessorySession.d.ts +12 -10
  76. package/dist/AccessorySetupKit/ASErrorCode.d.ts +15 -0
  77. package/dist/AccessorySetupKit/ASErrorCode.js +15 -0
  78. package/dist/AccessorySetupKit/index.d.ts +1 -0
  79. package/dist/AccessorySetupKit/index.js +1 -0
  80. package/dist/Accounts/ACAccountStore.d.ts +7 -6
  81. package/dist/AdServices/AAAttributionErrorCode.d.ts +6 -0
  82. package/dist/AdServices/AAAttributionErrorCode.js +6 -0
  83. package/dist/AdServices/index.d.ts +1 -0
  84. package/dist/AdServices/index.js +1 -0
  85. package/dist/AppKit/NSAccessibilityCustomAction.d.ts +3 -4
  86. package/dist/AppKit/NSAlert.d.ts +1 -1
  87. package/dist/AppKit/NSAnimationContext.d.ts +4 -5
  88. package/dist/AppKit/NSAppearance.d.ts +1 -2
  89. package/dist/AppKit/NSApplication.d.ts +3 -2
  90. package/dist/AppKit/NSApplicationDelegate.d.ts +1 -1
  91. package/dist/AppKit/NSButton.d.ts +3 -2
  92. package/dist/AppKit/NSCandidateListTouchBarItem.d.ts +3 -2
  93. package/dist/AppKit/NSCell.d.ts +3 -2
  94. package/dist/AppKit/NSCollectionLayoutGroup.d.ts +2 -2
  95. package/dist/AppKit/NSCollectionLayoutSection.d.ts +4 -3
  96. package/dist/AppKit/NSCollectionView.d.ts +1 -1
  97. package/dist/AppKit/NSCollectionViewCompositionalLayout.d.ts +3 -3
  98. package/dist/AppKit/NSCollectionViewDiffableDataSource.d.ts +6 -3
  99. package/dist/AppKit/NSColor.d.ts +2 -1
  100. package/dist/AppKit/NSColorSampler.d.ts +2 -2
  101. package/dist/AppKit/NSControlStateValue.d.ts +6 -0
  102. package/dist/AppKit/NSControlStateValue.js +6 -0
  103. package/dist/AppKit/NSCursor.d.ts +2 -2
  104. package/dist/AppKit/NSCursorFrameResizePosition.d.ts +11 -0
  105. package/dist/AppKit/NSCursorFrameResizePosition.js +11 -0
  106. package/dist/AppKit/NSCustomImageRep.d.ts +3 -2
  107. package/dist/AppKit/NSDocument.d.ts +20 -20
  108. package/dist/AppKit/NSDocumentController.d.ts +4 -4
  109. package/dist/AppKit/NSDraggingInfo.d.ts +2 -1
  110. package/dist/AppKit/NSDraggingItem.d.ts +2 -2
  111. package/dist/AppKit/NSDraggingSession.d.ts +2 -1
  112. package/dist/AppKit/NSEvent.d.ts +3 -3
  113. package/dist/AppKit/NSFilePromiseProviderDelegate.d.ts +2 -2
  114. package/dist/AppKit/NSFilePromiseReceiver.d.ts +2 -2
  115. package/dist/AppKit/NSFontAssetRequest.d.ts +2 -2
  116. package/dist/AppKit/NSImage.d.ts +1 -1
  117. package/dist/AppKit/NSLayoutManager.d.ts +2 -2
  118. package/dist/AppKit/NSMenu.d.ts +2 -2
  119. package/dist/AppKit/NSMenuItem.d.ts +3 -2
  120. package/dist/AppKit/NSModalResponse.d.ts +11 -0
  121. package/dist/AppKit/NSModalResponse.js +11 -0
  122. package/dist/AppKit/NSPDFPanel.d.ts +1 -2
  123. package/dist/AppKit/NSPageLayout.d.ts +2 -1
  124. package/dist/AppKit/NSPasteboard.d.ts +4 -3
  125. package/dist/AppKit/NSPasteboardItem.d.ts +5 -3
  126. package/dist/AppKit/NSPrintPanel.d.ts +2 -1
  127. package/dist/AppKit/NSSavePanel.d.ts +2 -2
  128. package/dist/AppKit/NSScrubber.d.ts +1 -1
  129. package/dist/AppKit/NSSharingService.d.ts +1 -2
  130. package/dist/AppKit/NSSliderAccessoryBehavior.d.ts +1 -1
  131. package/dist/AppKit/NSSpellChecker.d.ts +3 -3
  132. package/dist/AppKit/NSStepperTouchBarItem.d.ts +2 -1
  133. package/dist/AppKit/NSStoryboard.d.ts +3 -2
  134. package/dist/AppKit/NSStoryboardSegue.d.ts +1 -1
  135. package/dist/AppKit/NSSwitch.d.ts +3 -2
  136. package/dist/AppKit/NSTableView.d.ts +1 -1
  137. package/dist/AppKit/NSTableViewDiffableDataSource.d.ts +9 -6
  138. package/dist/AppKit/NSTableViewRowAction.d.ts +1 -2
  139. package/dist/AppKit/NSTextContentManager.d.ts +3 -3
  140. package/dist/AppKit/NSTextElementProvider.d.ts +4 -3
  141. package/dist/AppKit/NSTextInsertionIndicator.d.ts +2 -3
  142. package/dist/AppKit/NSTextLayoutManager.d.ts +5 -5
  143. package/dist/AppKit/NSTextSelectionDataSource.d.ts +4 -3
  144. package/dist/AppKit/NSTextStorageObserving.d.ts +1 -2
  145. package/dist/AppKit/NSToolbarItem.d.ts +3 -2
  146. package/dist/AppKit/NSToolbarItemVisibilityPriority.d.ts +7 -0
  147. package/dist/AppKit/NSToolbarItemVisibilityPriority.js +7 -0
  148. package/dist/AppKit/NSUserInterfaceItemSearching.d.ts +1 -1
  149. package/dist/AppKit/NSView.d.ts +1 -1
  150. package/dist/AppKit/NSViewController.d.ts +1 -1
  151. package/dist/AppKit/NSWindow.d.ts +7 -6
  152. package/dist/AppKit/NSWindowLevel.d.ts +13 -0
  153. package/dist/AppKit/NSWindowLevel.js +13 -0
  154. package/dist/AppKit/NSWorkspace.d.ts +12 -10
  155. package/dist/AppKit/NSWritingToolsCoordinatorAnimationParameters.d.ts +4 -5
  156. package/dist/AppKit/NSWritingToolsCoordinatorDelegate.d.ts +16 -14
  157. package/dist/AppKit/index.d.ts +5 -0
  158. package/dist/AppKit/index.js +5 -0
  159. package/dist/AppTrackingTransparency/ATTrackingManager.d.ts +1 -2
  160. package/dist/AudioToolbox/AUAudioUnit.d.ts +20 -19
  161. package/dist/AudioToolbox/AUMessageChannel.d.ts +2 -3
  162. package/dist/AudioToolbox/AUParameterNode.d.ts +14 -13
  163. package/dist/AudioToolbox/functions.d.ts +11 -11
  164. package/dist/AudioToolbox/functions.js +11 -11
  165. package/dist/AudioVideoBridging/AVB17221ACMPInterface.d.ts +2 -1
  166. package/dist/AudioVideoBridging/AVB17221AECPInterface.d.ts +3 -2
  167. package/dist/AuthenticationServices/ASAccountAuthenticationModificationExtensionContext.d.ts +2 -2
  168. package/dist/AuthenticationServices/ASAuthorizationAppleIDProvider.d.ts +3 -2
  169. package/dist/AuthenticationServices/ASAuthorizationError.d.ts +14 -0
  170. package/dist/AuthenticationServices/ASAuthorizationError.js +14 -0
  171. package/dist/AuthenticationServices/ASAuthorizationProviderExtensionAuthorizationRequest.d.ts +1 -2
  172. package/dist/AuthenticationServices/ASAuthorizationProviderExtensionLoginConfiguration.d.ts +2 -1
  173. package/dist/AuthenticationServices/ASAuthorizationProviderExtensionLoginManager.d.ts +6 -4
  174. package/dist/AuthenticationServices/ASAuthorizationProviderExtensionRegistrationHandler.d.ts +8 -5
  175. package/dist/AuthenticationServices/ASAuthorizationPublicKeyCredentialParameters.d.ts +3 -2
  176. package/dist/AuthenticationServices/ASAuthorizationWebBrowserPublicKeyCredentialManager.d.ts +3 -3
  177. package/dist/AuthenticationServices/ASCOSEAlgorithmIdentifier.d.ts +4 -0
  178. package/dist/AuthenticationServices/ASCOSEAlgorithmIdentifier.js +4 -0
  179. package/dist/AuthenticationServices/ASCOSEEllipticCurveIdentifier.d.ts +4 -0
  180. package/dist/AuthenticationServices/ASCOSEEllipticCurveIdentifier.js +4 -0
  181. package/dist/AuthenticationServices/ASCredentialIdentityStore.d.ts +11 -10
  182. package/dist/AuthenticationServices/ASCredentialIdentityStoreErrorCode.d.ts +6 -0
  183. package/dist/AuthenticationServices/ASCredentialIdentityStoreErrorCode.js +6 -0
  184. package/dist/AuthenticationServices/ASCredentialProviderExtensionContext.d.ts +6 -7
  185. package/dist/AuthenticationServices/ASExtensionErrorCode.d.ts +8 -0
  186. package/dist/AuthenticationServices/ASExtensionErrorCode.js +8 -0
  187. package/dist/AuthenticationServices/ASSettingsHelper.d.ts +4 -4
  188. package/dist/AuthenticationServices/ASWebAuthenticationSession.d.ts +3 -3
  189. package/dist/AuthenticationServices/ASWebAuthenticationSessionErrorCode.d.ts +6 -0
  190. package/dist/AuthenticationServices/ASWebAuthenticationSessionErrorCode.js +6 -0
  191. package/dist/AuthenticationServices/index.d.ts +6 -0
  192. package/dist/AuthenticationServices/index.js +6 -0
  193. package/dist/AutomaticAssessmentConfiguration/AEAssessmentErrorCode.d.ts +8 -0
  194. package/dist/AutomaticAssessmentConfiguration/AEAssessmentErrorCode.js +8 -0
  195. package/dist/AutomaticAssessmentConfiguration/index.d.ts +1 -0
  196. package/dist/AutomaticAssessmentConfiguration/index.js +1 -0
  197. package/dist/BackgroundAssets/BAAssetPackManager.d.ts +9 -6
  198. package/dist/BackgroundAssets/BADownload.d.ts +2 -1
  199. package/dist/BackgroundAssets/BADownloadManager.d.ts +4 -3
  200. package/dist/BackgroundAssets/BADownloadManagerDelegate.d.ts +3 -2
  201. package/dist/BackgroundAssets/BADownloaderExtension.d.ts +3 -2
  202. package/dist/BackgroundAssets/BADownloaderPriority.d.ts +2 -0
  203. package/dist/BackgroundAssets/BADownloaderPriority.js +2 -0
  204. package/dist/BackgroundAssets/BAURLDownload.d.ts +3 -2
  205. package/dist/BackgroundAssets/index.d.ts +1 -0
  206. package/dist/BackgroundAssets/index.js +1 -0
  207. package/dist/BackgroundTasks/BGTask.d.ts +2 -3
  208. package/dist/BackgroundTasks/BGTaskScheduler.d.ts +4 -2
  209. package/dist/BackgroundTasks/BGTaskSchedulerErrorCode.d.ts +7 -0
  210. package/dist/BackgroundTasks/BGTaskSchedulerErrorCode.js +7 -0
  211. package/dist/BackgroundTasks/index.d.ts +1 -0
  212. package/dist/BackgroundTasks/index.js +1 -0
  213. package/dist/BrowserEngineKit/BEDownloadMonitor.d.ts +5 -4
  214. package/dist/BrowserEngineKit/BELayerHierarchyHandle.d.ts +1 -1
  215. package/dist/BrowserEngineKit/BELayerHierarchyHostingTransactionCoordinator.d.ts +1 -1
  216. package/dist/BrowserEngineKit/BENetworkingProcess.d.ts +4 -3
  217. package/dist/BrowserEngineKit/BERenderingProcess.d.ts +4 -3
  218. package/dist/BrowserEngineKit/BEWebContentFilter.d.ts +4 -3
  219. package/dist/BrowserEngineKit/BEWebContentProcess.d.ts +4 -3
  220. package/dist/CallKit/CXCallController.d.ts +4 -4
  221. package/dist/CallKit/CXCallDirectoryExtensionContext.d.ts +1 -2
  222. package/dist/CallKit/CXCallDirectoryManager.d.ts +5 -4
  223. package/dist/CallKit/CXErrorCode.d.ts +7 -0
  224. package/dist/CallKit/CXErrorCode.js +7 -0
  225. package/dist/CallKit/CXErrorCodeCallDirectoryManagerError.d.ts +12 -0
  226. package/dist/CallKit/CXErrorCodeCallDirectoryManagerError.js +12 -0
  227. package/dist/CallKit/CXErrorCodeIncomingCallError.d.ts +11 -0
  228. package/dist/CallKit/CXErrorCodeIncomingCallError.js +11 -0
  229. package/dist/CallKit/CXErrorCodeNotificationServiceExtensionError.d.ts +6 -0
  230. package/dist/CallKit/CXErrorCodeNotificationServiceExtensionError.js +6 -0
  231. package/dist/CallKit/CXErrorCodeRequestTransactionError.d.ts +12 -0
  232. package/dist/CallKit/CXErrorCodeRequestTransactionError.js +12 -0
  233. package/dist/CallKit/CXProvider.d.ts +3 -2
  234. package/dist/CallKit/index.d.ts +5 -0
  235. package/dist/CallKit/index.js +5 -0
  236. package/dist/Cinematic/CNAssetInfo.d.ts +3 -3
  237. package/dist/Cinematic/CNAssetSpatialAudioInfo.d.ts +3 -3
  238. package/dist/Cinematic/CNCinematicErrorCode.d.ts +10 -0
  239. package/dist/Cinematic/CNCinematicErrorCode.js +10 -0
  240. package/dist/Cinematic/CNRenderingSessionAttributes.d.ts +2 -2
  241. package/dist/Cinematic/CNScript.d.ts +2 -2
  242. package/dist/Cinematic/index.d.ts +1 -0
  243. package/dist/Cinematic/index.js +1 -0
  244. package/dist/ClassKit/CLSContext.d.ts +2 -1
  245. package/dist/ClassKit/CLSContextProvider.d.ts +2 -2
  246. package/dist/ClassKit/CLSDataStore.d.ts +5 -5
  247. package/dist/ClassKit/CLSErrorCode.d.ts +14 -0
  248. package/dist/ClassKit/CLSErrorCode.js +14 -0
  249. package/dist/ClassKit/index.d.ts +1 -0
  250. package/dist/ClassKit/index.js +1 -0
  251. package/dist/CloudKit/CKAcceptSharesOperation.d.ts +7 -5
  252. package/dist/CloudKit/CKContainer.d.ts +22 -16
  253. package/dist/CloudKit/CKDatabase.d.ts +14 -13
  254. package/dist/CloudKit/CKDiscoverAllUserIdentitiesOperation.d.ts +6 -5
  255. package/dist/CloudKit/CKDiscoverUserIdentitiesOperation.d.ts +7 -5
  256. package/dist/CloudKit/CKFetchDatabaseChangesOperation.d.ts +14 -13
  257. package/dist/CloudKit/CKFetchRecordChangesOperation.d.ts +10 -7
  258. package/dist/CloudKit/CKFetchRecordZoneChangesOperation.d.ts +19 -13
  259. package/dist/CloudKit/CKFetchRecordZonesOperation.d.ts +8 -5
  260. package/dist/CloudKit/CKFetchRecordsOperation.d.ts +10 -7
  261. package/dist/CloudKit/CKFetchShareMetadataOperation.d.ts +7 -5
  262. package/dist/CloudKit/CKFetchShareParticipantsOperation.d.ts +9 -7
  263. package/dist/CloudKit/CKFetchSubscriptionsOperation.d.ts +8 -5
  264. package/dist/CloudKit/CKFetchWebAuthTokenOperation.d.ts +3 -3
  265. package/dist/CloudKit/CKModifyRecordZonesOperation.d.ts +9 -7
  266. package/dist/CloudKit/CKModifyRecordsOperation.d.ts +13 -11
  267. package/dist/CloudKit/CKModifySubscriptionsOperation.d.ts +9 -7
  268. package/dist/CloudKit/CKOperation.d.ts +2 -3
  269. package/dist/CloudKit/CKQueryOperation.d.ts +9 -7
  270. package/dist/CloudKit/CKShareRequestAccessOperation.d.ts +6 -5
  271. package/dist/CloudKit/CKSyncEngine.d.ts +6 -6
  272. package/dist/CloudKit/CKSyncEngineRecordZoneChangeBatch.d.ts +3 -2
  273. package/dist/CloudKit/CKSystemSharingUIObserver.d.ts +7 -5
  274. package/dist/Collaboration/CBIdentityPicker.d.ts +1 -1
  275. package/dist/Contacts/CNContact.d.ts +1 -1
  276. package/dist/Contacts/CNContactStore.d.ts +3 -2
  277. package/dist/CoreAudio/functions.d.ts +3 -3
  278. package/dist/CoreAudio/functions.js +3 -3
  279. package/dist/CoreData/NSAsynchronousFetchRequest.d.ts +3 -3
  280. package/dist/CoreData/NSBatchInsertRequest.d.ts +12 -11
  281. package/dist/CoreData/NSCoreDataCoreSpotlightDelegate.d.ts +4 -4
  282. package/dist/CoreData/NSCustomMigrationStage.d.ts +5 -4
  283. package/dist/CoreData/NSManagedObjectContext.d.ts +2 -2
  284. package/dist/CoreData/NSPersistentCloudKitContainer.d.ts +8 -5
  285. package/dist/CoreData/NSPersistentContainer.d.ts +4 -3
  286. package/dist/CoreData/NSPersistentStoreCoordinator.d.ts +4 -3
  287. package/dist/CoreHaptics/CHHapticAdvancedPatternPlayer.d.ts +3 -2
  288. package/dist/CoreHaptics/CHHapticEngine.d.ts +10 -7
  289. package/dist/CoreHaptics/CHHapticErrorCode.d.ts +27 -0
  290. package/dist/CoreHaptics/CHHapticErrorCode.js +27 -0
  291. package/dist/CoreHaptics/index.d.ts +1 -0
  292. package/dist/CoreHaptics/index.js +1 -0
  293. package/dist/CoreImage/CIKernel.d.ts +1 -1
  294. package/dist/CoreImage/CIRenderDestination.d.ts +1 -1
  295. package/dist/CoreImage/CIWarpKernel.d.ts +1 -2
  296. package/dist/CoreLocation/CLBackgroundActivitySession.d.ts +2 -2
  297. package/dist/CoreLocation/CLGeocoder.d.ts +11 -9
  298. package/dist/CoreLocation/CLLocationManager.d.ts +6 -3
  299. package/dist/CoreLocation/CLLocationManagerDelegate.d.ts +2 -1
  300. package/dist/CoreLocation/CLLocationPushServiceError.d.ts +8 -0
  301. package/dist/CoreLocation/CLLocationPushServiceError.js +8 -0
  302. package/dist/CoreLocation/CLLocationPushServiceExtension.d.ts +1 -2
  303. package/dist/CoreLocation/CLLocationUpdater.d.ts +3 -3
  304. package/dist/CoreLocation/CLMonitor.d.ts +1 -2
  305. package/dist/CoreLocation/CLMonitorConfiguration.d.ts +4 -3
  306. package/dist/CoreLocation/CLRegionState.d.ts +6 -0
  307. package/dist/CoreLocation/CLRegionState.js +6 -0
  308. package/dist/CoreLocation/CLServiceSession.d.ts +3 -3
  309. package/dist/CoreLocation/index.d.ts +2 -0
  310. package/dist/CoreLocation/index.js +2 -0
  311. package/dist/CoreMIDI/MIDICIDiscoveryManager.d.ts +2 -2
  312. package/dist/CoreMIDI/MIDICISession.d.ts +6 -5
  313. package/dist/CoreMIDI/MIDIUMPMutableEndpoint.d.ts +1 -1
  314. package/dist/CoreMIDI/functions.d.ts +5 -5
  315. package/dist/CoreMIDI/functions.js +5 -5
  316. package/dist/CoreML/MLComputePlan.d.ts +3 -3
  317. package/dist/CoreML/MLModel.d.ts +7 -6
  318. package/dist/CoreML/MLModelAsset.d.ts +6 -3
  319. package/dist/CoreML/MLModelCollection.d.ts +3 -2
  320. package/dist/CoreML/MLModelStructure.d.ts +3 -3
  321. package/dist/CoreML/MLMultiArray.d.ts +3 -3
  322. package/dist/CoreML/MLState.d.ts +2 -2
  323. package/dist/CoreML/MLUpdateProgressHandlers.d.ts +2 -2
  324. package/dist/CoreML/MLUpdateTask.d.ts +3 -2
  325. package/dist/CoreMediaIO/CMIOExtensionStream.d.ts +2 -1
  326. package/dist/CoreMediaIO/functions.d.ts +2 -2
  327. package/dist/CoreMediaIO/functions.js +2 -2
  328. package/dist/CoreMotion/CMAltimeter.d.ts +5 -3
  329. package/dist/CoreMotion/CMBatchedSensorManager.d.ts +3 -3
  330. package/dist/CoreMotion/CMFallDetectionDelegate.d.ts +1 -2
  331. package/dist/CoreMotion/CMFallDetectionManager.d.ts +1 -2
  332. package/dist/CoreMotion/CMHeadphoneActivityManager.d.ts +5 -3
  333. package/dist/CoreMotion/CMHeadphoneMotionManager.d.ts +2 -2
  334. package/dist/CoreMotion/CMMotionActivityManager.d.ts +5 -3
  335. package/dist/CoreMotion/CMMotionManager.d.ts +7 -5
  336. package/dist/CoreMotion/CMMovementDisorderManager.d.ts +4 -3
  337. package/dist/CoreMotion/CMPedometer.d.ts +6 -4
  338. package/dist/CoreMotion/CMStepCounter.d.ts +3 -3
  339. package/dist/CoreSpotlight/CSSearchQuery.d.ts +5 -5
  340. package/dist/CoreSpotlight/CSSearchableIndex.d.ts +9 -9
  341. package/dist/CoreSpotlight/CSSearchableIndexDelegate.d.ts +3 -3
  342. package/dist/CoreSpotlight/CSUserQuery.d.ts +2 -3
  343. package/dist/CoreTelephony/CTCallCenter.d.ts +3 -2
  344. package/dist/CoreTelephony/CTCellularData.d.ts +2 -3
  345. package/dist/CoreTelephony/CTCellularPlanProvisioning.d.ts +5 -4
  346. package/dist/CoreTelephony/CTCellularPlanStatus.d.ts +3 -3
  347. package/dist/CoreTelephony/CTTelephonyNetworkInfo.d.ts +4 -5
  348. package/dist/CoreText/functions.d.ts +9 -9
  349. package/dist/CoreText/functions.js +9 -9
  350. package/dist/CryptoTokenKit/TKErrorCode.d.ts +15 -0
  351. package/dist/CryptoTokenKit/TKErrorCode.js +15 -0
  352. package/dist/CryptoTokenKit/TKSmartCard.d.ts +5 -4
  353. package/dist/CryptoTokenKit/TKSmartCardATR.d.ts +1 -2
  354. package/dist/CryptoTokenKit/TKSmartCardSlotManager.d.ts +4 -3
  355. package/dist/CryptoTokenKit/TKSmartCardUserInteraction.d.ts +2 -2
  356. package/dist/CryptoTokenKit/TKTokenWatcher.d.ts +3 -4
  357. package/dist/CryptoTokenKit/index.d.ts +1 -0
  358. package/dist/CryptoTokenKit/index.js +1 -0
  359. package/dist/DeviceCheck/DCAppAttestService.d.ts +4 -4
  360. package/dist/DeviceCheck/DCDevice.d.ts +3 -2
  361. package/dist/DeviceCheck/DCError.d.ts +8 -0
  362. package/dist/DeviceCheck/DCError.js +8 -0
  363. package/dist/DeviceCheck/index.d.ts +1 -0
  364. package/dist/DeviceCheck/index.js +1 -0
  365. package/dist/DeviceDiscoveryExtension/DDErrorCode.d.ts +12 -0
  366. package/dist/DeviceDiscoveryExtension/DDErrorCode.js +12 -0
  367. package/dist/DeviceDiscoveryExtension/index.d.ts +1 -0
  368. package/dist/DeviceDiscoveryExtension/index.js +1 -0
  369. package/dist/EventKit/EKEventStore.d.ts +7 -6
  370. package/dist/EventKit/EKVirtualConferenceProvider.d.ts +5 -3
  371. package/dist/ExecutionPolicy/EPDeveloperTool.d.ts +1 -2
  372. package/dist/ExecutionPolicy/EPError.d.ts +5 -0
  373. package/dist/ExecutionPolicy/EPError.js +5 -0
  374. package/dist/ExecutionPolicy/index.d.ts +1 -0
  375. package/dist/ExecutionPolicy/index.js +1 -0
  376. package/dist/ExternalAccessory/EAAccessoryManager.d.ts +2 -1
  377. package/dist/FSKit/FSBlockDeviceResource.d.ts +3 -2
  378. package/dist/FSKit/FSClient.d.ts +3 -2
  379. package/dist/FSKit/FSErrorCode.d.ts +10 -0
  380. package/dist/FSKit/FSErrorCode.js +10 -0
  381. package/dist/FSKit/FSFileSystemBase.d.ts +2 -2
  382. package/dist/FSKit/FSOperationID.d.ts +2 -0
  383. package/dist/FSKit/FSOperationID.js +2 -0
  384. package/dist/FSKit/FSTask.d.ts +2 -3
  385. package/dist/FSKit/FSUnaryFileSystemOperations.d.ts +6 -4
  386. package/dist/FSKit/FSVolumeAccessCheckOperations.d.ts +2 -2
  387. package/dist/FSKit/FSVolumeItemDeactivation.d.ts +2 -2
  388. package/dist/FSKit/FSVolumeKernelOffloadedIOOperations.d.ts +6 -5
  389. package/dist/FSKit/FSVolumeOpenCloseOperations.d.ts +3 -3
  390. package/dist/FSKit/FSVolumeOperations.d.ts +18 -17
  391. package/dist/FSKit/FSVolumePreallocateOperations.d.ts +2 -1
  392. package/dist/FSKit/FSVolumeReadWriteOperations.d.ts +3 -2
  393. package/dist/FSKit/FSVolumeRenameOperations.d.ts +2 -2
  394. package/dist/FSKit/FSVolumeXattrOperations.d.ts +4 -4
  395. package/dist/FSKit/index.d.ts +2 -0
  396. package/dist/FSKit/index.js +2 -0
  397. package/dist/FileProvider/NSFileProviderCustomAction.d.ts +2 -2
  398. package/dist/FileProvider/NSFileProviderEnumerator.d.ts +1 -2
  399. package/dist/FileProvider/NSFileProviderErrorCode.d.ts +27 -0
  400. package/dist/FileProvider/NSFileProviderErrorCode.js +27 -0
  401. package/dist/FileProvider/NSFileProviderExtension.d.ts +14 -13
  402. package/dist/FileProvider/NSFileProviderExternalVolumeHandling.d.ts +2 -2
  403. package/dist/FileProvider/NSFileProviderIncrementalContentFetching.d.ts +3 -2
  404. package/dist/FileProvider/NSFileProviderKnownFolderSupporting.d.ts +3 -2
  405. package/dist/FileProvider/NSFileProviderManager.d.ts +25 -23
  406. package/dist/FileProvider/NSFileProviderPartialContentFetching.d.ts +5 -2
  407. package/dist/FileProvider/NSFileProviderReplicatedExtension.d.ts +9 -9
  408. package/dist/FileProvider/NSFileProviderServicing.d.ts +3 -2
  409. package/dist/FileProvider/NSFileProviderThumbnailing.d.ts +4 -2
  410. package/dist/FileProvider/index.d.ts +1 -0
  411. package/dist/FileProvider/index.js +1 -0
  412. package/dist/FinderSync/FIFinderSync.d.ts +3 -1
  413. package/dist/FinderSync/FIFinderSyncController.d.ts +3 -3
  414. package/dist/Foundation/NSArray.d.ts +13 -13
  415. package/dist/Foundation/NSAttributedString.d.ts +2 -2
  416. package/dist/Foundation/NSBackgroundActivityScheduler.d.ts +2 -2
  417. package/dist/Foundation/NSBlockOperation.d.ts +3 -3
  418. package/dist/Foundation/NSBundleResourceRequest.d.ts +3 -3
  419. package/dist/Foundation/NSCalendar.d.ts +1 -1
  420. package/dist/Foundation/NSData.d.ts +2 -2
  421. package/dist/Foundation/NSDictionary.d.ts +6 -6
  422. package/dist/Foundation/NSError.d.ts +2 -2
  423. package/dist/Foundation/NSExpression.d.ts +2 -2
  424. package/dist/Foundation/NSExtensionContext.d.ts +2 -3
  425. package/dist/Foundation/NSFileCoordinator.d.ts +7 -6
  426. package/dist/Foundation/NSFileHandle.d.ts +4 -4
  427. package/dist/Foundation/NSFileManager.d.ts +9 -7
  428. package/dist/Foundation/NSFilePresenter.d.ts +7 -7
  429. package/dist/Foundation/NSFileProviderService.d.ts +3 -2
  430. package/dist/Foundation/NSFileVersion.d.ts +2 -1
  431. package/dist/Foundation/NSHTTPCookieStorage.d.ts +1 -2
  432. package/dist/Foundation/NSIndexSet.d.ts +12 -12
  433. package/dist/Foundation/NSItemProvider.d.ts +15 -12
  434. package/dist/Foundation/NSItemProviderWriting.d.ts +3 -2
  435. package/dist/Foundation/NSLinguisticTagger.d.ts +3 -3
  436. package/dist/Foundation/NSMetadataQuery.d.ts +2 -2
  437. package/dist/Foundation/NSMutableArray.d.ts +2 -2
  438. package/dist/Foundation/NSMutableOrderedSet.d.ts +3 -3
  439. package/dist/Foundation/NSNotificationCenter.d.ts +1 -1
  440. package/dist/Foundation/NSOperation.d.ts +2 -3
  441. package/dist/Foundation/NSOperationQueue.d.ts +2 -3
  442. package/dist/Foundation/NSOrderedCollectionDifference.d.ts +2 -2
  443. package/dist/Foundation/NSOrderedSet.d.ts +13 -13
  444. package/dist/Foundation/NSPredicate.d.ts +1 -1
  445. package/dist/Foundation/NSProcessInfo.d.ts +2 -3
  446. package/dist/Foundation/NSProgress.d.ts +8 -8
  447. package/dist/Foundation/NSRegularExpression.d.ts +2 -1
  448. package/dist/Foundation/NSRunLoop.d.ts +2 -2
  449. package/dist/Foundation/NSSet.d.ts +4 -4
  450. package/dist/Foundation/NSSortDescriptor.d.ts +3 -3
  451. package/dist/Foundation/NSString.d.ts +6 -5
  452. package/dist/Foundation/NSTask.d.ts +3 -3
  453. package/dist/Foundation/NSThread.d.ts +2 -2
  454. package/dist/Foundation/NSTimer.d.ts +3 -3
  455. package/dist/Foundation/NSURLCache.d.ts +1 -2
  456. package/dist/Foundation/NSURLConnection.d.ts +3 -1
  457. package/dist/Foundation/NSURLCredentialStorage.d.ts +2 -3
  458. package/dist/Foundation/NSURLSession.d.ts +14 -13
  459. package/dist/Foundation/NSURLSessionDataDelegate.d.ts +3 -3
  460. package/dist/Foundation/NSURLSessionDelegate.d.ts +3 -2
  461. package/dist/Foundation/NSURLSessionDownloadTask.d.ts +2 -2
  462. package/dist/Foundation/NSURLSessionStreamTask.d.ts +3 -3
  463. package/dist/Foundation/NSURLSessionTaskDelegate.d.ts +9 -6
  464. package/dist/Foundation/NSURLSessionUploadTask.d.ts +2 -2
  465. package/dist/Foundation/NSURLSessionWebSocketTask.d.ts +4 -4
  466. package/dist/Foundation/NSUndoManager.d.ts +1 -1
  467. package/dist/Foundation/NSUserActivity.d.ts +6 -4
  468. package/dist/Foundation/NSUserAppleScriptTask.d.ts +2 -2
  469. package/dist/Foundation/NSUserAutomatorTask.d.ts +2 -1
  470. package/dist/Foundation/NSUserScriptTask.d.ts +2 -1
  471. package/dist/Foundation/NSUserUnixTask.d.ts +2 -2
  472. package/dist/Foundation/NSXPCConnection.d.ts +8 -7
  473. package/dist/Foundation/NSXPCProxyCreating.d.ts +3 -2
  474. package/dist/GLKit/GLKTextureLoader.d.ts +9 -8
  475. package/dist/GameController/GCAxis2DInput.d.ts +3 -3
  476. package/dist/GameController/GCAxisInput.d.ts +3 -3
  477. package/dist/GameController/GCController.d.ts +3 -3
  478. package/dist/GameController/GCControllerAxisInput.d.ts +2 -3
  479. package/dist/GameController/GCControllerButtonInput.d.ts +6 -7
  480. package/dist/GameController/GCControllerDirectionPad.d.ts +2 -3
  481. package/dist/GameController/GCControllerTouchpad.d.ts +6 -7
  482. package/dist/GameController/GCDevicePhysicalInput.d.ts +5 -5
  483. package/dist/GameController/GCExtendedGamepad.d.ts +3 -3
  484. package/dist/GameController/GCGamepad.d.ts +3 -3
  485. package/dist/GameController/GCKeyboardInput.d.ts +2 -2
  486. package/dist/GameController/GCLinearInput.d.ts +3 -3
  487. package/dist/GameController/GCMicroGamepad.d.ts +3 -3
  488. package/dist/GameController/GCMotion.d.ts +2 -3
  489. package/dist/GameController/GCMouseInput.d.ts +2 -3
  490. package/dist/GameController/GCPhysicalInputProfile.d.ts +2 -3
  491. package/dist/GameController/GCPressedStateInput.d.ts +3 -3
  492. package/dist/GameController/GCRelativeInput.d.ts +3 -3
  493. package/dist/GameController/GCSwitchPositionInput.d.ts +3 -3
  494. package/dist/GameController/GCTouchedStateInput.d.ts +3 -3
  495. package/dist/GameKit/GKAccessPoint.d.ts +13 -14
  496. package/dist/GameKit/GKAchievement.d.ts +11 -11
  497. package/dist/GameKit/GKAchievementDescription.d.ts +4 -3
  498. package/dist/GameKit/GKChallenge.d.ts +3 -2
  499. package/dist/GameKit/GKChallengeDefinition.d.ts +5 -4
  500. package/dist/GameKit/GKCloudPlayer.d.ts +2 -2
  501. package/dist/GameKit/GKGameActivity.d.ts +5 -3
  502. package/dist/GameKit/GKGameActivityDefinition.d.ts +7 -6
  503. package/dist/GameKit/GKGameActivityListener.d.ts +1 -2
  504. package/dist/GameKit/GKGameSession.d.ts +13 -12
  505. package/dist/GameKit/GKLeaderboard.d.ts +14 -12
  506. package/dist/GameKit/GKLeaderboardEntry.d.ts +2 -3
  507. package/dist/GameKit/GKLeaderboardSet.d.ts +7 -5
  508. package/dist/GameKit/GKLocalPlayer.d.ts +24 -20
  509. package/dist/GameKit/GKMatch.d.ts +5 -3
  510. package/dist/GameKit/GKMatchRequest.d.ts +6 -4
  511. package/dist/GameKit/GKMatchmaker.d.ts +17 -15
  512. package/dist/GameKit/GKMatchmakerViewControllerDelegate.d.ts +1 -1
  513. package/dist/GameKit/GKNotificationBanner.d.ts +2 -3
  514. package/dist/GameKit/GKPlayer.d.ts +4 -3
  515. package/dist/GameKit/GKSavedGame.d.ts +3 -2
  516. package/dist/GameKit/GKScore.d.ts +8 -8
  517. package/dist/GameKit/GKTurnBasedExchange.d.ts +3 -3
  518. package/dist/GameKit/GKTurnBasedMatch.d.ts +22 -21
  519. package/dist/GameKit/GKVoiceChat.d.ts +5 -5
  520. package/dist/GameSave/GSSyncedDirectory.d.ts +3 -4
  521. package/dist/GameplayKit/GKRule.d.ts +1 -2
  522. package/dist/HealthKit/HKActivitySummaryQuery.d.ts +5 -4
  523. package/dist/HealthKit/HKAnchoredObjectQuery.d.ts +6 -6
  524. package/dist/HealthKit/HKAttachmentStore.d.ts +8 -6
  525. package/dist/HealthKit/HKCorrelationQuery.d.ts +3 -2
  526. package/dist/HealthKit/HKDocumentQuery.d.ts +2 -2
  527. package/dist/HealthKit/HKElectrocardiogramQuery.d.ts +3 -2
  528. package/dist/HealthKit/HKHealthStore.d.ts +25 -22
  529. package/dist/HealthKit/HKHeartbeatSeriesBuilder.d.ts +5 -4
  530. package/dist/HealthKit/HKHeartbeatSeriesQuery.d.ts +2 -2
  531. package/dist/HealthKit/HKObserverQuery.d.ts +4 -3
  532. package/dist/HealthKit/HKQuantitySeriesSampleBuilder.d.ts +4 -2
  533. package/dist/HealthKit/HKQuantitySeriesSampleQuery.d.ts +6 -3
  534. package/dist/HealthKit/HKSampleQuery.d.ts +4 -4
  535. package/dist/HealthKit/HKSourceQuery.d.ts +3 -2
  536. package/dist/HealthKit/HKStatisticsCollection.d.ts +1 -1
  537. package/dist/HealthKit/HKStatisticsCollectionQuery.d.ts +7 -5
  538. package/dist/HealthKit/HKStatisticsQuery.d.ts +3 -2
  539. package/dist/HealthKit/HKUserAnnotatedMedicationQuery.d.ts +3 -2
  540. package/dist/HealthKit/HKVerifiableClinicalRecordQuery.d.ts +3 -3
  541. package/dist/HealthKit/HKWorkoutBuilder.d.ts +11 -10
  542. package/dist/HealthKit/HKWorkoutEffortRelationshipQuery.d.ts +3 -2
  543. package/dist/HealthKit/HKWorkoutRouteBuilder.d.ts +5 -4
  544. package/dist/HealthKit/HKWorkoutRouteQuery.d.ts +4 -3
  545. package/dist/HealthKit/HKWorkoutSession.d.ts +4 -3
  546. package/dist/IOUSBHost/IOUSBHostControllerInterface.d.ts +1 -1
  547. package/dist/IOUSBHost/IOUSBHostInterface.d.ts +1 -1
  548. package/dist/IOUSBHost/IOUSBHostObject.d.ts +5 -5
  549. package/dist/IOUSBHost/IOUSBHostPipe.d.ts +6 -6
  550. package/dist/IOUSBHost/IOUSBHostStream.d.ts +1 -1
  551. package/dist/IdentityLookup/ILMessageFilterCapabilitiesQueryHandling.d.ts +2 -2
  552. package/dist/IdentityLookup/ILMessageFilterError.d.ts +8 -0
  553. package/dist/IdentityLookup/ILMessageFilterError.js +8 -0
  554. package/dist/IdentityLookup/ILMessageFilterExtensionContext.d.ts +3 -2
  555. package/dist/IdentityLookup/ILMessageFilterQueryHandling.d.ts +2 -2
  556. package/dist/IdentityLookup/index.d.ts +1 -0
  557. package/dist/IdentityLookup/index.js +1 -0
  558. package/dist/ImageCaptureCore/ICCameraDevice.d.ts +5 -4
  559. package/dist/ImageCaptureCore/ICCameraFile.d.ts +8 -6
  560. package/dist/ImageCaptureCore/ICDevice.d.ts +4 -3
  561. package/dist/ImageCaptureCore/ICDeviceBrowser.d.ts +5 -4
  562. package/dist/ImageCaptureCore/ICLegacyReturnCode.d.ts +25 -0
  563. package/dist/ImageCaptureCore/ICLegacyReturnCode.js +25 -0
  564. package/dist/ImageCaptureCore/ICReturnCode.d.ts +43 -0
  565. package/dist/ImageCaptureCore/ICReturnCode.js +43 -0
  566. package/dist/ImageCaptureCore/ICReturnConnectionErrorCode.d.ts +11 -0
  567. package/dist/ImageCaptureCore/ICReturnConnectionErrorCode.js +11 -0
  568. package/dist/ImageCaptureCore/ICReturnDownloadErrorCode.d.ts +5 -0
  569. package/dist/ImageCaptureCore/ICReturnDownloadErrorCode.js +5 -0
  570. package/dist/ImageCaptureCore/ICReturnMetadataErrorCode.d.ts +7 -0
  571. package/dist/ImageCaptureCore/ICReturnMetadataErrorCode.js +7 -0
  572. package/dist/ImageCaptureCore/ICReturnObjectErrorCode.d.ts +8 -0
  573. package/dist/ImageCaptureCore/ICReturnObjectErrorCode.js +8 -0
  574. package/dist/ImageCaptureCore/ICReturnPTPDeviceErrorCode.d.ts +5 -0
  575. package/dist/ImageCaptureCore/ICReturnPTPDeviceErrorCode.js +5 -0
  576. package/dist/ImageCaptureCore/ICReturnThumbnailErrorCode.d.ts +7 -0
  577. package/dist/ImageCaptureCore/ICReturnThumbnailErrorCode.js +7 -0
  578. package/dist/ImageCaptureCore/index.d.ts +8 -0
  579. package/dist/ImageCaptureCore/index.js +8 -0
  580. package/dist/Intents/INActivateCarSignalIntentHandling.d.ts +7 -5
  581. package/dist/Intents/INAddMediaIntentHandling.d.ts +7 -5
  582. package/dist/Intents/INAddTasksIntentHandling.d.ts +17 -10
  583. package/dist/Intents/INAnswerCallIntentHandling.d.ts +3 -3
  584. package/dist/Intents/INAppendToNoteIntentHandling.d.ts +7 -5
  585. package/dist/Intents/INBookRestaurantReservationIntentHandling.d.ts +13 -8
  586. package/dist/Intents/INCancelRideIntentHandling.d.ts +3 -3
  587. package/dist/Intents/INCancelWorkoutIntentHandling.d.ts +5 -4
  588. package/dist/Intents/INCreateNoteIntentHandling.d.ts +8 -6
  589. package/dist/Intents/INCreateTaskListIntentHandling.d.ts +8 -6
  590. package/dist/Intents/INDeleteTasksIntentHandling.d.ts +7 -5
  591. package/dist/Intents/INEditMessageIntentHandling.d.ts +5 -4
  592. package/dist/Intents/INEndWorkoutIntentHandling.d.ts +5 -4
  593. package/dist/Intents/INFocusStatusCenter.d.ts +1 -2
  594. package/dist/Intents/INGetAvailableRestaurantReservationBookingDefaultsIntentHandling.d.ts +5 -4
  595. package/dist/Intents/INGetAvailableRestaurantReservationBookingsIntentHandling.d.ts +9 -6
  596. package/dist/Intents/INGetCarLockStatusIntentHandling.d.ts +5 -4
  597. package/dist/Intents/INGetCarPowerLevelStatusIntentHandling.d.ts +5 -4
  598. package/dist/Intents/INGetRestaurantGuestIntentHandling.d.ts +3 -3
  599. package/dist/Intents/INGetRideStatusIntentHandling.d.ts +3 -3
  600. package/dist/Intents/INGetUserCurrentRestaurantReservationBookingsIntentHandling.d.ts +5 -4
  601. package/dist/Intents/INGetVisualCodeIntentHandling.d.ts +5 -4
  602. package/dist/Intents/INHangUpCallIntentHandling.d.ts +3 -3
  603. package/dist/Intents/INInteraction.d.ts +5 -4
  604. package/dist/Intents/INListCarsIntentHandling.d.ts +3 -3
  605. package/dist/Intents/INListRideOptionsIntentHandling.d.ts +6 -5
  606. package/dist/Intents/INPauseWorkoutIntentHandling.d.ts +5 -4
  607. package/dist/Intents/INPayBillIntentHandling.d.ts +16 -10
  608. package/dist/Intents/INPlayMediaIntentHandling.d.ts +14 -9
  609. package/dist/Intents/INPreferences.d.ts +1 -2
  610. package/dist/Intents/INRelevantShortcutStore.d.ts +2 -2
  611. package/dist/Intents/INRequestPaymentIntentHandling.d.ts +13 -8
  612. package/dist/Intents/INRequestRideIntentHandling.d.ts +12 -8
  613. package/dist/Intents/INResumeWorkoutIntentHandling.d.ts +5 -4
  614. package/dist/Intents/INSaveProfileInCarIntentHandling.d.ts +7 -5
  615. package/dist/Intents/INSearchCallHistoryIntentHandling.d.ts +13 -8
  616. package/dist/Intents/INSearchForAccountsIntentHandling.d.ts +10 -7
  617. package/dist/Intents/INSearchForBillsIntentHandling.d.ts +12 -8
  618. package/dist/Intents/INSearchForMediaIntentHandling.d.ts +5 -4
  619. package/dist/Intents/INSearchForMessagesIntentHandling.d.ts +12 -9
  620. package/dist/Intents/INSearchForNotebookItemsIntentHandling.d.ts +23 -13
  621. package/dist/Intents/INSearchForPhotosIntentHandling.d.ts +12 -8
  622. package/dist/Intents/INSendMessageIntentHandling.d.ts +13 -9
  623. package/dist/Intents/INSendPaymentIntentHandling.d.ts +13 -8
  624. package/dist/Intents/INSendRideFeedbackIntentHandling.d.ts +3 -3
  625. package/dist/Intents/INSetAudioSourceInCarIntentHandling.d.ts +7 -5
  626. package/dist/Intents/INSetCarLockStatusIntentHandling.d.ts +7 -5
  627. package/dist/Intents/INSetClimateSettingsInCarIntentHandling.d.ts +23 -15
  628. package/dist/Intents/INSetDefrosterSettingsInCarIntentHandling.d.ts +9 -6
  629. package/dist/Intents/INSetMessageAttributeIntentHandling.d.ts +5 -4
  630. package/dist/Intents/INSetProfileInCarIntentHandling.d.ts +11 -7
  631. package/dist/Intents/INSetRadioStationIntentHandling.d.ts +12 -8
  632. package/dist/Intents/INSetSeatSettingsInCarIntentHandling.d.ts +15 -10
  633. package/dist/Intents/INSetTaskAttributeIntentHandling.d.ts +17 -10
  634. package/dist/Intents/INShareFocusStatusIntentHandling.d.ts +3 -3
  635. package/dist/Intents/INSnoozeTasksIntentHandling.d.ts +7 -5
  636. package/dist/Intents/INStartAudioCallIntentHandling.d.ts +7 -5
  637. package/dist/Intents/INStartCallIntentHandling.d.ts +11 -7
  638. package/dist/Intents/INStartPhotoPlaybackIntentHandling.d.ts +11 -7
  639. package/dist/Intents/INStartVideoCallIntentHandling.d.ts +5 -4
  640. package/dist/Intents/INStartWorkoutIntentHandling.d.ts +13 -8
  641. package/dist/Intents/INTransferMoneyIntentHandling.d.ts +12 -8
  642. package/dist/Intents/INUnsendMessagesIntentHandling.d.ts +3 -3
  643. package/dist/Intents/INUpdateMediaAffinityIntentHandling.d.ts +7 -5
  644. package/dist/Intents/INVoiceShortcutCenter.d.ts +4 -3
  645. package/dist/JavaScriptCore/JSContext.d.ts +2 -2
  646. package/dist/JavaScriptCore/JSValue.d.ts +1 -1
  647. package/dist/LinkPresentation/LPErrorCode.d.ts +8 -0
  648. package/dist/LinkPresentation/LPErrorCode.js +8 -0
  649. package/dist/LinkPresentation/LPMetadataProvider.d.ts +4 -3
  650. package/dist/LinkPresentation/index.d.ts +1 -0
  651. package/dist/LinkPresentation/index.js +1 -0
  652. package/dist/LocalAuthentication/LAContext.d.ts +3 -2
  653. package/dist/LocalAuthentication/LAPrivateKey.d.ts +4 -3
  654. package/dist/LocalAuthentication/LAPublicKey.d.ts +4 -3
  655. package/dist/LocalAuthentication/LARight.d.ts +4 -4
  656. package/dist/LocalAuthentication/LARightStore.d.ts +7 -7
  657. package/dist/LocalAuthentication/LASecret.d.ts +3 -2
  658. package/dist/MLCompute/MLCInferenceGraph.d.ts +6 -5
  659. package/dist/MLCompute/MLCTensorData.d.ts +1 -1
  660. package/dist/MLCompute/MLCTrainingGraph.d.ts +8 -8
  661. package/dist/MailKit/MEComposeSessionErrorCode.d.ts +6 -0
  662. package/dist/MailKit/MEComposeSessionErrorCode.js +6 -0
  663. package/dist/MailKit/MEComposeSessionHandler.d.ts +3 -3
  664. package/dist/MailKit/MEExtensionManager.d.ts +3 -3
  665. package/dist/MailKit/MEMessageActionHandler.d.ts +2 -2
  666. package/dist/MailKit/MEMessageEncoder.d.ts +4 -3
  667. package/dist/MailKit/MEMessageSecurityErrorCode.d.ts +5 -0
  668. package/dist/MailKit/MEMessageSecurityErrorCode.js +5 -0
  669. package/dist/MailKit/MEMessageSecurityHandler.d.ts +1 -2
  670. package/dist/MailKit/index.d.ts +2 -0
  671. package/dist/MailKit/index.js +2 -0
  672. package/dist/MapKit/MKDirections.d.ts +5 -3
  673. package/dist/MapKit/MKGeocodingRequest.d.ts +3 -2
  674. package/dist/MapKit/MKLocalSearch.d.ts +3 -2
  675. package/dist/MapKit/MKLookAroundSceneRequest.d.ts +3 -2
  676. package/dist/MapKit/MKLookAroundSnapshotter.d.ts +3 -2
  677. package/dist/MapKit/MKMapItem.d.ts +2 -2
  678. package/dist/MapKit/MKMapItemRequest.d.ts +3 -1
  679. package/dist/MapKit/MKMapSnapshotter.d.ts +4 -3
  680. package/dist/MapKit/MKReverseGeocodingRequest.d.ts +3 -1
  681. package/dist/MapKit/MKTileOverlay.d.ts +3 -2
  682. package/dist/Matter/MTRAsyncCallbackQueueWorkItem.d.ts +4 -4
  683. package/dist/Matter/MTRAttributeCacheContainer.d.ts +3 -2
  684. package/dist/Matter/MTRBaseClusterAccessControl.d.ts +77 -76
  685. package/dist/Matter/MTRBaseClusterAccountLogin.d.ts +41 -39
  686. package/dist/Matter/MTRBaseClusterActions.d.ts +75 -73
  687. package/dist/Matter/MTRBaseClusterActivatedCarbonFilterMonitoring.d.ts +39 -38
  688. package/dist/Matter/MTRBaseClusterAdministratorCommissioning.d.ts +58 -57
  689. package/dist/Matter/MTRBaseClusterAirQuality.d.ts +20 -19
  690. package/dist/Matter/MTRBaseClusterApplicationBasic.d.ts +83 -79
  691. package/dist/Matter/MTRBaseClusterApplicationLauncher.d.ts +58 -56
  692. package/dist/Matter/MTRBaseClusterAudioOutput.d.ts +48 -47
  693. package/dist/Matter/MTRBaseClusterBallastConfiguration.d.ts +156 -155
  694. package/dist/Matter/MTRBaseClusterBarrierControl.d.ts +122 -121
  695. package/dist/Matter/MTRBaseClusterBasic.d.ts +86 -84
  696. package/dist/Matter/MTRBaseClusterBasicInformation.d.ts +94 -91
  697. package/dist/Matter/MTRBaseClusterBinaryInputBasic.d.ts +110 -109
  698. package/dist/Matter/MTRBaseClusterBinding.d.ts +41 -41
  699. package/dist/Matter/MTRBaseClusterBooleanState.d.ts +38 -37
  700. package/dist/Matter/MTRBaseClusterBooleanStateConfiguration.d.ts +45 -44
  701. package/dist/Matter/MTRBaseClusterBridgedDeviceBasic.d.ts +64 -63
  702. package/dist/Matter/MTRBaseClusterBridgedDeviceBasicInformation.d.ts +72 -70
  703. package/dist/Matter/MTRBaseClusterCarbonDioxideConcentrationMeasurement.d.ts +50 -49
  704. package/dist/Matter/MTRBaseClusterCarbonMonoxideConcentrationMeasurement.d.ts +50 -49
  705. package/dist/Matter/MTRBaseClusterChannel.d.ts +66 -59
  706. package/dist/Matter/MTRBaseClusterColorControl.d.ts +435 -433
  707. package/dist/Matter/MTRBaseClusterCommissionerControl.d.ts +23 -21
  708. package/dist/Matter/MTRBaseClusterContentAppObserver.d.ts +19 -17
  709. package/dist/Matter/MTRBaseClusterContentLauncher.d.ts +54 -51
  710. package/dist/Matter/MTRBaseClusterDescriptor.d.ts +56 -55
  711. package/dist/Matter/MTRBaseClusterDeviceEnergyManagement.d.ts +54 -51
  712. package/dist/Matter/MTRBaseClusterDeviceEnergyManagementMode.d.ts +25 -23
  713. package/dist/Matter/MTRBaseClusterDiagnosticLogs.d.ts +35 -33
  714. package/dist/Matter/MTRBaseClusterDishwasherAlarm.d.ts +31 -30
  715. package/dist/Matter/MTRBaseClusterDishwasherMode.d.ts +25 -23
  716. package/dist/Matter/MTRBaseClusterDoorLock.d.ts +397 -389
  717. package/dist/Matter/MTRBaseClusterElectricalEnergyMeasurement.d.ts +38 -34
  718. package/dist/Matter/MTRBaseClusterElectricalMeasurement.d.ts +838 -837
  719. package/dist/Matter/MTRBaseClusterElectricalPowerMeasurement.d.ts +74 -73
  720. package/dist/Matter/MTRBaseClusterEnergyEVSE.d.ts +85 -83
  721. package/dist/Matter/MTRBaseClusterEnergyEVSEMode.d.ts +25 -23
  722. package/dist/Matter/MTRBaseClusterEthernetNetworkDiagnostics.d.ts +90 -89
  723. package/dist/Matter/MTRBaseClusterFanControl.d.ts +128 -127
  724. package/dist/Matter/MTRBaseClusterFixedLabel.d.ts +38 -37
  725. package/dist/Matter/MTRBaseClusterFlowMeasurement.d.ts +56 -55
  726. package/dist/Matter/MTRBaseClusterFormaldehydeConcentrationMeasurement.d.ts +50 -49
  727. package/dist/Matter/MTRBaseClusterGeneralCommissioning.d.ts +78 -73
  728. package/dist/Matter/MTRBaseClusterGeneralDiagnostics.d.ts +93 -90
  729. package/dist/Matter/MTRBaseClusterGroupKeyManagement.d.ts +70 -68
  730. package/dist/Matter/MTRBaseClusterGroups.d.ts +56 -51
  731. package/dist/Matter/MTRBaseClusterHEPAFilterMonitoring.d.ts +39 -38
  732. package/dist/Matter/MTRBaseClusterICDManagement.d.ts +53 -49
  733. package/dist/Matter/MTRBaseClusterIdentify.d.ts +52 -51
  734. package/dist/Matter/MTRBaseClusterIlluminanceMeasurement.d.ts +62 -61
  735. package/dist/Matter/MTRBaseClusterKeypadInput.d.ts +35 -33
  736. package/dist/Matter/MTRBaseClusterLaundryDryerControls.d.ts +25 -24
  737. package/dist/Matter/MTRBaseClusterLaundryWasherControls.d.ts +33 -32
  738. package/dist/Matter/MTRBaseClusterLaundryWasherMode.d.ts +25 -23
  739. package/dist/Matter/MTRBaseClusterLevelControl.d.ts +162 -161
  740. package/dist/Matter/MTRBaseClusterLocalizationConfiguration.d.ts +48 -47
  741. package/dist/Matter/MTRBaseClusterLowPower.d.ts +36 -35
  742. package/dist/Matter/MTRBaseClusterMediaInput.d.ts +56 -55
  743. package/dist/Matter/MTRBaseClusterMediaPlayback.d.ts +119 -115
  744. package/dist/Matter/MTRBaseClusterMessages.d.ts +25 -24
  745. package/dist/Matter/MTRBaseClusterMicrowaveOvenControl.d.ts +41 -40
  746. package/dist/Matter/MTRBaseClusterMicrowaveOvenMode.d.ts +23 -22
  747. package/dist/Matter/MTRBaseClusterModeSelect.d.ts +79 -77
  748. package/dist/Matter/MTRBaseClusterNetworkCommissioning.d.ts +110 -105
  749. package/dist/Matter/MTRBaseClusterNitrogenDioxideConcentrationMeasurement.d.ts +50 -49
  750. package/dist/Matter/MTRBaseClusterOccupancySensing.d.ts +149 -147
  751. package/dist/Matter/MTRBaseClusterOnOff.d.ts +94 -93
  752. package/dist/Matter/MTRBaseClusterOnOffSwitchConfiguration.d.ts +48 -47
  753. package/dist/Matter/MTRBaseClusterOperationalCredentials.d.ts +88 -83
  754. package/dist/Matter/MTRBaseClusterOperationalState.d.ts +45 -42
  755. package/dist/Matter/MTRBaseClusterOtaSoftwareUpdateProvider.d.ts +40 -37
  756. package/dist/Matter/MTRBaseClusterOtaSoftwareUpdateRequestor.d.ts +61 -61
  757. package/dist/Matter/MTRBaseClusterOvenCavityOperationalState.d.ts +41 -38
  758. package/dist/Matter/MTRBaseClusterOvenMode.d.ts +25 -23
  759. package/dist/Matter/MTRBaseClusterOzoneConcentrationMeasurement.d.ts +50 -49
  760. package/dist/Matter/MTRBaseClusterPM10ConcentrationMeasurement.d.ts +50 -49
  761. package/dist/Matter/MTRBaseClusterPM1ConcentrationMeasurement.d.ts +50 -49
  762. package/dist/Matter/MTRBaseClusterPM25ConcentrationMeasurement.d.ts +50 -49
  763. package/dist/Matter/MTRBaseClusterPowerSource.d.ts +222 -220
  764. package/dist/Matter/MTRBaseClusterPowerSourceConfiguration.d.ts +38 -37
  765. package/dist/Matter/MTRBaseClusterPowerTopology.d.ts +23 -22
  766. package/dist/Matter/MTRBaseClusterPressureMeasurement.d.ts +86 -85
  767. package/dist/Matter/MTRBaseClusterPumpConfigurationAndControl.d.ts +186 -185
  768. package/dist/Matter/MTRBaseClusterRVCCleanMode.d.ts +25 -23
  769. package/dist/Matter/MTRBaseClusterRVCOperationalState.d.ts +43 -40
  770. package/dist/Matter/MTRBaseClusterRVCRunMode.d.ts +25 -23
  771. package/dist/Matter/MTRBaseClusterRadonConcentrationMeasurement.d.ts +50 -49
  772. package/dist/Matter/MTRBaseClusterRefrigeratorAlarm.d.ts +26 -25
  773. package/dist/Matter/MTRBaseClusterRefrigeratorAndTemperatureControlledCabinetMode.d.ts +25 -23
  774. package/dist/Matter/MTRBaseClusterRelativeHumidityMeasurement.d.ts +56 -55
  775. package/dist/Matter/MTRBaseClusterServiceArea.d.ts +39 -36
  776. package/dist/Matter/MTRBaseClusterSmokeCOAlarm.d.ts +60 -59
  777. package/dist/Matter/MTRBaseClusterSoftwareDiagnostics.d.ts +60 -59
  778. package/dist/Matter/MTRBaseClusterSwitch.d.ts +50 -49
  779. package/dist/Matter/MTRBaseClusterTargetNavigator.d.ts +47 -45
  780. package/dist/Matter/MTRBaseClusterTemperatureControl.d.ts +37 -36
  781. package/dist/Matter/MTRBaseClusterTemperatureMeasurement.d.ts +56 -55
  782. package/dist/Matter/MTRBaseClusterTestCluster.d.ts +467 -455
  783. package/dist/Matter/MTRBaseClusterThermostat.d.ts +486 -483
  784. package/dist/Matter/MTRBaseClusterThermostatUserInterfaceConfiguration.d.ts +62 -61
  785. package/dist/Matter/MTRBaseClusterThreadBorderRouterManagement.d.ts +44 -40
  786. package/dist/Matter/MTRBaseClusterThreadNetworkDiagnostics.d.ts +418 -413
  787. package/dist/Matter/MTRBaseClusterThreadNetworkDirectory.d.ts +32 -30
  788. package/dist/Matter/MTRBaseClusterTimeFormatLocalization.d.ts +58 -57
  789. package/dist/Matter/MTRBaseClusterTimeSynchronization.d.ts +64 -60
  790. package/dist/Matter/MTRBaseClusterTotalVolatileOrganicCompoundsConcentrationMeasurement.d.ts +50 -49
  791. package/dist/Matter/MTRBaseClusterUnitLocalization.d.ts +42 -41
  792. package/dist/Matter/MTRBaseClusterUnitTesting.d.ts +467 -455
  793. package/dist/Matter/MTRBaseClusterUserLabel.d.ts +41 -41
  794. package/dist/Matter/MTRBaseClusterValveConfigurationAndControl.d.ts +58 -57
  795. package/dist/Matter/MTRBaseClusterWakeOnLan.d.ts +43 -40
  796. package/dist/Matter/MTRBaseClusterWaterHeaterManagement.d.ts +38 -37
  797. package/dist/Matter/MTRBaseClusterWaterHeaterMode.d.ts +25 -23
  798. package/dist/Matter/MTRBaseClusterWiFiNetworkDiagnostics.d.ts +115 -113
  799. package/dist/Matter/MTRBaseClusterWiFiNetworkManagement.d.ts +27 -24
  800. package/dist/Matter/MTRBaseClusterWindowCovering.d.ts +188 -187
  801. package/dist/Matter/MTRBaseDevice.d.ts +22 -19
  802. package/dist/Matter/MTRClusterAccessControl.d.ts +3 -2
  803. package/dist/Matter/MTRClusterAccountLogin.d.ts +10 -9
  804. package/dist/Matter/MTRClusterActions.d.ts +25 -25
  805. package/dist/Matter/MTRClusterActivatedCarbonFilterMonitoring.d.ts +3 -3
  806. package/dist/Matter/MTRClusterAdministratorCommissioning.d.ts +9 -9
  807. package/dist/Matter/MTRClusterApplicationLauncher.d.ts +11 -10
  808. package/dist/Matter/MTRClusterAudioOutput.d.ts +5 -5
  809. package/dist/Matter/MTRClusterBarrierControl.d.ts +7 -7
  810. package/dist/Matter/MTRClusterBasic.d.ts +3 -3
  811. package/dist/Matter/MTRClusterBooleanStateConfiguration.d.ts +3 -3
  812. package/dist/Matter/MTRClusterBridgedDeviceBasicInformation.d.ts +2 -2
  813. package/dist/Matter/MTRClusterChannel.d.ts +13 -11
  814. package/dist/Matter/MTRClusterColorControl.d.ts +39 -39
  815. package/dist/Matter/MTRClusterCommissionerControl.d.ts +4 -3
  816. package/dist/Matter/MTRClusterContentAppObserver.d.ts +3 -2
  817. package/dist/Matter/MTRClusterContentLauncher.d.ts +7 -5
  818. package/dist/Matter/MTRClusterDeviceEnergyManagement.d.ts +12 -12
  819. package/dist/Matter/MTRClusterDeviceEnergyManagementMode.d.ts +3 -2
  820. package/dist/Matter/MTRClusterDiagnosticLogs.d.ts +4 -3
  821. package/dist/Matter/MTRClusterDishwasherAlarm.d.ts +3 -3
  822. package/dist/Matter/MTRClusterDishwasherMode.d.ts +3 -2
  823. package/dist/Matter/MTRClusterDoorLock.d.ts +50 -44
  824. package/dist/Matter/MTRClusterElectricalMeasurement.d.ts +7 -7
  825. package/dist/Matter/MTRClusterEnergyEVSE.d.ts +12 -11
  826. package/dist/Matter/MTRClusterEnergyEVSEMode.d.ts +3 -2
  827. package/dist/Matter/MTRClusterEthernetNetworkDiagnostics.d.ts +5 -5
  828. package/dist/Matter/MTRClusterFanControl.d.ts +2 -2
  829. package/dist/Matter/MTRClusterGeneralCommissioning.d.ts +12 -9
  830. package/dist/Matter/MTRClusterGeneralDiagnostics.d.ts +8 -6
  831. package/dist/Matter/MTRClusterGroupKeyManagement.d.ts +12 -10
  832. package/dist/Matter/MTRClusterGroups.d.ts +19 -15
  833. package/dist/Matter/MTRClusterHEPAFilterMonitoring.d.ts +3 -3
  834. package/dist/Matter/MTRClusterICDManagement.d.ts +6 -4
  835. package/dist/Matter/MTRClusterIdentify.d.ts +5 -5
  836. package/dist/Matter/MTRClusterKeypadInput.d.ts +4 -3
  837. package/dist/Matter/MTRClusterLaundryWasherMode.d.ts +3 -2
  838. package/dist/Matter/MTRClusterLevelControl.d.ts +19 -19
  839. package/dist/Matter/MTRClusterLowPower.d.ts +5 -5
  840. package/dist/Matter/MTRClusterMediaInput.d.ts +13 -13
  841. package/dist/Matter/MTRClusterMediaPlayback.d.ts +44 -43
  842. package/dist/Matter/MTRClusterMessages.d.ts +3 -3
  843. package/dist/Matter/MTRClusterMicrowaveOvenControl.d.ts +4 -4
  844. package/dist/Matter/MTRClusterModeSelect.d.ts +3 -3
  845. package/dist/Matter/MTRClusterNetworkCommissioning.d.ts +17 -14
  846. package/dist/Matter/MTRClusterOnOff.d.ts +21 -21
  847. package/dist/Matter/MTRClusterOperationalCredentials.d.ts +21 -17
  848. package/dist/Matter/MTRClusterOperationalState.d.ts +10 -9
  849. package/dist/Matter/MTRClusterOtaSoftwareUpdateProvider.d.ts +9 -7
  850. package/dist/Matter/MTRClusterOtaSoftwareUpdateRequestor.d.ts +3 -3
  851. package/dist/Matter/MTRClusterOvenCavityOperationalState.d.ts +6 -5
  852. package/dist/Matter/MTRClusterOvenMode.d.ts +3 -2
  853. package/dist/Matter/MTRClusterRVCCleanMode.d.ts +3 -2
  854. package/dist/Matter/MTRClusterRVCOperationalState.d.ts +8 -7
  855. package/dist/Matter/MTRClusterRVCRunMode.d.ts +3 -2
  856. package/dist/Matter/MTRClusterRefrigeratorAndTemperatureControlledCabinetMode.d.ts +3 -2
  857. package/dist/Matter/MTRClusterServiceArea.d.ts +5 -3
  858. package/dist/Matter/MTRClusterSmokeCOAlarm.d.ts +3 -3
  859. package/dist/Matter/MTRClusterSoftwareDiagnostics.d.ts +5 -5
  860. package/dist/Matter/MTRClusterStateCacheContainer.d.ts +3 -2
  861. package/dist/Matter/MTRClusterTargetNavigator.d.ts +4 -3
  862. package/dist/Matter/MTRClusterTemperatureControl.d.ts +3 -3
  863. package/dist/Matter/MTRClusterTestCluster.d.ts +42 -30
  864. package/dist/Matter/MTRClusterThermostat.d.ts +16 -14
  865. package/dist/Matter/MTRClusterThreadBorderRouterManagement.d.ts +8 -7
  866. package/dist/Matter/MTRClusterThreadNetworkDiagnostics.d.ts +5 -5
  867. package/dist/Matter/MTRClusterThreadNetworkDirectory.d.ts +5 -4
  868. package/dist/Matter/MTRClusterTimeSynchronization.d.ts +7 -6
  869. package/dist/Matter/MTRClusterUnitTesting.d.ts +42 -30
  870. package/dist/Matter/MTRClusterValveConfigurationAndControl.d.ts +5 -5
  871. package/dist/Matter/MTRClusterWaterHeaterManagement.d.ts +4 -4
  872. package/dist/Matter/MTRClusterWaterHeaterMode.d.ts +3 -2
  873. package/dist/Matter/MTRClusterWiFiNetworkDiagnostics.d.ts +5 -5
  874. package/dist/Matter/MTRClusterWiFiNetworkManagement.d.ts +4 -3
  875. package/dist/Matter/MTRClusterWindowCovering.d.ts +21 -21
  876. package/dist/Matter/MTRCommissioningDelegate.d.ts +4 -4
  877. package/dist/Matter/MTRDevice.d.ts +11 -8
  878. package/dist/Matter/MTRDeviceController.d.ts +6 -4
  879. package/dist/Matter/MTRDeviceControllerServerProtocol.d.ts +12 -10
  880. package/dist/Matter/MTRErrorCode.d.ts +22 -0
  881. package/dist/Matter/MTRErrorCode.js +22 -0
  882. package/dist/Matter/MTRInteractionErrorCode.d.ts +33 -0
  883. package/dist/Matter/MTRInteractionErrorCode.js +33 -0
  884. package/dist/Matter/MTRNOCChainIssuer.d.ts +3 -1
  885. package/dist/Matter/MTROTAProviderDelegate.d.ts +13 -11
  886. package/dist/Matter/MTROperationalCertificateIssuer.d.ts +3 -2
  887. package/dist/Matter/MTRXPCDeviceControllerParameters.d.ts +4 -4
  888. package/dist/Matter/MTRXPCServerProtocol_MTRDevice.d.ts +17 -11
  889. package/dist/Matter/MTRXPCServerProtocol_MTRDeviceController.d.ts +2 -2
  890. package/dist/Matter/functions.d.ts +1 -2
  891. package/dist/Matter/functions.js +1 -1
  892. package/dist/Matter/index.d.ts +2 -0
  893. package/dist/Matter/index.js +2 -0
  894. package/dist/MediaAccessibility/MAMusicHapticsManager.d.ts +2 -3
  895. package/dist/MediaAccessibility/functions.d.ts +1 -1
  896. package/dist/MediaAccessibility/functions.js +1 -1
  897. package/dist/MediaExtension/MEByteSource.d.ts +4 -2
  898. package/dist/MediaExtension/MEError.d.ts +15 -0
  899. package/dist/MediaExtension/MEError.js +15 -0
  900. package/dist/MediaExtension/MEFormatReader.d.ts +8 -5
  901. package/dist/MediaExtension/MERAWProcessor.d.ts +2 -1
  902. package/dist/MediaExtension/MESampleCursor.d.ts +9 -7
  903. package/dist/MediaExtension/METrackReader.d.ts +12 -9
  904. package/dist/MediaExtension/MEVideoDecoder.d.ts +3 -1
  905. package/dist/MediaExtension/index.d.ts +1 -0
  906. package/dist/MediaExtension/index.js +1 -0
  907. package/dist/MediaPlayer/MPMediaEntity.d.ts +1 -1
  908. package/dist/MediaPlayer/MPMediaItemAnimatedArtwork.d.ts +4 -2
  909. package/dist/MediaPlayer/MPMediaItemArtwork.d.ts +1 -2
  910. package/dist/MediaPlayer/MPMediaLibrary.d.ts +6 -4
  911. package/dist/MediaPlayer/MPMediaPlaylist.d.ts +3 -3
  912. package/dist/MediaPlayer/MPMusicPlayerApplicationController.d.ts +4 -2
  913. package/dist/MediaPlayer/MPMusicPlayerController.d.ts +2 -1
  914. package/dist/MediaPlayer/MPNowPlayingSession.d.ts +1 -2
  915. package/dist/MediaPlayer/MPPlayableContentDataSource.d.ts +3 -3
  916. package/dist/MediaPlayer/MPPlayableContentDelegate.d.ts +4 -4
  917. package/dist/MediaPlayer/MPRemoteCommand.d.ts +3 -1
  918. package/dist/Metal/MTL4CommitOptions.d.ts +2 -2
  919. package/dist/Metal/MTL4Compiler.d.ts +11 -10
  920. package/dist/Metal/MTLCommandBuffer.d.ts +2 -2
  921. package/dist/Metal/MTLDevice.d.ts +13 -10
  922. package/dist/Metal/MTLDrawable.d.ts +1 -2
  923. package/dist/Metal/MTLIOCommandBuffer.d.ts +1 -2
  924. package/dist/Metal/MTLIOError.d.ts +5 -0
  925. package/dist/Metal/MTLIOError.js +5 -0
  926. package/dist/Metal/MTLLibrary.d.ts +4 -3
  927. package/dist/Metal/MTLLogState.d.ts +3 -2
  928. package/dist/Metal/MTLSharedEvent.d.ts +1 -2
  929. package/dist/Metal/NSDeviceCertification.d.ts +2 -0
  930. package/dist/Metal/NSDeviceCertification.js +2 -0
  931. package/dist/Metal/NSProcessPerformanceProfile.d.ts +2 -0
  932. package/dist/Metal/NSProcessPerformanceProfile.js +2 -0
  933. package/dist/Metal/functions.d.ts +2 -1
  934. package/dist/Metal/functions.js +1 -1
  935. package/dist/Metal/index.d.ts +3 -0
  936. package/dist/Metal/index.js +3 -0
  937. package/dist/MetalKit/MTKTextureLoader.d.ts +10 -9
  938. package/dist/MetalPerformanceShadersGraph/MPSGraph.d.ts +6 -5
  939. package/dist/MetalPerformanceShadersGraph/MPSGraphCompilationDescriptor.d.ts +4 -2
  940. package/dist/MetalPerformanceShadersGraph/MPSGraphExecutableExecutionDescriptor.d.ts +6 -5
  941. package/dist/MetalPerformanceShadersGraph/MPSGraphExecutionDescriptor.d.ts +5 -4
  942. package/dist/MetricKit/MXErrorCode.d.ts +9 -0
  943. package/dist/MetricKit/MXErrorCode.js +9 -0
  944. package/dist/MetricKit/index.d.ts +1 -0
  945. package/dist/MetricKit/index.js +1 -0
  946. package/dist/ModelIO/MDLMaterialPropertyNode.d.ts +3 -4
  947. package/dist/ModelIO/MDLMeshBufferMap.d.ts +1 -1
  948. package/dist/ModelIO/MDLObject.d.ts +1 -1
  949. package/dist/MultipeerConnectivity/MCNearbyServiceAdvertiserDelegate.d.ts +2 -2
  950. package/dist/MultipeerConnectivity/MCSession.d.ts +3 -2
  951. package/dist/MultipeerConnectivity/MCSessionDelegate.d.ts +1 -2
  952. package/dist/NaturalLanguage/NLContextualEmbedding.d.ts +3 -1
  953. package/dist/NaturalLanguage/NLContextualEmbeddingResult.d.ts +1 -1
  954. package/dist/NaturalLanguage/NLEmbedding.d.ts +4 -4
  955. package/dist/NaturalLanguage/NLTagger.d.ts +4 -2
  956. package/dist/NaturalLanguage/NLTokenizer.d.ts +2 -1
  957. package/dist/NearbyInteraction/NIErrorCode.d.ts +13 -0
  958. package/dist/NearbyInteraction/NIErrorCode.js +13 -0
  959. package/dist/NearbyInteraction/index.d.ts +1 -0
  960. package/dist/NearbyInteraction/index.js +1 -0
  961. package/dist/NetworkExtension/NEAppProxyFlow.d.ts +2 -3
  962. package/dist/NetworkExtension/NEAppProxyProvider.d.ts +2 -3
  963. package/dist/NetworkExtension/NEAppProxyProviderManager.d.ts +3 -2
  964. package/dist/NetworkExtension/NEAppProxyTCPFlow.d.ts +3 -3
  965. package/dist/NetworkExtension/NEAppProxyUDPFlow.d.ts +5 -4
  966. package/dist/NetworkExtension/NEAppPushManager.d.ts +5 -5
  967. package/dist/NetworkExtension/NEAppPushManagerError.d.ts +7 -0
  968. package/dist/NetworkExtension/NEAppPushManagerError.js +7 -0
  969. package/dist/NetworkExtension/NEAppPushProvider.d.ts +3 -3
  970. package/dist/NetworkExtension/NEDNSProxyManager.d.ts +4 -4
  971. package/dist/NetworkExtension/NEDNSProxyProvider.d.ts +2 -2
  972. package/dist/NetworkExtension/NEDNSSettingsManager.d.ts +4 -4
  973. package/dist/NetworkExtension/NEFilterControlProvider.d.ts +3 -3
  974. package/dist/NetworkExtension/NEFilterDataProvider.d.ts +2 -2
  975. package/dist/NetworkExtension/NEFilterManager.d.ts +4 -4
  976. package/dist/NetworkExtension/NEFilterPacketProvider.d.ts +5 -2
  977. package/dist/NetworkExtension/NEFilterProvider.d.ts +3 -3
  978. package/dist/NetworkExtension/NEHotspotConfigurationManager.d.ts +6 -5
  979. package/dist/NetworkExtension/NEHotspotHelper.d.ts +2 -2
  980. package/dist/NetworkExtension/NEHotspotNetwork.d.ts +1 -2
  981. package/dist/NetworkExtension/NEPacketTunnelFlow.d.ts +2 -3
  982. package/dist/NetworkExtension/NEPacketTunnelProvider.d.ts +2 -2
  983. package/dist/NetworkExtension/NEProvider.d.ts +2 -2
  984. package/dist/NetworkExtension/NERelayManager.d.ts +6 -6
  985. package/dist/NetworkExtension/NETransparentProxyManager.d.ts +3 -2
  986. package/dist/NetworkExtension/NETunnelProvider.d.ts +3 -3
  987. package/dist/NetworkExtension/NETunnelProviderManager.d.ts +2 -2
  988. package/dist/NetworkExtension/NETunnelProviderSession.d.ts +1 -1
  989. package/dist/NetworkExtension/NEURLFilter.d.ts +2 -2
  990. package/dist/NetworkExtension/NEVPNConnection.d.ts +2 -1
  991. package/dist/NetworkExtension/NEVPNManager.d.ts +4 -3
  992. package/dist/NetworkExtension/NWTCPConnection.d.ts +3 -4
  993. package/dist/NetworkExtension/NWTCPConnectionAuthenticationDelegate.d.ts +2 -2
  994. package/dist/NetworkExtension/NWUDPSession.d.ts +4 -4
  995. package/dist/NetworkExtension/index.d.ts +1 -0
  996. package/dist/NetworkExtension/index.js +1 -0
  997. package/dist/NotificationCenter/NCWidgetProviding.d.ts +2 -2
  998. package/dist/PHASE/PHASEAssetError.d.ts +9 -0
  999. package/dist/PHASE/PHASEAssetError.js +9 -0
  1000. package/dist/PHASE/PHASEAssetRegistry.d.ts +1 -1
  1001. package/dist/PHASE/PHASEError.d.ts +5 -0
  1002. package/dist/PHASE/PHASEError.js +5 -0
  1003. package/dist/PHASE/PHASEPullStreamNode.d.ts +2 -2
  1004. package/dist/PHASE/PHASEPushStreamNode.d.ts +2 -3
  1005. package/dist/PHASE/PHASESoundEvent.d.ts +8 -5
  1006. package/dist/PHASE/PHASESoundEventError.d.ts +9 -0
  1007. package/dist/PHASE/PHASESoundEventError.js +9 -0
  1008. package/dist/PHASE/index.d.ts +3 -0
  1009. package/dist/PHASE/index.js +3 -0
  1010. package/dist/ParavirtualizedGraphics/PGDeviceDescriptor.d.ts +16 -16
  1011. package/dist/ParavirtualizedGraphics/PGDisplay.d.ts +6 -6
  1012. package/dist/ParavirtualizedGraphics/PGDisplayDescriptor.d.ts +12 -11
  1013. package/dist/PassKit/PKAddIdentityDocumentConfiguration.d.ts +2 -2
  1014. package/dist/PassKit/PKAddSecureElementPassErrorCode.d.ts +11 -0
  1015. package/dist/PassKit/PKAddSecureElementPassErrorCode.js +11 -0
  1016. package/dist/PassKit/PKAddShareablePassConfiguration.d.ts +3 -3
  1017. package/dist/PassKit/PKDisbursementErrorCode.d.ts +6 -0
  1018. package/dist/PassKit/PKDisbursementErrorCode.js +6 -0
  1019. package/dist/PassKit/PKIdentityAuthorizationController.d.ts +4 -3
  1020. package/dist/PassKit/PKIdentityError.d.ts +12 -0
  1021. package/dist/PassKit/PKIdentityError.js +12 -0
  1022. package/dist/PassKit/PKIssuerProvisioningExtensionAuthorizationProviding.d.ts +3 -3
  1023. package/dist/PassKit/PKIssuerProvisioningExtensionHandler.d.ts +6 -5
  1024. package/dist/PassKit/PKPassKitErrorCode.d.ts +8 -0
  1025. package/dist/PassKit/PKPassKitErrorCode.js +8 -0
  1026. package/dist/PassKit/PKPassLibrary.d.ts +13 -10
  1027. package/dist/PassKit/PKPaymentAuthorizationController.d.ts +2 -3
  1028. package/dist/PassKit/PKPaymentAuthorizationControllerDelegate.d.ts +18 -11
  1029. package/dist/PassKit/PKPaymentAuthorizationViewControllerDelegate.d.ts +18 -11
  1030. package/dist/PassKit/PKPaymentErrorCode.d.ts +9 -0
  1031. package/dist/PassKit/PKPaymentErrorCode.js +9 -0
  1032. package/dist/PassKit/PKPaymentInformationRequestHandling.d.ts +5 -4
  1033. package/dist/PassKit/PKShareSecureElementPassErrorCode.d.ts +5 -0
  1034. package/dist/PassKit/PKShareSecureElementPassErrorCode.js +5 -0
  1035. package/dist/PassKit/PKVehicleConnectionSession.d.ts +2 -1
  1036. package/dist/PassKit/index.d.ts +6 -0
  1037. package/dist/PassKit/index.js +6 -0
  1038. package/dist/PencilKit/PKStrokePath.d.ts +3 -3
  1039. package/dist/Photos/PHAsset.d.ts +3 -1
  1040. package/dist/Photos/PHAssetResourceManager.d.ts +4 -3
  1041. package/dist/Photos/PHAssetResourceRequestOptions.d.ts +2 -3
  1042. package/dist/Photos/PHContentEditingInputRequestOptions.d.ts +5 -4
  1043. package/dist/Photos/PHFetchResult.d.ts +3 -3
  1044. package/dist/Photos/PHFetchResultChangeDetails.d.ts +1 -2
  1045. package/dist/Photos/PHImageManager.d.ts +16 -7
  1046. package/dist/Photos/PHImageRequestOptions.d.ts +4 -2
  1047. package/dist/Photos/PHLivePhoto.d.ts +2 -2
  1048. package/dist/Photos/PHLivePhotoEditingContext.d.ts +7 -4
  1049. package/dist/Photos/PHLivePhotoRequestOptions.d.ts +4 -2
  1050. package/dist/Photos/PHPersistentChangeFetchResult.d.ts +2 -1
  1051. package/dist/Photos/PHPhotoLibrary.d.ts +4 -4
  1052. package/dist/Photos/PHPhotosError.d.ts +25 -0
  1053. package/dist/Photos/PHPhotosError.js +25 -0
  1054. package/dist/Photos/PHVideoRequestOptions.d.ts +4 -2
  1055. package/dist/Photos/index.d.ts +1 -0
  1056. package/dist/Photos/index.js +1 -0
  1057. package/dist/PhotosUI/PHContentEditingController.d.ts +2 -2
  1058. package/dist/PhotosUI/PHProjectExtensionContext.d.ts +1 -2
  1059. package/dist/PhotosUI/PHProjectExtensionController.d.ts +4 -4
  1060. package/dist/PushKit/PKPushRegistryDelegate.d.ts +1 -2
  1061. package/dist/QuartzCore/CATransaction.d.ts +2 -2
  1062. package/dist/QuickLookThumbnailing/QLThumbnailError.d.ts +9 -0
  1063. package/dist/QuickLookThumbnailing/QLThumbnailError.js +9 -0
  1064. package/dist/QuickLookThumbnailing/QLThumbnailGenerator.d.ts +7 -5
  1065. package/dist/QuickLookThumbnailing/QLThumbnailProvider.d.ts +3 -2
  1066. package/dist/QuickLookThumbnailing/QLThumbnailReply.d.ts +2 -2
  1067. package/dist/QuickLookThumbnailing/index.d.ts +1 -0
  1068. package/dist/QuickLookThumbnailing/index.js +1 -0
  1069. package/dist/QuickLookUI/QLPreviewReply.d.ts +5 -3
  1070. package/dist/QuickLookUI/QLPreviewingController.d.ts +5 -4
  1071. package/dist/ReplayKit/RPBroadcastActivityController.d.ts +2 -2
  1072. package/dist/ReplayKit/RPBroadcastController.d.ts +3 -3
  1073. package/dist/ReplayKit/RPScreenRecorder.d.ts +13 -10
  1074. package/dist/SafariServices/SFContentBlockerManager.d.ts +4 -3
  1075. package/dist/SafariServices/SFSafariApplication.d.ts +10 -7
  1076. package/dist/SafariServices/SFSafariExtension.d.ts +2 -2
  1077. package/dist/SafariServices/SFSafariExtensionHandling.d.ts +3 -4
  1078. package/dist/SafariServices/SFSafariExtensionManager.d.ts +3 -2
  1079. package/dist/SafariServices/SFSafariPage.d.ts +6 -4
  1080. package/dist/SafariServices/SFSafariTab.d.ts +7 -5
  1081. package/dist/SafariServices/SFSafariWindow.d.ts +7 -5
  1082. package/dist/SafetyKit/SACrashDetectionManager.d.ts +2 -2
  1083. package/dist/SafetyKit/SAEmergencyResponseManager.d.ts +2 -2
  1084. package/dist/SafetyKit/SAErrorCode.d.ts +7 -0
  1085. package/dist/SafetyKit/SAErrorCode.js +7 -0
  1086. package/dist/SafetyKit/index.d.ts +1 -0
  1087. package/dist/SafetyKit/index.js +1 -0
  1088. package/dist/SceneKit/SCNAction.d.ts +6 -6
  1089. package/dist/SceneKit/SCNActionable.d.ts +2 -3
  1090. package/dist/SceneKit/SCNAnimation.d.ts +5 -5
  1091. package/dist/SceneKit/SCNAnimationEvent.d.ts +2 -1
  1092. package/dist/SceneKit/SCNAudioPlayer.d.ts +4 -5
  1093. package/dist/SceneKit/SCNNode.d.ts +3 -3
  1094. package/dist/SceneKit/SCNParticleSystem.d.ts +2 -2
  1095. package/dist/SceneKit/SCNPhysicsField.d.ts +1 -2
  1096. package/dist/SceneKit/SCNProgram.d.ts +5 -2
  1097. package/dist/SceneKit/SCNScene.d.ts +2 -1
  1098. package/dist/SceneKit/SCNSceneRenderer.d.ts +3 -3
  1099. package/dist/SceneKit/SCNSceneSource.d.ts +4 -2
  1100. package/dist/SceneKit/SCNShadable.d.ts +4 -3
  1101. package/dist/SceneKit/SCNTechnique.d.ts +3 -1
  1102. package/dist/SceneKit/SCNTransaction.d.ts +2 -2
  1103. package/dist/SceneKit/SCNTransformConstraint.d.ts +7 -4
  1104. package/dist/ScreenCaptureKit/SCScreenshotManager.d.ts +7 -5
  1105. package/dist/ScreenCaptureKit/SCShareableContent.d.ts +6 -6
  1106. package/dist/ScreenCaptureKit/SCStream.d.ts +5 -4
  1107. package/dist/ScreenCaptureKit/SCStreamErrorCode.d.ts +24 -0
  1108. package/dist/ScreenCaptureKit/SCStreamErrorCode.js +24 -0
  1109. package/dist/ScreenCaptureKit/index.d.ts +1 -0
  1110. package/dist/ScreenCaptureKit/index.js +1 -0
  1111. package/dist/ScreenTime/STWebHistory.d.ts +4 -2
  1112. package/dist/SecurityUI/SFCertificatePresentation.d.ts +1 -1
  1113. package/dist/SensitiveContentAnalysis/SCSensitivityAnalyzer.d.ts +5 -4
  1114. package/dist/SensitiveContentAnalysis/SCVideoStreamAnalyzer.d.ts +3 -2
  1115. package/dist/SensorKit/SRErrorCode.d.ts +8 -0
  1116. package/dist/SensorKit/SRErrorCode.js +8 -0
  1117. package/dist/SensorKit/SRSensorReader.d.ts +2 -2
  1118. package/dist/SensorKit/index.d.ts +1 -0
  1119. package/dist/SensorKit/index.js +1 -0
  1120. package/dist/ServiceManagement/SMAppService.d.ts +2 -1
  1121. package/dist/SharedWithYou/SWCollaborationView.d.ts +1 -2
  1122. package/dist/SharedWithYou/SWHighlightCenter.d.ts +6 -3
  1123. package/dist/ShazamKit/SHErrorCode.d.ts +13 -0
  1124. package/dist/ShazamKit/SHErrorCode.js +13 -0
  1125. package/dist/ShazamKit/SHMediaItem.d.ts +2 -1
  1126. package/dist/ShazamKit/SHMediaLibrary.d.ts +2 -2
  1127. package/dist/ShazamKit/SHSignatureGenerator.d.ts +2 -1
  1128. package/dist/ShazamKit/index.d.ts +1 -0
  1129. package/dist/ShazamKit/index.js +1 -0
  1130. package/dist/Social/SLRequest.d.ts +3 -2
  1131. package/dist/SoundAnalysis/SNAudioFileAnalyzer.d.ts +1 -1
  1132. package/dist/SoundAnalysis/SNErrorCode.d.ts +8 -0
  1133. package/dist/SoundAnalysis/SNErrorCode.js +8 -0
  1134. package/dist/SoundAnalysis/index.d.ts +1 -0
  1135. package/dist/SoundAnalysis/index.js +1 -0
  1136. package/dist/Speech/SFSpeechErrorCode.d.ts +9 -0
  1137. package/dist/Speech/SFSpeechErrorCode.js +9 -0
  1138. package/dist/Speech/SFSpeechLanguageModel.d.ts +5 -5
  1139. package/dist/Speech/SFSpeechRecognizer.d.ts +4 -3
  1140. package/dist/Speech/index.d.ts +1 -0
  1141. package/dist/Speech/index.js +1 -0
  1142. package/dist/SpriteKit/SKAction.d.ts +5 -5
  1143. package/dist/SpriteKit/SKFieldNode.d.ts +1 -1
  1144. package/dist/SpriteKit/SKMutableTexture.d.ts +1 -1
  1145. package/dist/SpriteKit/SKNode.d.ts +2 -2
  1146. package/dist/SpriteKit/SKPhysicsWorld.d.ts +3 -3
  1147. package/dist/SpriteKit/SKTexture.d.ts +2 -2
  1148. package/dist/SpriteKit/SKTextureAtlas.d.ts +4 -4
  1149. package/dist/StoreKit/SKANError.d.ts +15 -0
  1150. package/dist/StoreKit/SKANError.js +15 -0
  1151. package/dist/StoreKit/SKAdNetwork.d.ts +6 -6
  1152. package/dist/StoreKit/SKArcadeService.d.ts +3 -3
  1153. package/dist/StoreKit/SKCloudServiceController.d.ts +8 -7
  1154. package/dist/StoreKit/SKCloudServiceSetupViewController.d.ts +2 -2
  1155. package/dist/StoreKit/SKDownload.d.ts +3 -3
  1156. package/dist/StoreKit/SKDownloadState.d.ts +9 -0
  1157. package/dist/StoreKit/SKDownloadState.js +9 -0
  1158. package/dist/StoreKit/SKOverlayTransitionContext.d.ts +1 -2
  1159. package/dist/StoreKit/SKProductStorePromotionController.d.ts +6 -5
  1160. package/dist/StoreKit/SKProductStorePromotionVisibility.d.ts +6 -0
  1161. package/dist/StoreKit/SKProductStorePromotionVisibility.js +6 -0
  1162. package/dist/StoreKit/SKStoreProductViewController.d.ts +3 -3
  1163. package/dist/StoreKit/index.d.ts +3 -0
  1164. package/dist/StoreKit/index.js +3 -0
  1165. package/dist/SystemExtensions/OSSystemExtensionErrorCode.d.ts +16 -0
  1166. package/dist/SystemExtensions/OSSystemExtensionErrorCode.js +16 -0
  1167. package/dist/SystemExtensions/index.d.ts +1 -0
  1168. package/dist/SystemExtensions/index.js +1 -0
  1169. package/dist/ThreadNetwork/THClient.d.ts +12 -10
  1170. package/dist/UserNotifications/UNNotificationServiceExtension.d.ts +2 -2
  1171. package/dist/UserNotifications/UNUserNotificationCenter.d.ts +9 -8
  1172. package/dist/UserNotifications/UNUserNotificationCenterDelegate.d.ts +3 -3
  1173. package/dist/UserNotificationsUI/UNNotificationContentExtension.d.ts +2 -2
  1174. package/dist/VideoSubscriberAccount/VSAccountManager.d.ts +5 -3
  1175. package/dist/VideoSubscriberAccount/VSUserAccountManager.d.ts +7 -5
  1176. package/dist/VideoToolbox/VTFrameProcessor.d.ts +4 -2
  1177. package/dist/VideoToolbox/VTFrameProcessorError.d.ts +17 -0
  1178. package/dist/VideoToolbox/VTFrameProcessorError.js +17 -0
  1179. package/dist/VideoToolbox/VTSuperResolutionScalerConfiguration.d.ts +2 -2
  1180. package/dist/VideoToolbox/functions.d.ts +10 -10
  1181. package/dist/VideoToolbox/functions.js +10 -10
  1182. package/dist/VideoToolbox/index.d.ts +1 -0
  1183. package/dist/VideoToolbox/index.js +1 -0
  1184. package/dist/Virtualization/VZErrorCode.d.ts +28 -0
  1185. package/dist/Virtualization/VZErrorCode.js +28 -0
  1186. package/dist/Virtualization/VZLinuxRosettaDirectoryShare.d.ts +2 -1
  1187. package/dist/Virtualization/VZMacOSInstaller.d.ts +2 -2
  1188. package/dist/Virtualization/VZMacOSRestoreImage.d.ts +3 -3
  1189. package/dist/Virtualization/VZUSBController.d.ts +3 -3
  1190. package/dist/Virtualization/VZVirtioSocketDevice.d.ts +3 -2
  1191. package/dist/Virtualization/VZVirtualMachine.d.ts +8 -7
  1192. package/dist/Virtualization/index.d.ts +1 -0
  1193. package/dist/Virtualization/index.js +1 -0
  1194. package/dist/Vision/VNBarcodeCompositeType.d.ts +8 -0
  1195. package/dist/Vision/VNBarcodeCompositeType.js +8 -0
  1196. package/dist/Vision/VNBarcodeObservation.d.ts +2 -2
  1197. package/dist/Vision/VNChirality.d.ts +6 -0
  1198. package/dist/Vision/VNChirality.js +6 -0
  1199. package/dist/Vision/VNCoreMLRequest.d.ts +3 -2
  1200. package/dist/Vision/VNDetectHumanBodyPose3DRequest.d.ts +3 -1
  1201. package/dist/Vision/VNDetectTrajectoriesRequest.d.ts +3 -2
  1202. package/dist/Vision/VNFaceLandmarkRegion2D.d.ts +2 -1
  1203. package/dist/Vision/VNGeneratePersonSegmentationRequest.d.ts +3 -1
  1204. package/dist/Vision/VNHumanHandPoseObservation.d.ts +2 -1
  1205. package/dist/Vision/VNPointsClassification.d.ts +6 -0
  1206. package/dist/Vision/VNPointsClassification.js +6 -0
  1207. package/dist/Vision/VNRequest.d.ts +3 -2
  1208. package/dist/Vision/VNRequestProgressProviding.d.ts +4 -3
  1209. package/dist/Vision/VNStatefulRequest.d.ts +3 -2
  1210. package/dist/Vision/VNTargetedImageRequest.d.ts +14 -12
  1211. package/dist/Vision/VNTrackHomographicImageRegistrationRequest.d.ts +3 -2
  1212. package/dist/Vision/VNTrackObjectRequest.d.ts +3 -2
  1213. package/dist/Vision/VNTrackOpticalFlowRequest.d.ts +3 -2
  1214. package/dist/Vision/VNTrackRectangleRequest.d.ts +3 -2
  1215. package/dist/Vision/VNTrackTranslationalImageRegistrationRequest.d.ts +3 -2
  1216. package/dist/Vision/index.d.ts +3 -0
  1217. package/dist/Vision/index.js +3 -0
  1218. package/dist/WebKit/WKContentRuleListStore.d.ts +7 -5
  1219. package/dist/WebKit/WKDownload.d.ts +2 -1
  1220. package/dist/WebKit/WKDownloadDelegate.d.ts +9 -5
  1221. package/dist/WebKit/WKHTTPCookieStore.d.ts +6 -6
  1222. package/dist/WebKit/WKNavigationDelegate.d.ts +10 -6
  1223. package/dist/WebKit/WKScriptMessageHandlerWithReply.d.ts +2 -1
  1224. package/dist/WebKit/WKUIDelegate.d.ts +8 -6
  1225. package/dist/WebKit/WKWebExtension.d.ts +3 -3
  1226. package/dist/WebKit/WKWebExtensionContext.d.ts +2 -2
  1227. package/dist/WebKit/WKWebExtensionContextError.d.ts +9 -0
  1228. package/dist/WebKit/WKWebExtensionContextError.js +9 -0
  1229. package/dist/WebKit/WKWebExtensionController.d.ts +4 -3
  1230. package/dist/WebKit/WKWebExtensionControllerDelegate.d.ts +11 -9
  1231. package/dist/WebKit/WKWebExtensionDataRecordError.d.ts +7 -0
  1232. package/dist/WebKit/WKWebExtensionDataRecordError.js +7 -0
  1233. package/dist/WebKit/WKWebExtensionError.d.ts +12 -0
  1234. package/dist/WebKit/WKWebExtensionError.js +12 -0
  1235. package/dist/WebKit/WKWebExtensionMatchPatternError.d.ts +7 -0
  1236. package/dist/WebKit/WKWebExtensionMatchPatternError.js +7 -0
  1237. package/dist/WebKit/WKWebExtensionMessagePort.d.ts +5 -5
  1238. package/dist/WebKit/WKWebExtensionMessagePortError.d.ts +6 -0
  1239. package/dist/WebKit/WKWebExtensionMessagePortError.js +6 -0
  1240. package/dist/WebKit/WKWebExtensionTab.d.ts +18 -16
  1241. package/dist/WebKit/WKWebExtensionWindow.d.ts +5 -5
  1242. package/dist/WebKit/WKWebView.d.ts +26 -21
  1243. package/dist/WebKit/WKWebsiteDataStore.d.ts +8 -7
  1244. package/dist/WebKit/index.d.ts +5 -0
  1245. package/dist/WebKit/index.js +5 -0
  1246. package/dist/bind.js +4 -0
  1247. package/dist/helpers.d.ts +26 -0
  1248. package/dist/helpers.js +44 -0
  1249. package/dist/iTunesLibrary/ITLibMediaEntity.d.ts +2 -2
  1250. package/generator/ast-parser.ts +371 -5
  1251. package/generator/custom.ts +6 -0
  1252. package/generator/discover.ts +39 -2
  1253. package/generator/emitter.ts +41 -33
  1254. package/generator/index.ts +1 -1
  1255. package/generator/parse-worker.ts +28 -0
  1256. package/generator/templates/bind.ts +4 -0
  1257. package/generator/templates/helpers.ts +53 -0
  1258. package/generator/type-mapper.ts +276 -15
  1259. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
- import type { NobjcObject } from "objc-js";
2
1
  import type { _NSArray } from "../Foundation/NSArray.js";
3
2
  import type { _NSCopying } from "../Foundation/NSCopying.js";
3
+ import type { _NSError } from "../Foundation/NSError.js";
4
4
  import type { _NSObject } from "../Foundation/NSObject.js";
5
5
  import type { _NSString } from "../Foundation/NSString.js";
6
6
  import type { _AVAsset } from "./AVAsset.js";
@@ -29,7 +29,7 @@ export declare class _AVAssetTrack extends _NSObject {
29
29
  /**
30
30
  * Loads the AVAssetTrackSegment from the segments array with a target timeRange that either contains the specified track time or is the closest to it among the target timeRanges of the track's segments. If the trackTime does not map to a sample presentation time (e.g. it's outside the track's timeRange), the segment closest in time to the specified trackTime is returned. - Parameter trackTime: The trackTime for which an AVAssetTrackSegment is requested. - Parameter completionHandler: A block that is invoked when loading is complete, vending an AVAssetTrackSegment or an error.
31
31
  */
32
- loadSegmentForTrackTime$completionHandler$(trackTime: CMTime, completionHandler: NobjcObject | null): void;
32
+ loadSegmentForTrackTime$completionHandler$(trackTime: CMTime, completionHandler: ((_Nullable_result: _AVAssetTrackSegment, arg1: _NSError) => void) | null): void;
33
33
  /**
34
34
  * Maps the specified trackTime through the appropriate time mapping and returns the resulting sample presentation time. - Parameter trackTime: The trackTime for which a sample presentation time is requested. - Returns: A CMTime; will be invalid if the trackTime is out of range
35
35
  * @deprecated Use loadSamplePresentationTime(forTrackTime:) instead
@@ -38,7 +38,7 @@ export declare class _AVAssetTrack extends _NSObject {
38
38
  /**
39
39
  * Maps the specified trackTime through the appropriate time mapping and loads the resulting sample presentation time. - Parameter trackTime: The trackTime for which a sample presentation time is requested. - Parameter completionHandler: A block that is invoked when loading is complete, vending a CMTime (which will be invalid if the trackTime is out of range) or an error.
40
40
  */
41
- loadSamplePresentationTimeForTrackTime$completionHandler$(trackTime: CMTime, completionHandler: NobjcObject | null): void;
41
+ loadSamplePresentationTimeForTrackTime$completionHandler$(trackTime: CMTime, completionHandler: ((arg0: CMTime, arg1: _NSError) => void) | null): void;
42
42
  /**
43
43
  * Provides an NSArray of AVMetadataItems, one for each metadata item in the container of the specified format. Becomes callable without blocking when the key @"availableMetadataFormats" has been loaded - Parameter format: The metadata format for which items are requested. - Returns: An NSArray containing AVMetadataItems.
44
44
  * @deprecated Use loadMetadata(for:) instead
@@ -47,7 +47,7 @@ export declare class _AVAssetTrack extends _NSObject {
47
47
  /**
48
48
  * Loads an NSArray of AVMetadataItems, one for each metadata item in the container of the specified format. - Parameter format: The metadata format for which items are requested. - Parameter completionHandler: A block that is invoked when loading is complete, vending the array of metadata items (which may be empty if there is no metadata of the specified format) or an error.
49
49
  */
50
- loadMetadataForFormat$completionHandler$(format: AVMetadataFormat, completionHandler: NobjcObject | null): void;
50
+ loadMetadataForFormat$completionHandler$(format: AVMetadataFormat, completionHandler: ((arg0: _NSArray, arg1: _NSError) => void) | null): void;
51
51
  /**
52
52
  * Provides an NSArray of AVAssetTracks, one for each track associated with the receiver with the specified type of track association. Becomes callable without blocking when the key @"availableTrackAssociationTypes" has been loaded. - Parameter trackAssociationType: The type of track association for which associated tracks are requested. - Returns: An NSArray containing AVAssetTracks; may be empty if there is no associated tracks of the specified type.
53
53
  * @deprecated Use loadAssociatedTracks(ofType:) instead
@@ -56,7 +56,7 @@ export declare class _AVAssetTrack extends _NSObject {
56
56
  /**
57
57
  * Provides an NSArray of AVAssetTracks, one for each track associated with the receiver with the specified type of track association. - Parameter trackAssociationType: The type of track association for which associated tracks are requested. - Parameter completionHandler: A block that is invoked when loading is comlete, vending an array of tracks (which may be empty if there is no associated tracks of the specified type) or an error. `
58
58
  */
59
- loadAssociatedTracksOfType$completionHandler$(trackAssociationType: AVTrackAssociationType, completionHandler: NobjcObject | null): void;
59
+ loadAssociatedTracksOfType$completionHandler$(trackAssociationType: AVTrackAssociationType, completionHandler: ((arg0: _NSArray, arg1: _NSError) => void) | null): void;
60
60
  /**
61
61
  * Creates an instance of AVSampleCursor and positions it at or near the specified presentation timestamp. If the receiver's asset has a value of YES for providesPreciseDurationAndTiming, the sample cursor will be accurately positioned at the receiver's last media sample with presentation timestamp less than or equal to the desired timestamp, or, if there are no such samples, the first sample in presentation order. If the receiver's asset has a value of NO for providesPreciseDurationAndTiming, and it is prohibitively expensive to locate the precise sample at the desired timestamp, the sample cursor may be approximately positioned. This method will return nil if there are no samples in the track. - Parameter presentationTimeStamp: The desired initial presentation timestamp of the returned AVSampleCursor. - Returns: An instance of AVSampleCursor.
62
62
  */
@@ -66,7 +66,7 @@ export declare class _AVAssetWriter extends _NSObject {
66
66
  /**
67
67
  * Marks all unfinished inputs as finished and completes the writing of the output file. This method returns immediately and causes its work to be performed asynchronously. When the writing of the output file is finished, or if a failure or a cancellation occurs in the meantime, the specified handler will be invoked to indicate completion of the operation. To determine whether the operation succeeded, your handler can check the value of AVAssetWriter.status. If the status is AVAssetWriterStatusFailed, AVAsset.error will contain an instance of NSError that describes the failure. To guarantee that all sample buffers are successfully written, ensure all calls to -[AVAssetWriterInput appendSampleBuffer:] or -[AVAssetWriterInputPixelBufferAdaptor appendPixelBuffer:withPresentationTime:] have returned before invoking this method.
68
68
  */
69
- finishWritingWithCompletionHandler$(handler: NobjcObject): void;
69
+ finishWritingWithCompletionHandler$(handler: () => void): void;
70
70
  /**
71
71
  * Tests whether an input group can be added to the receiver. The AVAssetWriterInputGroup object to be tested. A BOOL indicating whether the input group can be added to the receiver. If outputFileType specifies a container format that does not support mutually exclusive relationships among tracks, or if the specified instance of AVAssetWriterInputGroup contains inputs with media types that cannot be related, the group cannot be added to the AVAssetWriter. This method throws an exception if any of the following conditions are satisfied: - this writer's output file type does not support mutually exclusive relationships among tracks (allowed types are AVFileTypeQuickTimeMovie, AVFileTypeAppleM4A, AVFileTypeAppleM4V, AVFileType3GPP, AVFileTypeMPEG4) - any AVAssetWriterInput in the input group is also present in an input group already added
72
72
  */
@@ -33,7 +33,7 @@ export declare class _AVAssetWriterInput extends _NSObject {
33
33
  * Instructs the receiver to invoke a client-supplied block repeatedly, at its convenience, in order to gather media data for writing to the output file. The block should append media data to the input either until the input's readyForMoreMediaData property becomes NO or until there is no more media data to supply (at which point it may choose to mark the input as finished via -markAsFinished). The block should then exit. After the block exits, if the input has not been marked as finished, once the input has processed the media data it has received and becomes ready for more media data again, it will invoke the block again in order to obtain more. A typical use of this method, with a block that supplies media data to an input while respecting the input's readyForMoreMediaData property, might look like this: ```objc [myAVAssetWriterInput requestMediaDataWhenReadyOnQueue:myInputSerialQueue usingBlock:^{ while ([myAVAssetWriterInput isReadyForMoreMediaData]) { CMSampleBufferRef nextSampleBuffer = [self copyNextSampleBufferToWrite]; if (nextSampleBuffer) { [myAVAssetWriterInput appendSampleBuffer:nextSampleBuffer]; CFRelease(nextSampleBuffer); } else { [myAVAssetWriterInput markAsFinished]; break; } } }]; ``` This method is not recommended for use with a push-style buffer source, such as AVCaptureAudioDataOutput or AVCaptureVideoDataOutput, because such a combination will likely require intermediate queueing of buffers. Instead, this method is better suited to a pull-style buffer source such as AVAssetReaderOutput, as illustrated in the above example. When using a push-style buffer source, it is generally better to immediately append each buffer to the AVAssetWriterInput, directly via -[AVAssetWriter appendSampleBuffer:], as it is received. Using this strategy, it is often possible to avoid having to queue up buffers in between the buffer source and the AVAssetWriterInput. Note that many of these push-style buffer sources also produce buffers in real-time, in which case the client should set expectsMediaDataInRealTime to YES. Before calling this method, you must ensure that the receiver is attached to an AVAssetWriter via a prior call to -addInput: and that -startWriting has been called on the asset writer. This method throws an exception if this method is called more than once. - Parameter queue: The queue on which the block should be invoked. - Parameter block: The block the input should invoke to obtain media data.
34
34
  * @deprecated Use the input receiver's async append(...) method on its own task instead
35
35
  */
36
- requestMediaDataWhenReadyOnQueue$usingBlock$(queue: _NSObject, block: NobjcObject): void;
36
+ requestMediaDataWhenReadyOnQueue$usingBlock$(queue: _NSObject, block: () => void): void;
37
37
  /**
38
38
  * Appends samples to the receiver. The timing information in the sample buffer, considered relative to the time passed to -[AVAssetWriter startSessionAtSourceTime:], will be used to determine the timing of those samples in the output file. For track types other than audio tracks, to determine the duration of all samples in the output file other than the very last sample that's appended, the difference between the sample buffer's output DTS and the following sample buffer's output DTS will be used. The duration of the last sample is determined as follows: 1. If a marker sample buffer with kCMSampleBufferAttachmentKey_EndsPreviousSampleDuration is appended following the last media-bearing sample, the difference between the output DTS of the marker sample buffer and the output DTS of the last media-bearing sample will be used. 2. If the marker sample buffer is not provided and if the output duration of the last media-bearing sample is valid, it will be used. 3. if the output duration of the last media-bearing sample is not valid, the duration of the second-to-last sample will be used. For audio tracks, the properties of each appended sample buffer are used to determine corresponding output durations. The receiver will retain the CMSampleBuffer until it is done with it, and then release it. Do not modify a CMSampleBuffer or its contents after you have passed it to this method. If the sample buffer contains audio data and the AVAssetWriterInput was intialized with an outputSettings dictionary then the format must be linear PCM. If the outputSettings dictionary was nil then audio data can be provided in a compressed format, and it will be passed through to the output without any re-compression. Note that advanced formats like AAC will have encoder delay present in their bitstreams. This data is inserted by the encoder and is necessary for proper decoding, but it is not meant to be played back. Clients who provide compressed audio bitstreams must use kCMSampleBufferAttachmentKey_TrimDurationAtStart to mark the encoder delay (generally restricted to the first sample buffer). Packetization can cause there to be extra audio frames in the last packet which are not meant to be played back. These remainder frames should be marked with kCMSampleBufferAttachmentKey_TrimDurationAtEnd. CMSampleBuffers obtained from AVAssetReader will already have the necessary trim attachments. Please see http://developer.apple.com/mac/library/technotes/tn2009/tn2258.html for more information about encoder delay. When attaching trims make sure that the output PTS of the sample buffer is what you expect. For example if you called -[AVAssetWriter startSessionAtSourceTime:kCMTimeZero] and you want your audio to start at time zero in the output file then make sure that the output PTS of the first non-fully trimmed audio sample buffer is kCMTimeZero. If the sample buffer contains a CVPixelBuffer then the choice of pixel format will affect the performance and quality of the encode. For optimal performance the format of the pixel buffer should match one of the native formats supported by the selected video encoder. Below are some recommendations: The H.264 and HEVC encoders natively support kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange and kCVPixelFormatType_420YpCbCr8BiPlanarFullRange, which should be used with 8-bit 4:2:0 video and full range input respectively; other related pixel formats in CoreVideo/CVPixelBuffer.h are ideal for 4:2:2 and 4:4:4 (and for HEVC, 10-bit). The JPEG encoder on iOS and Apple Silicon macOS natively supports kCVPixelFormatType_422YpCbCr8FullRange. If you need to work in the RGB domain then kCVPixelFormatType_32BGRA is recommended on iOS and macOS. Pixel buffers not in a natively supported format will be converted internally prior to encoding when possible. Pixel format conversions within the same range (video or full) are generally faster than conversions between different ranges. The ProRes encoders can preserve high bit depth sources, supporting up to 12bits/ch. ProRes 4444 can contain a mathematically lossless alpha channel and it doesn't do any chroma subsampling. This makes ProRes 4444 ideal for quality critical applications. If you are working with 8bit sources ProRes is also a good format to use due to its high image quality. Use either of the recommended pixel formats above. Note that RGB pixel formats by definition have 4:4:4 chroma sampling. If you are working with high bit depth sources the following yuv pixel formats are recommended when encoding to ProRes: kCVPixelFormatType_4444AYpCbCr16, kCVPixelFormatType_422YpCbCr16, and kCVPixelFormatType_422YpCbCr10. When working in the RGB domain kCVPixelFormatType_64ARGB is recommended. Scaling and color matching are not currently supported when using AVAssetWriter with any of these high bit depth pixel formats. Please make sure that your track's output settings dictionary specifies the same width and height as the buffers you will be appending. Do not include AVVideoScalingModeKey or AVVideoColorPropertiesKey. As of macOS 10.10 and iOS 8.0, this method can be used to add sample buffers that reference existing data in a file instead of containing media data to be appended to the file. This can be used to generate tracks that are not self-contained. In order to append such a sample reference to the track create a CMSampleBufferRef with a NULL dataBuffer and dataReady set to true and set the kCMSampleBufferAttachmentKey_SampleReferenceURL and kCMSampleBufferAttachmentKey_SampleReferenceByteOffset attachments on the sample buffer. Further documentation on how to create such a "sample reference" sample buffer can be found in the description of the kCMSampleBufferAttachmentKey_SampleReferenceURL and kCMSampleBufferAttachmentKey_SampleReferenceByteOffset attachment keys in the CMSampleBuffer documentation. Before calling this method, you must ensure that the receiver is attached to an AVAssetWriter via a prior call to -addInput: and that -startWriting has been called on the asset writer. It is an error to invoke this method before starting a session (via -[AVAssetWriter startSessionAtSourceTime:]) or after ending a session (via -[AVAssetWriter endSessionAtSourceTime:]). This method throws an exception if the sample buffer's media type does not match the asset writer input's media type. - Parameter sampleBuffer: The CMSampleBuffer to be appended. - Returns: A BOOL value indicating success of appending the sample buffer. If a result of NO is returned, clients can check the value of AVAssetWriter.status to determine whether the writing operation completed, failed, or was cancelled. If the status is AVAssetWriterStatusFailed, AVAsset.error will contain an instance of NSError that describes the failure.
39
39
  * @deprecated Use SampleBufferReceiver.append(_:) instead
@@ -54,7 +54,7 @@ export declare class _AVAssetWriterInput extends _NSObject {
54
54
  /**
55
55
  * Instructs the receiver to invoke a client-supplied block whenever a new pass has begun. A typical block passed to this method will perform the following steps: 1. Query the value of the receiver's currentPassDescription property and reconfigure the source of media data (e.g. AVAssetReader) accordingly 2. Call -requestMediaDataWhenReadyOnQueue:usingBlock: to begin appending data for the current pass 3. Exit When all media data has been appended for the current request, call -markCurrentPassAsFinished to begin the process of determining whether an additional pass is warranted. If an additional pass is warranted, the block passed to this method will be invoked to begin the next pass. If no additional passes are needed, the block passed to this method will be invoked one final time so the client can invoke -markAsFinished in response to the value of currentPassDescription becoming nil. Before calling this method, you must ensure that the receiver is attached to an AVAssetWriter via a prior call to -addInput: and that -startWriting has been called on the asset writer. This method throws an exception if called more than once. - Parameter queue: The queue on which the block should be invoked. - Parameter block: A block the receiver should invoke whenever a new pass has begun.
56
56
  */
57
- respondToEachPassDescriptionOnQueue$usingBlock$(queue: _NSObject, block: NobjcObject): void;
57
+ respondToEachPassDescriptionOnQueue$usingBlock$(queue: _NSObject, block: () => void): void;
58
58
  /**
59
59
  * Instructs the receiver to analyze the media data that has been appended and determine whether the results could be improved by re-encoding certain segments. When the value of canPerformMultiplePasses is YES, call this method after you have appended all of your media data. After the receiver analyzes whether an additional pass is warranted, the value of currentPassDescription will change (usually asynchronously) to describe how to set up for the next pass. Although it is possible to use key-value observing to determine when the value of currentPassDescription has changed, it is typically more convenient to invoke -respondToEachPassDescriptionOnQueue:usingBlock: in order to start the work for each pass. After re-appending the media data for all of the time ranges of the new pass, call this method again to determine whether additional segments should be re-appended in another pass. Calling this method effectively cancels any previous invocation of -requestMediaDataWhenReadyOnQueue:usingBlock:, meaning that -requestMediaDataWhenReadyOnQueue:usingBlock: can be invoked again for each new pass. -respondToEachPassDescriptionOnQueue:usingBlock: provides a convenient way to consolidate these invocations in your code. After each pass, you have the option of keeping the most recent results by calling -markAsFinished instead of this method. If the value of currentPassDescription is nil at the beginning of a pass, call -markAsFinished to tell the receiver to not expect any further media data. If the value of canPerformMultiplePasses is NO, the value of currentPassDescription will immediately become nil after calling this method. Before calling this method, you must ensure that the receiver is attached to an AVAssetWriter via a prior call to -addInput: and that -startWriting has been called on the asset writer.
60
60
  */
@@ -7,5 +7,5 @@ export interface _AVAsynchronousKeyValueLoading {
7
7
  /**
8
8
  * @constant AVCaptureInputPortFormatDescriptionDidChangeNotification @abstract This notification is posted when the value of an AVCaptureInputPort instance's formatDescription property changes. @discussion The notification object is the AVCaptureInputPort instance whose format description changed.
9
9
  */
10
- loadValuesAsynchronouslyForKeys$completionHandler$?(keys: _NSArray, handler: NobjcObject | null): void;
10
+ loadValuesAsynchronouslyForKeys$completionHandler$?(keys: _NSArray, handler: (() => void) | null): void;
11
11
  }
@@ -1,7 +1,7 @@
1
- import type { NobjcObject } from "objc-js";
2
1
  import type { _NSArray } from "../Foundation/NSArray.js";
3
2
  import type { _NSDictionary } from "../Foundation/NSDictionary.js";
4
3
  import type { _NSObject } from "../Foundation/NSObject.js";
4
+ import type { _AVCaptionConversionWarning } from "./AVCaptionConversionWarning.js";
5
5
  import type { CMTimeRange } from "../structs/CMTimeRange.js";
6
6
  import type { AVCaptionConversionValidatorStatus } from "./AVCaptionConversionValidatorStatus.js";
7
7
  export declare class _AVCaptionConversionValidator extends _NSObject {
@@ -19,7 +19,7 @@ export declare class _AVCaptionConversionValidator extends _NSObject {
19
19
  /**
20
20
  * @method validateCaptionConversionWithWarningHandler: @abstract Initiates the specified validation and changes the value of status to AVCaptionConversionValidatorStatusValidating. @param handler Specifies a block to be executed in order to warn you of a specific problem. @discussion It is an error to invoke this method when the value of status is greater than AVCaptionConversionValidatorStatusUnknown. If you wish to stop a validation operation in progress before it has been completed, send the message stopValidating to the receiver. When the validation is complete and all warnings have been reported, the block will be executed once with a value of nil for its warning parameter. When this occurs, the value of status will have been changed to AVCaptionConversionValidatorStatusCompleted.
21
21
  */
22
- validateCaptionConversionWithWarningHandler$(handler: NobjcObject | null): void;
22
+ validateCaptionConversionWithWarningHandler$(handler: ((warning: _AVCaptionConversionWarning) => void) | null): void;
23
23
  /**
24
24
  * @method stopValidating @abstract Stops validation and changes the value of status to AVCaptionConversionValidatorStatusStopped. @discussion You can call this method at any time, even within your warning handler.
25
25
  */
@@ -1,4 +1,4 @@
1
- import type { NobjcObject } from "objc-js";
1
+ import type { _NSError } from "../Foundation/NSError.js";
2
2
  import type { _NSObject } from "../Foundation/NSObject.js";
3
3
  import type { _AVCaptureDeskViewApplicationLaunchConfiguration } from "./AVCaptureDeskViewApplicationLaunchConfiguration.js";
4
4
  export declare class _AVCaptureDeskViewApplication extends _NSObject {
@@ -8,9 +8,9 @@ export declare class _AVCaptureDeskViewApplication extends _NSObject {
8
8
  /**
9
9
  * @method presentWithCompletionHandler: @abstract Presents the Desk View application to the user with no launch configuration. @param completionHandler A block to be called once the Desk View application has been completely launched (or brought to the foreground). @discussion This method allows you to programmatically launch the Desk View application from your own application UI. If the Desk View application is already running, this method brings it to the front. If the Desk View application is minimized in the Dock, this method un-minimizes it and brings it to the front.
10
10
  */
11
- presentWithCompletionHandler$(completionHandler: NobjcObject | null): void;
11
+ presentWithCompletionHandler$(completionHandler: ((error: _NSError) => void) | null): void;
12
12
  /**
13
13
  * @method presentWithLaunchConfiguration:completionHandler: @abstract Presents the Desk View application to the user. @param launchConfiguration Launch configuration governing how the Desk View application will be presented. @param completionHandler A block to be called once the Desk View application has been completely launched (or brought to the foreground). Optionally, this completionHandler may fire later, once the user has completed set up mode (see AVCaptureDeskViewApplicationLaunchConfiguration.requiresSetUpModeCompletion). @discussion This method allows you to programmatically launch the Desk View application from your own application UI. If the Desk View application is already running, this method brings it to the front. If the Desk View application is minimized in the Dock, this method un-minimizes it and brings it to the front.
14
14
  */
15
- presentWithLaunchConfiguration$completionHandler$(launchConfiguration: _AVCaptureDeskViewApplicationLaunchConfiguration, completionHandler: NobjcObject | null): void;
15
+ presentWithLaunchConfiguration$completionHandler$(launchConfiguration: _AVCaptureDeskViewApplicationLaunchConfiguration, completionHandler: ((error: _NSError) => void) | null): void;
16
16
  }
@@ -1,6 +1,7 @@
1
1
  import type { NobjcObject } from "objc-js";
2
2
  import type { _NSArray } from "../Foundation/NSArray.js";
3
3
  import type { _NSData } from "../Foundation/NSData.js";
4
+ import type { _NSError } from "../Foundation/NSError.js";
4
5
  import type { _NSObject } from "../Foundation/NSObject.js";
5
6
  import type { _NSSet } from "../Foundation/NSSet.js";
6
7
  import type { _NSString } from "../Foundation/NSString.js";
@@ -70,7 +71,7 @@ export declare class _AVCaptureDevice extends _NSObject {
70
71
  /**
71
72
  * @method requestAccessForMediaType:completionHandler: @abstract Requests access to the underlying hardware for the media type, showing a dialog to the user if necessary. @param mediaType The media type, either AVMediaTypeVideo or AVMediaTypeAudio @param handler A block called with the result of requesting access @discussion Use this function to request access to the hardware for a given media type. Media type constants are defined in AVMediaFormat.h. If any media type other than AVMediaTypeVideo or AVMediaTypeAudio is supplied, an NSInvalidArgumentException will be thrown. This call will not block while the user is being asked for access, allowing the client to continue running. Until access has been granted, any AVCaptureDevices for the media type will vend silent audio samples or black video frames. The user is only asked for permission the first time the client requests access. Later calls use the permission granted by the user. Note that the authorization dialog will automatically be shown if the status is AVAuthorizationStatusNotDetermined when creating an AVCaptureDeviceInput. Invoking this method with AVMediaTypeAudio is equivalent to calling -[AVAudioSession requestRecordPermission:]. The completion handler is called on an arbitrary dispatch queue. It is the client's responsibility to ensure that any UIKit-related updates are called on the main queue or main thread as a result.
72
73
  */
73
- static requestAccessForMediaType$completionHandler$(mediaType: _NSString, handler: NobjcObject): void;
74
+ static requestAccessForMediaType$completionHandler$(mediaType: _NSString, handler: (granted: boolean) => void): void;
74
75
  /**
75
76
  * @method extrinsicMatrixFromDevice:toDevice: @abstract An NSData containing the relative extrinsic matrix from one AVCaptureDevice to another. @param fromDevice The AVCaptureDevice to use as the source. Must be non nil or an NSInvalidArgumentException is thrown. @param toDevice The AVCaptureDevice to use as the destination. Must be non nil or an NSInvalidArgumentException is thrown. @discussion The extrinsic matrix consists of a unitless 3x3 rotation matrix (R) on the left and a translation (t) 3x1 column vector on the right. The translation vector's units are millimeters. The extrinsics of the "toDevice" camera are expressed with respect to a reference camera "fromDevice". If X_from is a 3D point in "fromCamera"'s coordinate system, then it can be projected into "toCamera"'s coordinate system with X_to = [R | t] * X_from. Note that a matrix_float4x3 matrix is column major with 3 rows and 4 columns. The extrinsicMatrix is only provided for physical cameras for which factory calibrations exist. Virtual device cameras return nil. / \ / \ | r1,1 r1,2 r1,3 | t1 | |R|t| = | r2,1 r2,2 r2,3 | t2 | \ / | r3,1 r3,2 r3,3 | t3 | \ / Note that if you enable video stabilization (see AVCaptureConnection.preferredVideoStabilizationMode), the pixels in stabilized video frames no longer match the relative extrinsicMatrix from one device to another due to warping. The extrinsicMatrix and camera intrinsics should only be used when video stabilization is disabled.
76
77
  */
@@ -178,7 +179,7 @@ export declare class _AVCaptureDevice extends _NSObject {
178
179
  /**
179
180
  * @method setFocusModeLockedWithLensPosition:completionHandler: @abstract Sets focusMode to AVCaptureFocusModeLocked and locks lensPosition at an explicit value. @param lensPosition The lens position, as described in the documentation for the lensPosition property. A value of AVCaptureLensPositionCurrent can be used to indicate that the caller does not wish to specify a value for lensPosition. @param handler A block to be called when lensPosition has been set to the value specified and focusMode is set to AVCaptureFocusModeLocked. If setFocusModeLockedWithLensPosition:completionHandler: is called multiple times, the completion handlers will be called in FIFO order. The block receives a timestamp which matches that of the first buffer to which all settings have been applied. Note that the timestamp is synchronized to the device clock, and thus must be converted to the `AVCaptureSession/synchronizationClock` prior to comparison with the timestamps of buffers delivered via an AVCaptureVideoDataOutput. The client may pass nil for the handler parameter if knowledge of the operation's completion is not required. @discussion This is the only way of setting lensPosition. This method throws an NSRangeException if lensPosition is set to an unsupported level. This method throws an NSGenericException if called without first obtaining exclusive access to the receiver using lockForConfiguration:.
180
181
  */
181
- setFocusModeLockedWithLensPosition$completionHandler$(lensPosition: number, handler: NobjcObject | null): void;
182
+ setFocusModeLockedWithLensPosition$completionHandler$(lensPosition: number, handler: ((syncTime: CMTime) => void) | null): void;
182
183
  /**
183
184
  * Focus on and start tracking a detected object. - Parameter detectedObjectID: The ID of the detected object. - Parameter focusMode: Specify whether to focus strongly or weakly.
184
185
  */
@@ -202,11 +203,11 @@ export declare class _AVCaptureDevice extends _NSObject {
202
203
  /**
203
204
  * @method setExposureModeCustomWithDuration:ISO:completionHandler: @abstract Sets exposureMode to AVCaptureExposureModeCustom and locks exposureDuration and ISO at explicit values. @param duration The exposure duration, as described in the documentation for the exposureDuration property. A value of AVCaptureExposureDurationCurrent can be used to indicate that the caller does not wish to specify a value for exposureDuration. Note that changes to this property may result in changes to activeVideoMinFrameDuration and/or activeVideoMaxFrameDuration. @param ISO The exposure ISO value, as described in the documentation for the ISO property. A value of AVCaptureISOCurrent can be used to indicate that the caller does not wish to specify a value for ISO. @param handler A block to be called when both exposureDuration and ISO have been set to the values specified and exposureMode is set to AVCaptureExposureModeCustom. If setExposureModeCustomWithDuration:ISO:completionHandler: is called multiple times, the completion handlers will be called in FIFO order. The block receives a timestamp which matches that of the first buffer to which all settings have been applied. Note that the timestamp is synchronized to the device clock, and thus must be converted to the `AVCaptureSession/synchronizationClock` prior to comparison with the timestamps of buffers delivered via an AVCaptureVideoDataOutput. The client may pass nil for the handler parameter if knowledge of the operation's completion is not required. @discussion This is the only way of setting exposureDuration and ISO. This method throws an NSRangeException if either exposureDuration or ISO is set to an unsupported level. This method throws an NSGenericException if called without first obtaining exclusive access to the receiver using lockForConfiguration:. When using AVCapturePhotoOutput to capture photos, note that the photoQualityPrioritization property of AVCapturePhotoSettings defaults to AVCapturePhotoQualityPrioritizationBalanced, which allows photo capture to temporarily override the capture device's ISO and exposureDuration values if the scene is dark enough to warrant some form of multi-image fusion to improve quality. To ensure that the receiver's ISO and exposureDuration values are honored while in AVCaptureExposureModeCustom or AVCaptureExposureModeLocked, you must set your AVCapturePhotoSettings.photoQualityPrioritization property to AVCapturePhotoQualityPrioritizationSpeed. The same rule applies if you use the deprecated AVCapturePhotoSettings.autoStillImageStabilizationEnabled property or AVCaptureStillImageOutput.automaticallyEnablesStillImageStabilizationWhenAvailable property. You must set them to NO to preserve your custom or locked exposure settings.
204
205
  */
205
- setExposureModeCustomWithDuration$ISO$completionHandler$(duration: CMTime, ISO: number, handler: NobjcObject | null): void;
206
+ setExposureModeCustomWithDuration$ISO$completionHandler$(duration: CMTime, ISO: number, handler: ((syncTime: CMTime) => void) | null): void;
206
207
  /**
207
208
  * @method setExposureTargetBias:completionHandler: @abstract Sets the bias to be applied to the target exposure value. @param bias The bias to be applied to the exposure target value, as described in the documentation for the exposureTargetBias property. @param handler A block to be called when exposureTargetBias has been set to the value specified. If setExposureTargetBias:completionHandler: is called multiple times, the completion handlers will be called in FIFO order. The block receives a timestamp which matches that of the first buffer to which the setting has been applied. Note that the timestamp is synchronized to the device clock, and thus must be converted to the `AVCaptureSession/synchronizationClock` prior to comparison with the timestamps of buffers delivered via an AVCaptureVideoDataOutput. The client may pass nil for the handler parameter if knowledge of the operation's completion is not required. @discussion This is the only way of setting exposureTargetBias. This method throws an NSRangeException if exposureTargetBias is set to an unsupported level. This method throws an NSGenericException if called without first obtaining exclusive access to the receiver using lockForConfiguration:.
208
209
  */
209
- setExposureTargetBias$completionHandler$(bias: number, handler: NobjcObject | null): void;
210
+ setExposureTargetBias$completionHandler$(bias: number, handler: ((syncTime: CMTime) => void) | null): void;
210
211
  /**
211
212
  * @method isWhiteBalanceModeSupported: @abstract Returns whether the receiver supports the given white balance mode. @param whiteBalanceMode An AVCaptureWhiteBalanceMode to be checked. @result YES if the receiver supports the given white balance mode, NO otherwise. @discussion The receiver's whiteBalanceMode property can only be set to a certain mode if this method returns YES for that mode.
212
213
  */
@@ -214,11 +215,11 @@ export declare class _AVCaptureDevice extends _NSObject {
214
215
  /**
215
216
  * Sets white balance to locked mode with explicit temperature and tint values. - Parameter whiteBalanceTemperatureAndTintValues: The white balance temperature and tint values, as computed from ``temperatureAndTintValuesForDeviceWhiteBalanceGains:`` method, ``AVCaptureWhiteBalanceTemperatureAndTintValues`` presets or manual input. - Parameter handler: A block to be called when white balance values have been set to the values specified and ``whiteBalanceMode`` is set to ``AVCaptureWhiteBalanceModeLocked``. If ``setWhiteBalanceModeLockedWithDeviceWhiteBalanceTemperatureAndTintValues:completionHandler:`` is called multiple times, the completion handlers are called in FIFO order. The block receives a timestamp which matches that of the first buffer to which all settings have been applied. Note that the timestamp is synchronized to the device clock, and thus must be converted to the ``AVCaptureSession/synchronizationClock`` prior to comparison with the timestamps of buffers delivered via an ``AVCaptureVideoDataOutput``. This parameter may be `nil` if synchronization is not required. This method takes a ``AVCaptureWhiteBalanceTemperatureAndTintValues`` struct and applies the appropriate ``AVCaptureWhiteBalanceGains``. This method throws an `NSRangeException` if any of the values are set to an unsupported level. This method throws an `NSGenericException` if called without first obtaining exclusive access to the device using ``AVCaptureDevice/lockForConfiguration:``.
216
217
  */
217
- setWhiteBalanceModeLockedWithDeviceWhiteBalanceTemperatureAndTintValues$completionHandler$(whiteBalanceTemperatureAndTintValues: AVCaptureWhiteBalanceTemperatureAndTintValues, handler: NobjcObject | null): void;
218
+ setWhiteBalanceModeLockedWithDeviceWhiteBalanceTemperatureAndTintValues$completionHandler$(whiteBalanceTemperatureAndTintValues: AVCaptureWhiteBalanceTemperatureAndTintValues, handler: ((syncTime: CMTime) => void) | null): void;
218
219
  /**
219
220
  * @method setWhiteBalanceModeLockedWithDeviceWhiteBalanceGains:completionHandler: @abstract Sets white balance to locked mode with explicit deviceWhiteBalanceGains values. @param whiteBalanceGains The white balance gain values, as described in the documentation for the deviceWhiteBalanceGains property. A value of AVCaptureWhiteBalanceGainsCurrent can be used to indicate that the caller does not wish to specify a value for deviceWhiteBalanceGains. @param handler A block to be called when white balance gains have been set to the values specified and whiteBalanceMode is set to AVCaptureWhiteBalanceModeLocked. If setWhiteBalanceModeLockedWithDeviceWhiteBalanceGains:completionHandler: is called multiple times, the completion handlers will be called in FIFO order. The block receives a timestamp which matches that of the first buffer to which all settings have been applied. Note that the timestamp is synchronized to the device clock, and thus must be converted to the `AVCaptureSession/synchronizationClock` prior to comparison with the timestamps of buffers delivered via an AVCaptureVideoDataOutput. This parameter may be nil if synchronization is not required. @discussion Gain values are normalized to the minimum channel value to avoid brightness changes (e.g. R:2 G:2 B:4 will be normalized to R:1 G:1 B:2). For each channel in the whiteBalanceGains struct, only values between 1.0 and maxWhiteBalanceGain after nomalization are supported. This method throws an NSRangeException if any of the whiteBalanceGains are set to an unsupported level. This method throws an NSGenericException if called without first obtaining exclusive access to the receiver using lockForConfiguration:.
220
221
  */
221
- setWhiteBalanceModeLockedWithDeviceWhiteBalanceGains$completionHandler$(whiteBalanceGains: AVCaptureWhiteBalanceGains, handler: NobjcObject | null): void;
222
+ setWhiteBalanceModeLockedWithDeviceWhiteBalanceGains$completionHandler$(whiteBalanceGains: AVCaptureWhiteBalanceGains, handler: ((syncTime: CMTime) => void) | null): void;
222
223
  /**
223
224
  * @method chromaticityValuesForDeviceWhiteBalanceGains: @abstract Converts device-specific white balance RGB gain values to device-independent chromaticity values. @param whiteBalanceGains White balance gain values, as described in the documentation for the deviceWhiteBalanceGains property. A value of AVCaptureWhiteBalanceGainsCurrent may not be used in this function. @result A fully populated AVCaptureWhiteBalanceChromaticityValues structure containing device-independent values. @discussion This method may be called on the receiver to convert device-specific white balance RGB gain values to device-independent chromaticity (little x, little y) values. For each channel in the whiteBalanceGains struct, only values between 1.0 and -maxWhiteBalanceGain are supported. This method throws an NSRangeException if any of the whiteBalanceGains are set to unsupported values.
224
225
  */
@@ -254,7 +255,7 @@ export declare class _AVCaptureDevice extends _NSObject {
254
255
  /**
255
256
  * Updates the dynamic aspect ratio of the device. - Parameter dynamicAspectRatio: The new ``AVCaptureAspectRatio`` the device should output. - Parameter handler: A block called by the device when `dynamicAspectRatio` is set to the value specified. If you call ``setDynamicAspectRatio:completionHandler:`` multiple times, the completion handlers are called in FIFO order. The block receives a timestamp which matches that of the first buffer to which all settings have been applied. Note that the timestamp is synchronized to the device clock, and thus must be converted to the ``AVCaptureSession/synchronizationClock`` prior to comparison with the timestamps of buffers delivered via an ``AVCaptureVideoDataOutput``. You may pass `nil` for the `handler` parameter if you do not need to know when the operation completes. This is the only way of setting ``dynamicAspectRatio``. This method throws an `NSInvalidArgumentException` if `dynamicAspectRatio` is not a supported aspect ratio found in the device's activeFormat's ``AVCaptureDeviceFormat/supportedDynamicAspectRatios``. This method throws an `NSGenericException` if you call it without first obtaining exclusive access to the device using ``AVCaptureDevice/lockForConfiguration:``.
256
257
  */
257
- setDynamicAspectRatio$completionHandler$(dynamicAspectRatio: AVCaptureAspectRatio, handler: NobjcObject | null): void;
258
+ setDynamicAspectRatio$completionHandler$(dynamicAspectRatio: AVCaptureAspectRatio, handler: ((syncTime: CMTime, error: _NSError) => void) | null): void;
258
259
  /**
259
260
  * Specify whether to enable camera lens smudge detection, and the interval time between each run of detections. - Parameter cameraLensSmudgeDetectionEnabled: Specify whether camera lens smudge detection should be enabled. - Parameter detectionInterval: The detection running interval if detection is enabled. Each run of detection processes frames over a short period, and produces one detection result. Use `detectionInterval` to specify the interval time between each run of detections. For example, when ``cameraLensSmudgeDetectionEnabled`` is set to `true` and `detectionInterval` is set to 1 minute, detection runs once per minute, and updates ``AVCaptureCameraLensSmudgeDetectionStatus``. If `detectionInterval` is set to ``kCMTimeInvalid``, detection runs only once after the session starts. If `detectionInterval` is set to ``kCMTimeZero``, detection runs continuously. ``AVCaptureDevice`` throws an `NSInvalidArgumentException` if the ``AVCaptureDeviceFormat/cameraLensSmudgeDetectionSupported`` property on the current active format returns `false`. Enabling detection requires a lengthy reconfiguration of the capture render pipeline, so you should enable detection before calling ``AVCaptureSession/startRunning`` or within ``AVCaptureSession/beginConfiguration`` and ``AVCaptureSession/commitConfiguration`` while running.
260
261
  */
@@ -1,4 +1,3 @@
1
- import type { NobjcObject } from "objc-js";
2
1
  import type { _AVCaptureControl } from "./AVCaptureControl.js";
3
2
  import type { _NSArray } from "../Foundation/NSArray.js";
4
3
  import type { _NSObject } from "../Foundation/NSObject.js";
@@ -14,7 +13,7 @@ export declare class _AVCaptureIndexPicker extends _AVCaptureControl {
14
13
  /**
15
14
  * Initializes an `AVCaptureIndexPicker` to pick between `numberOfIndexes` values. A localized string that describes the picker's `action`. The name of a symbol to represent the picker. The number of indexes to pick between. `numberOfIndexes` must be greater than 0, otherwise an `NSInvalidArgumentException` is thrown. A transformation from index to localized title. An `AVCaptureIndexPicker` instance that picks between `numberOfIndexes` values with a transformation from index to localized title. Suitable when you want to provide a title for each picked value lazily.
16
15
  */
17
- initWithLocalizedTitle$symbolName$numberOfIndexes$localizedTitleTransform$(localizedTitle: _NSString, symbolName: _NSString, numberOfIndexes: number, localizedTitleTransform: NobjcObject): _AVCaptureIndexPicker;
16
+ initWithLocalizedTitle$symbolName$numberOfIndexes$localizedTitleTransform$(localizedTitle: _NSString, symbolName: _NSString, numberOfIndexes: number, localizedTitleTransform: (index: number) => _NSString): _AVCaptureIndexPicker;
18
17
  /**
19
18
  * Initializes an `AVCaptureIndexPicker` to pick between `localizedIndexTitles.count` values. A localized string that describes the picker's `action`. The name of a symbol to represent the picker. The titles to use for each index. `localizedIndexTitles` must be greater than 0, otherwise an `NSInvalidArgumentException` is thrown. An `AVCaptureIndexPicker` instance that picks between `localizedIndexTitles.count` values. Suitable when you already have an array containing a title for each picked value.
20
19
  */
@@ -22,7 +21,7 @@ export declare class _AVCaptureIndexPicker extends _AVCaptureControl {
22
21
  /**
23
22
  * Configures the picker's `action` which is called on `actionQueue` whenever the index of the picker is changed. A queue for the `action` to be called. An action called on `actionQueue` whenever the selected index of the picker is changed. Because the camera system may be independent from the main thread or ` `, `action` is always called on an internal `DispatchSerialQueue` targeted at `actionQueue`. If `action` modifies a property of the camera system, `actionQueue` must represent the same exclusive execution context as the camera system (see `isSameExclusiveExecutionContext`).
24
23
  */
25
- setActionQueue$action$(actionQueue: _NSObject, action: NobjcObject): void;
24
+ setActionQueue$action$(actionQueue: _NSObject, action: (selectedIndex: number) => void): void;
26
25
  /**
27
26
  * The currently selected index. Because the camera system may be independent from the main thread or ` `, `selectedIndex` must be changed on `actionQueue` – the queue provided to `setActionQueue:action:`. The default value is 0. An index may only be set if it is greater than 0 or less than `numberOfIndexes`, otherwise an `NSInvalidArgumentException` is thrown.
28
27
  */
@@ -4,6 +4,7 @@ import type { _AVCapturePhotoCaptureDelegate } from "./AVCapturePhotoCaptureDele
4
4
  import type { _AVCapturePhotoSettings } from "./AVCapturePhotoSettings.js";
5
5
  import type { _NSArray } from "../Foundation/NSArray.js";
6
6
  import type { _NSData } from "../Foundation/NSData.js";
7
+ import type { _NSError } from "../Foundation/NSError.js";
7
8
  import type { _NSString } from "../Foundation/NSString.js";
8
9
  import type { CMVideoDimensions } from "../structs/CMVideoDimensions.js";
9
10
  import type { AVCapturePhotoOutputCaptureReadiness } from "./AVCapturePhotoOutputCaptureReadiness.js";
@@ -37,7 +38,7 @@ export declare class _AVCapturePhotoOutput extends _AVCaptureOutput {
37
38
  /**
38
39
  * @method setPreparedPhotoSettingsArray:completionHandler: @abstract Method allowing the receiver to prepare resources in advance for future -capturePhotoWithSettings:delegate: requests. @param preparedPhotoSettingsArray An array of AVCapturePhotoSettings instances indicating the types of capture for which the receiver should prepare resources. @param completionHandler A completion block to be fired on a serial dispatch queue once the receiver has finished preparing. You may pass nil to indicate you do not wish to be called back when preparation is complete. @discussion Some types of photo capture, such as bracketed captures and RAW captures, require the receiver to allocate additional buffers or prepare other resources. To prevent photo capture requests from executing slowly due to lazy resource allocation, you may call this method with an array of settings objects representative of the types of capture you will be performing (e.g., settings for a bracketed capture, RAW capture, and/or still image stabilization capture). You may call this method even before calling -[AVCaptureSession startRunning] in order to hint the receiver up front which features you'll be utilizing. Each time you call this method with an array of settings, the receiver evaluates what additional resources it needs to allocate, as well as existing resources that can be reclaimed, and calls back your completionHandler when it has finished preparing (and possibly reclaiming) needed resources. By default, the receiver prepares sufficient resources to capture photos with default settings, +[AVCapturePhotoSettings photoSettings]. If you wish to reclaim all possible resources, you may call this method with an empty array. Preparation for photo capture is always optional. You may call -capturePhotoWithSettings:delegate: without first calling -setPreparedPhotoSettingsArray:completionHandler:, but be advised that some of your photo captures may execute slowly as additional resources are allocated just-in-time. If you call this method while your AVCaptureSession is not running, your completionHandler does not fire immediately. It only fires once you've called -[AVCaptureSession startRunning], and the needed resources have actually been prepared. If you call -setPreparedPhotoSettingsArray:completionHandler: with an array of settings, and then call it a second time, your first prepare call's completionHandler fires immediately with prepared == NO. Prepared settings persist across session starts/stops and committed configuration changes. This property participates in -[AVCaptureSession beginConfiguration] / -[AVCaptureSession commitConfiguration] deferred work behavior. That is, if you call -[AVCaptureSession beginConfiguration], change your session's input/output topology, and call this method, preparation is deferred until you call -[AVCaptureSession commitConfiguration], enabling you to atomically commit a new configuration as well as prepare to take photos in that new configuration.
39
40
  */
40
- setPreparedPhotoSettingsArray$completionHandler$(preparedPhotoSettingsArray: _NSArray, completionHandler: NobjcObject | null): void;
41
+ setPreparedPhotoSettingsArray$completionHandler$(preparedPhotoSettingsArray: _NSArray, completionHandler: ((prepared: boolean, error: _NSError) => void) | null): void;
41
42
  /**
42
43
  * @method supportedPhotoPixelFormatTypesForFileType: @abstract An array of pixel format type values that are currently supported by the receiver for a particular file container. @param fileType The AVFileType container type intended for storage of a photo. @result An array of CVPixelBufferPixelFormatTypeKey values supported by the receiver for the file type in question. @discussion If you wish to capture a photo for storage in a particular file container, such as TIFF, you must ensure that the photo pixel format type you request is valid for that file type. If no pixel format types are supported for a given fileType, an empty array is returned. If you've not yet added your receiver to an AVCaptureSession with a video source, no pixel format types are supported.
43
44
  */
@@ -1,4 +1,3 @@
1
- import type { NobjcObject } from "objc-js";
2
1
  import type { _AVCaptureControl } from "./AVCaptureControl.js";
3
2
  import type { _NSArray } from "../Foundation/NSArray.js";
4
3
  import type { _NSObject } from "../Foundation/NSObject.js";
@@ -22,7 +21,7 @@ export declare class _AVCaptureSlider extends _AVCaptureControl {
22
21
  /**
23
22
  * @method setActionQueue:action: @abstract Configures the slider's `action` which is called on `actionQueue` whenever the value of the slider is changed. @param actionQueue A queue for the `action` to be called. @param action An action called on `actionQueue` whenever the value of the slider is changed. @discussion Because the camera system may be independent from the main thread or `@MainActor`, `action` is always called on an internal `DispatchSerialQueue` targeted at `actionQueue`. If `action` modifies a property of the camera system, `actionQueue` must represent the same exclusive execution context as the camera system (see `isSameExclusiveExecutionContext`).
24
23
  */
25
- setActionQueue$action$(actionQueue: _NSObject, action: NobjcObject): void;
24
+ setActionQueue$action$(actionQueue: _NSObject, action: (newValue: number) => void): void;
26
25
  /**
27
26
  * @property value @abstract The current value of the slider. @discussion Because the camera system may be independent from the main thread or `@MainActor`, `value` must be changed on `actionQueue` – the queue provided to `setActionQueue:action:`. The default value is the slider's minimum value. A value may only be set if it is within the slider's minimum and maximum values, otherwise an `NSInvalidArgumentException` is thrown.
28
27
  */
@@ -1,9 +1,11 @@
1
1
  import type { NobjcObject } from "objc-js";
2
+ import type { _AVCaptureBracketedStillImageSettings } from "./AVCaptureBracketedStillImageSettings.js";
2
3
  import type { _AVCaptureConnection } from "./AVCaptureConnection.js";
3
4
  import type { _AVCaptureOutput } from "./AVCaptureOutput.js";
4
5
  import type { _NSArray } from "../Foundation/NSArray.js";
5
6
  import type { _NSData } from "../Foundation/NSData.js";
6
7
  import type { _NSDictionary } from "../Foundation/NSDictionary.js";
8
+ import type { _NSError } from "../Foundation/NSError.js";
7
9
  export declare class _AVCaptureStillImageOutput extends _AVCaptureOutput {
8
10
  static alloc(): _AVCaptureStillImageOutput;
9
11
  static new(): _AVCaptureStillImageOutput;
@@ -15,17 +17,17 @@ export declare class _AVCaptureStillImageOutput extends _AVCaptureOutput {
15
17
  /**
16
18
  * @method captureStillImageAsynchronouslyFromConnection:completionHandler: @abstract Initiates an asynchronous still image capture, returning the result to a completion handler. @param connection The AVCaptureConnection object from which to capture the still image. @param handler A block that will be called when the still image capture is complete. The block will be passed a CMSampleBuffer object containing the image data or an NSError object if an image could not be captured. @discussion This method will return immediately after it is invoked, later calling the provided completion handler block when image data is ready. If the request could not be completed, the error parameter will contain an NSError object describing the failure. Attachments to the image data sample buffer may contain metadata appropriate to the image data format. For instance, a sample buffer containing JPEG data may carry a kCGImagePropertyExifDictionary as an attachment. See <ImageIO/CGImageProperties.h> for a list of keys and value types. Clients should not assume that the completion handler will be called on a specific thread. Calls to captureStillImageAsynchronouslyFromConnection:completionHandler: are not synchronized with AVCaptureDevice manual control completion handlers. Setting a device manual control, waiting for its completion, then calling captureStillImageAsynchronouslyFromConnection:completionHandler: DOES NOT ensure that the still image returned reflects your manual control change. It may be from an earlier time. You can compare your manual control completion handler sync time to the returned still image's presentation time. You can retrieve the sample buffer's pts using CMSampleBufferGetPresentationTimestamp(). If the still image has an earlier timestamp, your manual control command does not apply to it.
17
19
  */
18
- captureStillImageAsynchronouslyFromConnection$completionHandler$(connection: _AVCaptureConnection, handler: NobjcObject | null): void;
20
+ captureStillImageAsynchronouslyFromConnection$completionHandler$(connection: _AVCaptureConnection, handler: ((imageDataSampleBuffer: NobjcObject, error: _NSError) => void) | null): void;
19
21
  /**
20
22
  * @method prepareToCaptureStillImageBracketFromConnection:withSettingsArray:completionHandler: @abstract Allows the receiver to prepare resources in advance of capturing a still image bracket. @param connection The connection through which the still image bracket should be captured. @param settings An array of AVCaptureBracketedStillImageSettings objects. All must be of the same kind of AVCaptureBracketedStillImageSettings subclass, or an NSInvalidArgumentException is thrown. @param handler A user provided block that will be called asynchronously once resources have successfully been allocated for the specified bracketed capture operation. If sufficient resources could not be allocated, the "prepared" parameter contains NO, and "error" parameter contains a non-nil error value. If [settings count] exceeds -maxBracketedCaptureStillImageCount, then AVErrorMaximumStillImageCaptureRequestsExceeded is returned. You should not assume that the completion handler will be called on a specific thread. @discussion -maxBracketedCaptureStillImageCount tells you the maximum number of images that may be taken in a single bracket given the current AVCaptureDevice/AVCaptureSession/AVCaptureStillImageOutput configuration. But before taking a still image bracket, additional resources may need to be allocated. By calling -prepareToCaptureStillImageBracketFromConnection:withSettingsArray:completionHandler: first, you are able to deterministically know when the receiver is ready to capture the bracket with the specified settings array.
21
23
  * @deprecated Use AVCapturePhotoOutput setPreparedPhotoSettingsArray:completionHandler: instead.
22
24
  */
23
- prepareToCaptureStillImageBracketFromConnection$withSettingsArray$completionHandler$(connection: _AVCaptureConnection, settings: _NSArray, handler: NobjcObject | null): void;
25
+ prepareToCaptureStillImageBracketFromConnection$withSettingsArray$completionHandler$(connection: _AVCaptureConnection, settings: _NSArray, handler: ((prepared: boolean, error: _NSError) => void) | null): void;
24
26
  /**
25
27
  * @method captureStillImageBracketAsynchronouslyFromConnection:withSettingsArray:completionHandler: @abstract Captures a still image bracket. @param connection The connection through which the still image bracket should be captured. @param settings An array of AVCaptureBracketedStillImageSettings objects. All must be of the same kind of AVCaptureBracketedStillImageSettings subclass, or an NSInvalidArgumentException is thrown. @param handler A user provided block that will be called asynchronously as each still image in the bracket is captured. If the capture request is successful, the "sampleBuffer" parameter contains a valid CMSampleBuffer, the "stillImageSettings" parameter contains the settings object corresponding to this still image, and a nil "error" parameter. If the bracketed capture fails, sample buffer is NULL and error is non-nil. If [settings count] exceeds -maxBracketedCaptureStillImageCount, then AVErrorMaximumStillImageCaptureRequestsExceeded is returned. You should not assume that the completion handler will be called on a specific thread. @discussion If you have not called -prepareToCaptureStillImageBracketFromConnection:withSettingsArray:completionHandler: for this still image bracket request, the bracket may not be taken immediately, as the receiver may internally need to prepare resources.
26
28
  * @deprecated Use AVCapturePhotoOutput capturePhotoWithSettings:delegate: instead.
27
29
  */
28
- captureStillImageBracketAsynchronouslyFromConnection$withSettingsArray$completionHandler$(connection: _AVCaptureConnection, settings: _NSArray, handler: NobjcObject | null): void;
30
+ captureStillImageBracketAsynchronouslyFromConnection$withSettingsArray$completionHandler$(connection: _AVCaptureConnection, settings: _NSArray, handler: ((sampleBuffer: NobjcObject, stillImageSettings: _AVCaptureBracketedStillImageSettings, error: _NSError) => void) | null): void;
29
31
  /**
30
32
  * @property outputSettings @abstract Specifies the options the receiver uses to encode still images before they are delivered. @discussion See AVVideoSettings.h for more information on how to construct an output settings dictionary. On iOS, the only currently supported keys are AVVideoCodecKey and kCVPixelBufferPixelFormatTypeKey. Use -availableImageDataCVPixelFormatTypes and -availableImageDataCodecTypes to determine what codec keys and pixel formats are supported. AVVideoQualityKey is supported on iOS 6.0 and later and may only be used when AVVideoCodecKey is set to AVVideoCodecTypeJPEG.
31
33
  */
@@ -1,4 +1,3 @@
1
- import type { NobjcObject } from "objc-js";
2
1
  import type { _AVCaptureControl } from "./AVCaptureControl.js";
3
2
  import type { _AVCaptureDevice } from "./AVCaptureDevice.js";
4
3
  export declare class _AVCaptureSystemExposureBiasSlider extends _AVCaptureControl {
@@ -12,5 +11,5 @@ export declare class _AVCaptureSystemExposureBiasSlider extends _AVCaptureContro
12
11
  /**
13
12
  * Initializes an `AVCaptureSystemExposureBiasSlider` for controlling `device` with a ` ` `action` for handling `exposureTargetBias` changes. The device to control. An action called on ` ` to handle `exposureTargetBias` changes by `AVCaptureSystemExposureBiasSlider`. `action` is **only** called when `exposureTargetBias` is changed by this control. Clients should not change `exposureTargetBias` on the device when `action` is called. If you need to react to other sources of `exposureTargetBias` changes, you will still need to use key-value observation. `AVCaptureSystemExposureBiasSlider` may only be initialized with `AVCaptureDevice` instances that support setting `exposureTargetBias`, otherwise an `NSInvalidArgumentException` is thrown.
14
13
  */
15
- initWithDevice$action$(device: _AVCaptureDevice, action: NobjcObject): _AVCaptureSystemExposureBiasSlider;
14
+ initWithDevice$action$(device: _AVCaptureDevice, action: (exposureTargetBias: number) => void): _AVCaptureSystemExposureBiasSlider;
16
15
  }
@@ -1,4 +1,3 @@
1
- import type { NobjcObject } from "objc-js";
2
1
  import type { _AVCaptureControl } from "./AVCaptureControl.js";
3
2
  import type { _AVCaptureDevice } from "./AVCaptureDevice.js";
4
3
  export declare class _AVCaptureSystemZoomSlider extends _AVCaptureControl {
@@ -12,5 +11,5 @@ export declare class _AVCaptureSystemZoomSlider extends _AVCaptureControl {
12
11
  /**
13
12
  * @method initWithDevice:action @abstract Initializes an `AVCaptureSystemZoomSlider` for controlling `device` with a `@MainActor` `action` for handling `videoZoomFactor` changes. @param device The device to control. @param action An action called on `@MainActor` to handle `videoZoomFactor` changes by `AVCaptureSystemZoomSlider`. @discussion `action` is **only** called when `videoZoomFactor` is changed by this control. Clients should not change `videoZoomFactor` on the device when `action` is called. If you need to react to other sources of `videoZoomFactor` changes like `rampToVideoZoomFactor:withRate:` you will still need to use key-value observation. `AVCaptureSystemZoomSlider` may only be initialized with `AVCaptureDevice` instances that support setting `videoZoomFactor`, otherwise an `NSInvalidArgumentException` is thrown.
14
13
  */
15
- initWithDevice$action$(device: _AVCaptureDevice, action: NobjcObject): _AVCaptureSystemZoomSlider;
14
+ initWithDevice$action$(device: _AVCaptureDevice, action: (videoZoomFactor: number) => void): _AVCaptureSystemZoomSlider;
16
15
  }
@@ -1,9 +1,9 @@
1
- import type { NobjcObject } from "objc-js";
2
1
  import type { _AVAsset } from "./AVAsset.js";
3
2
  import type { _AVCompositionTrack } from "./AVCompositionTrack.js";
4
3
  import type { _AVMediaSelectionGroup } from "./AVMediaSelectionGroup.js";
5
4
  import type { _NSArray } from "../Foundation/NSArray.js";
6
5
  import type { _NSDictionary } from "../Foundation/NSDictionary.js";
6
+ import type { _NSError } from "../Foundation/NSError.js";
7
7
  import type { _NSLocale } from "../Foundation/NSLocale.js";
8
8
  import type { _NSMutableCopying } from "../Foundation/NSMutableCopying.js";
9
9
  import type { _NSString } from "../Foundation/NSString.js";
@@ -17,10 +17,6 @@ export declare class _AVComposition extends _AVAsset {
17
17
  * Provides an instance of AVCompositionTrack that represents the track of the specified trackID. The trackID of the requested AVCompositionTrack. An instance of AVCompositionTrack; may be nil if no track of the specified trackID is available. Becomes callable without blocking when the key " tracks" has been loaded
18
18
  */
19
19
  trackWithTrackID$(trackID: number): _AVCompositionTrack | null;
20
- /**
21
- * Loads an instance of AVCompositionTrack that represents the track of the specified trackID. The trackID of the requested AVCompositionTrack. A block that is called when the loading is finished, with either the loaded track (which may be nil if no track of the specified trackID is available) or an error.
22
- */
23
- loadTrackWithTrackID$completionHandler$(trackID: number, completionHandler: NobjcObject | null): void;
24
20
  /**
25
21
  * Provides an array of AVCompositionTracks of the asset that present media of the specified media type. The media type according to which the receiver filters its AVCompositionTracks. (Media types are defined in AVMediaFormat.h) An NSArray of AVCompositionTracks; may be empty if no tracks of the specified media type are available. Becomes callable without blocking when the key " tracks" has been loaded
26
22
  */
@@ -28,7 +24,7 @@ export declare class _AVComposition extends _AVAsset {
28
24
  /**
29
25
  * Loads an array of AVCompositionTracks of the asset that present media of the specified media type. The media type according to which AVAsset filters its AVCompositionTracks. (Media types are defined in AVMediaFormat.h.) A block that is called when the loading is finished, with either the loaded tracks (which may be empty if no tracks of the specified media type are available) or an error.
30
26
  */
31
- loadTracksWithMediaType$completionHandler$(mediaType: _NSString, completionHandler: NobjcObject | null): void;
27
+ loadTracksWithMediaType$completionHandler$(mediaType: _NSString, completionHandler: ((arg0: _NSArray, arg1: _NSError) => void) | null): void;
32
28
  /**
33
29
  * Provides an array of AVCompositionTracks of the asset that present media with the specified characteristic. The media characteristic according to which the receiver filters its AVCompositionTracks. (Media characteristics are defined in AVMediaFormat.h) An NSArray of AVCompositionTracks; may be empty if no tracks with the specified characteristic are available. Becomes callable without blocking when the key " tracks" has been loaded
34
30
  */
@@ -36,7 +32,7 @@ export declare class _AVComposition extends _AVAsset {
36
32
  /**
37
33
  * Loads an array of AVCompositionTracks of the asset that present media with the specified characteristic. The media characteristic according to which AVAsset filters its AVCompositionTracks. (Media characteristics are defined in AVMediaFormat.h.) A block that is called when the loading is finished, with either the loaded tracks (which may be empty if no tracks with the specified characteristic are available) or an error.
38
34
  */
39
- loadTracksWithMediaCharacteristic$completionHandler$(mediaCharacteristic: _NSString, completionHandler: NobjcObject | null): void;
35
+ loadTracksWithMediaCharacteristic$completionHandler$(mediaCharacteristic: _NSString, completionHandler: ((arg0: _NSArray, arg1: _NSError) => void) | null): void;
40
36
  metadataForFormat$(format: AVMetadataFormat): _NSArray;
41
37
  chapterMetadataGroupsWithTitleLocale$containingItemsWithCommonKeys$(locale: _NSLocale, commonKeys: _NSArray | null): _NSArray;
42
38
  chapterMetadataGroupsBestMatchingPreferredLanguages$(preferredLanguages: _NSArray): _NSArray;
@@ -15,7 +15,7 @@ export declare class _AVContentKeyRequest extends _NSObject {
15
15
  /**
16
16
  * Obtains a content key request data for a specific combination of application and content. If option AVContentKeyRequestProtocolVersionsKey is not specified the default protocol version of 1 is assumed. - Parameter appIdentifier: An opaque identifier for the application. The value of this identifier depends on the particular system used to provide the content key. - Parameter contentIdentifier: An optional opaque identifier for the content. The value of this identifier depends on the particular system used to provide the content key. - Parameter options: Additional information necessary to obtain the key, or nil if none. See AVContentKeyRequest*Key below. - Parameter handler: Once the streaming content key request is prepared, this block will be called with the request data or an error describing the failure.
17
17
  */
18
- makeStreamingContentKeyRequestDataForApp$contentIdentifier$options$completionHandler$(appIdentifier: _NSData, contentIdentifier: _NSData | null, options: _NSDictionary | null, handler: NobjcObject | null): void;
18
+ makeStreamingContentKeyRequestDataForApp$contentIdentifier$options$completionHandler$(appIdentifier: _NSData, contentIdentifier: _NSData | null, options: _NSDictionary | null, handler: ((contentKeyRequestData: _NSData, error: _NSError) => void) | null): void;
19
19
  /**
20
20
  * Informs the receiver to process the specified content key response. After you receive an AVContentKeyRequest via -contentKeySession:didProvideContentKeyRequest: and after you invoke -[AVContentKeyRequest makeStreamingContentKeyRequestDataForApp:contentIdentifier:options:completionHandler:] on that request, you must obtain a response to the request in accordance with the protocol in use by the entity that controls the use of the media data. This is the method you use to provide the content key response to make protected content available for processing. If obtaining the content key response fails, use -processContentKeyResponseError:. - Parameter keyResponse: An instance of AVContentKeyResponse carrying a response to a content key request.
21
21
  */
@@ -2,6 +2,7 @@ import type { NobjcObject } from "objc-js";
2
2
  import type { _NSArray } from "../Foundation/NSArray.js";
3
3
  import type { _NSData } from "../Foundation/NSData.js";
4
4
  import type { _NSDictionary } from "../Foundation/NSDictionary.js";
5
+ import type { _NSError } from "../Foundation/NSError.js";
5
6
  import type { _NSObject } from "../Foundation/NSObject.js";
6
7
  import type { _NSURL } from "../Foundation/NSURL.js";
7
8
  import type { _AVContentKeyRecipient } from "./AVContentKeyRecipient.js";
@@ -47,15 +48,15 @@ export declare class _AVContentKeySession extends _NSObject {
47
48
  /**
48
49
  * Creates a secure server playback context (SPC) that the client could send to the key server to obtain an expiration date for the provided persistable content key data. - Parameter persistableContentKeyData: Persistable content key data that was previously created using -[AVContentKeyRequest persistableContentKeyFromKeyVendorResponse:options:error:] or obtained via AVContentKeySessionDelegate callback -contentKeySession:didUpdatePersistableContentKey:forContentKeyIdentifier:. - Parameter handler: Once the secure token is ready, this block will be called with the token or an error describing the failure.
49
50
  */
50
- makeSecureTokenForExpirationDateOfPersistableContentKey$completionHandler$(persistableContentKeyData: _NSData, handler: NobjcObject | null): void;
51
+ makeSecureTokenForExpirationDateOfPersistableContentKey$completionHandler$(persistableContentKeyData: _NSData, handler: ((secureTokenData: _NSData, error: _NSError) => void) | null): void;
51
52
  /**
52
53
  * Invalidates the persistable content key and creates a secure server playback context (SPC) that the client could send to the key server to verify the outcome of invalidation request. Once invalidated, a persistable content key cannot be used to answer key requests during later playback sessions. - Parameter persistableContentKeyData: Persistable content key data that was previously created using -[AVContentKeyRequest persistableContentKeyFromKeyVendorResponse:options:error:] or obtained via AVContentKeySessionDelegate callback -contentKeySession:didUpdatePersistableContentKey:forContentKeyIdentifier:. - Parameter options: Additional information necessary to generate the server playback context, or nil if none. See AVContentKeySessionServerPlaybackContextOption for supported options. - Parameter handler: Once the server playback context is ready, this block will be called with the data or an error describing the failure.
53
54
  */
54
- invalidatePersistableContentKey$options$completionHandler$(persistableContentKeyData: _NSData, options: _NSDictionary | null, handler: NobjcObject | null): void;
55
+ invalidatePersistableContentKey$options$completionHandler$(persistableContentKeyData: _NSData, options: _NSDictionary | null, handler: ((secureTokenData: _NSData, error: _NSError) => void) | null): void;
55
56
  /**
56
57
  * Invalidates all persistable content keys associated with the application and creates a secure server playback context (SPC) that the client could send to the key server to verify the outcome of invalidation request. Once invalidated, persistable content keys cannot be used to answer key requests during later playback sessions. - Parameter appIdentifier: An opaque identifier for the application. The contents of this identifier depend on the particular protocol in use by the entity that controls the use of the media data. - Parameter options: Additional information necessary to generate the server playback context, or nil if none. See AVContentKeySessionServerPlaybackContextOption for supported options. - Parameter handler: Once the server playback context is ready, this block will be called with the data or an error describing the failure.
57
58
  */
58
- invalidateAllPersistableContentKeysForApp$options$completionHandler$(appIdentifier: _NSData, options: _NSDictionary | null, handler: NobjcObject | null): void;
59
+ invalidateAllPersistableContentKeysForApp$options$completionHandler$(appIdentifier: _NSData, options: _NSDictionary | null, handler: ((secureTokenData: _NSData, error: _NSError) => void) | null): void;
59
60
  /**
60
61
  * Informs the receiver that the specified recipient will be used for the session. It is an error to add recipient to sessions that have received an expire message. It is also an error to add recipients after they have already begun to process media data (e.g. after an AVURLAsset has loaded the values of any of its keys). Such errors will result in NSInternalInconsistencyExceptions. Sending this message to an AVContentKeySession is atomic.
61
62
  */
@@ -0,0 +1,88 @@
1
+ export declare const AVError: {
2
+ readonly Unknown: -11800;
3
+ readonly OutOfMemory: -11801;
4
+ readonly SessionNotRunning: -11803;
5
+ readonly DeviceAlreadyUsedByAnotherSession: -11804;
6
+ readonly NoDataCaptured: -11805;
7
+ readonly SessionConfigurationChanged: -11806;
8
+ readonly DiskFull: -11807;
9
+ readonly DeviceWasDisconnected: -11808;
10
+ readonly MediaChanged: -11809;
11
+ readonly MaximumDurationReached: -11810;
12
+ readonly MaximumFileSizeReached: -11811;
13
+ readonly MediaDiscontinuity: -11812;
14
+ readonly MaximumNumberOfSamplesForFileFormatReached: -11813;
15
+ readonly DeviceNotConnected: -11814;
16
+ readonly DeviceInUseByAnotherApplication: -11815;
17
+ readonly DeviceLockedForConfigurationByAnotherProcess: -11817;
18
+ readonly ExportFailed: -11820;
19
+ readonly DecodeFailed: -11821;
20
+ readonly InvalidSourceMedia: -11822;
21
+ readonly FileAlreadyExists: -11823;
22
+ readonly CompositionTrackSegmentsNotContiguous: -11824;
23
+ readonly InvalidCompositionTrackSegmentDuration: -11825;
24
+ readonly InvalidCompositionTrackSegmentSourceStartTime: -11826;
25
+ readonly InvalidCompositionTrackSegmentSourceDuration: -11827;
26
+ readonly FileFormatNotRecognized: -11828;
27
+ readonly FileFailedToParse: -11829;
28
+ readonly MaximumStillImageCaptureRequestsExceeded: -11830;
29
+ readonly ContentIsProtected: -11831;
30
+ readonly NoImageAtTime: -11832;
31
+ readonly DecoderNotFound: -11833;
32
+ readonly EncoderNotFound: -11834;
33
+ readonly ContentIsNotAuthorized: -11835;
34
+ readonly ApplicationIsNotAuthorized: -11836;
35
+ readonly OperationNotSupportedForAsset: -11838;
36
+ readonly DecoderTemporarilyUnavailable: -11839;
37
+ readonly EncoderTemporarilyUnavailable: -11840;
38
+ readonly InvalidVideoComposition: -11841;
39
+ readonly ReferenceForbiddenByReferencePolicy: -11842;
40
+ readonly InvalidOutputURLPathExtension: -11843;
41
+ readonly ScreenCaptureFailed: -11844;
42
+ readonly DisplayWasDisabled: -11845;
43
+ readonly TorchLevelUnavailable: -11846;
44
+ readonly IncompatibleAsset: -11848;
45
+ readonly FailedToLoadMediaData: -11849;
46
+ readonly ServerIncorrectlyConfigured: -11850;
47
+ readonly ApplicationIsNotAuthorizedToUseDevice: -11852;
48
+ readonly FailedToParse: -11853;
49
+ readonly FileTypeDoesNotSupportSampleReferences: -11854;
50
+ readonly UndecodableMediaData: -11855;
51
+ readonly AirPlayControllerRequiresInternet: -11856;
52
+ readonly AirPlayReceiverRequiresInternet: -11857;
53
+ readonly VideoCompositorFailed: -11858;
54
+ readonly RecordingAlreadyInProgress: -11859;
55
+ readonly CreateContentKeyRequestFailed: -11860;
56
+ readonly UnsupportedOutputSettings: -11861;
57
+ readonly OperationNotAllowed: -11862;
58
+ readonly ContentIsUnavailable: -11863;
59
+ readonly FormatUnsupported: -11864;
60
+ readonly MalformedDepth: -11865;
61
+ readonly ContentNotUpdated: -11866;
62
+ readonly NoLongerPlayable: -11867;
63
+ readonly NoCompatibleAlternatesForExternalDisplay: -11868;
64
+ readonly NoSourceTrack: -11869;
65
+ readonly ExternalPlaybackNotSupportedForAsset: -11870;
66
+ readonly OperationNotSupportedForPreset: -11871;
67
+ readonly SessionHardwareCostOverage: -11872;
68
+ readonly UnsupportedDeviceActiveFormat: -11873;
69
+ readonly IncorrectlyConfigured: -11875;
70
+ readonly SegmentStartedWithNonSyncSample: -11876;
71
+ readonly RosettaNotInstalled: -11877;
72
+ readonly OperationCancelled: -11878;
73
+ readonly ContentKeyRequestCancelled: -11879;
74
+ readonly InvalidSampleCursor: -11880;
75
+ readonly FailedToLoadSampleData: -11881;
76
+ readonly AirPlayReceiverTemporarilyUnavailable: -11882;
77
+ readonly EncodeFailed: -11883;
78
+ readonly SandboxExtensionDenied: -11884;
79
+ readonly ToneMappingFailed: -11885;
80
+ readonly MediaExtensionDisabled: -11886;
81
+ readonly MediaExtensionConflict: -11887;
82
+ readonly ContentKeyRequestPlaybackDestinationDoesNotSupportDeviceIdentifierRandomization: -11888;
83
+ readonly ContentKeyInvalid: -11889;
84
+ readonly NoSmartFramingsEnabled: -11890;
85
+ readonly AutoWhiteBalanceNotLocked: -11891;
86
+ readonly FollowExternalSyncDeviceTimedOut: -11892;
87
+ };
88
+ export type AVError = typeof AVError[keyof typeof AVError];