@octane-xplat/macos-renderer 0.13.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (222) hide show
  1. package/README.md +95 -20
  2. package/package.json +15 -2
  3. package/src/appearance.ts +2 -0
  4. package/src/fonts.ts +2 -0
  5. package/src/formatted-text.ts +147 -0
  6. package/src/gestures.ts +196 -0
  7. package/src/host-globals.d.ts +55 -0
  8. package/src/html-text.ts +88 -0
  9. package/src/image.ts +91 -16
  10. package/src/index.d.ts +9 -0
  11. package/src/index.ts +5030 -678
  12. package/src/layer.ts +11 -9
  13. package/src/list-template.ts +266 -0
  14. package/src/list-view.ts +445 -0
  15. package/src/portal-components.macos.tsx +86 -0
  16. package/src/presentation.ts +48 -15
  17. package/src/scroll-view.ts +124 -0
  18. package/src/tab-view.ts +512 -0
  19. package/src/template-props.ts +402 -0
  20. package/src/vendor/listview/LICENSE +19 -0
  21. package/src/vendor/listview/README.md +1 -0
  22. package/src/vendor/listview/binding-options.ts +189 -0
  23. package/src/vendor/listview/expressions.ts +285 -0
  24. package/src/webview.ts +36 -7
  25. package/types/ARKitCore.d.ts +199 -0
  26. package/types/AVFAudio.d.ts +2304 -0
  27. package/types/AVFoundation.d.ts +6974 -0
  28. package/types/AVKit.d.ts +215 -0
  29. package/types/AVRouting.d.ts +7 -0
  30. package/types/Accelerate.d.ts +4776 -0
  31. package/types/Accessibility.d.ts +69 -0
  32. package/types/Accounts.d.ts +134 -0
  33. package/types/AdSupport.d.ts +12 -0
  34. package/types/AddressBook.d.ts +1012 -0
  35. package/types/AppKit.d.ts +34247 -0
  36. package/types/AppTrackingTransparency.d.ts +23 -0
  37. package/types/AppleScriptKit.d.ts +6 -0
  38. package/types/ApplicationServices.d.ts +6346 -0
  39. package/types/AudioToolbox.d.ts +7129 -0
  40. package/types/AudioVideoBridging.d.ts +613 -0
  41. package/types/AuthenticationServices.d.ts +982 -0
  42. package/types/AutomaticAssessmentConfiguration.d.ts +46 -0
  43. package/types/Automator.d.ts +248 -0
  44. package/types/BackgroundAssets.d.ts +9 -0
  45. package/types/BrowserEngineKit.d.ts +166 -0
  46. package/types/BusinessChat.d.ts +29 -0
  47. package/types/CFNetwork.d.ts +931 -0
  48. package/types/CalendarStore.d.ts +354 -0
  49. package/types/CallKit.d.ts +30 -0
  50. package/types/Carbon.d.ts +16207 -0
  51. package/types/ClassKit.d.ts +281 -0
  52. package/types/CloudKit.d.ts +1565 -0
  53. package/types/Collaboration.d.ts +123 -0
  54. package/types/ColorSync.d.ts +562 -0
  55. package/types/CompositorServices.d.ts +60 -0
  56. package/types/ComputeGraph.d.ts +16 -0
  57. package/types/Contacts.d.ts +1558 -0
  58. package/types/ContactsUI.d.ts +39 -0
  59. package/types/CoreAudio.d.ts +1376 -0
  60. package/types/CoreAudioKit.d.ts +122 -0
  61. package/types/CoreAudioTypes.d.ts +1003 -0
  62. package/types/CoreBluetooth.d.ts +657 -0
  63. package/types/CoreData.d.ts +2479 -0
  64. package/types/CoreFoundation.d.ts +5546 -0
  65. package/types/CoreGraphics.d.ts +3676 -0
  66. package/types/CoreHaptics.d.ts +361 -0
  67. package/types/CoreImage.d.ts +4781 -0
  68. package/types/CoreLocation.d.ts +564 -0
  69. package/types/CoreMIDI.d.ts +1538 -0
  70. package/types/CoreML.d.ts +905 -0
  71. package/types/CoreMedia.d.ts +2615 -0
  72. package/types/CoreMediaIO.d.ts +1046 -0
  73. package/types/CoreMotion.d.ts +316 -0
  74. package/types/CoreServices.d.ts +24810 -0
  75. package/types/CoreSpotlight.d.ts +789 -0
  76. package/types/CoreTelephony.d.ts +31 -0
  77. package/types/CoreText.d.ts +3973 -0
  78. package/types/CoreTransferable.d.ts +3 -0
  79. package/types/CoreVideo.d.ts +1162 -0
  80. package/types/CoreWLAN.d.ts +556 -0
  81. package/types/CryptoTokenKit.d.ts +548 -0
  82. package/types/DVDPlayback.d.ts +931 -0
  83. package/types/DataDetection.d.ts +66 -0
  84. package/types/DeviceCheck.d.ts +46 -0
  85. package/types/DeviceDiscoveryExtension.d.ts +142 -0
  86. package/types/DirectoryService.d.ts +966 -0
  87. package/types/DiscRecording.d.ts +2345 -0
  88. package/types/DiscRecordingUI.d.ts +288 -0
  89. package/types/DiskArbitration.d.ts +366 -0
  90. package/types/DriverKit.d.ts +639 -0
  91. package/types/EventKit.d.ts +640 -0
  92. package/types/ExceptionHandling.d.ts +56 -0
  93. package/types/ExecutionPolicy.d.ts +30 -0
  94. package/types/ExternalAccessory.d.ts +98 -0
  95. package/types/FSKit.d.ts +237 -0
  96. package/types/FileProvider.d.ts +495 -0
  97. package/types/FileProviderUI.d.ts +31 -0
  98. package/types/FinderSync.d.ts +165 -0
  99. package/types/FocusEngine.d.ts +133 -0
  100. package/types/ForceFeedback.d.ts +399 -0
  101. package/types/Foundation.d.ts +18216 -0
  102. package/types/GLKit.d.ts +937 -0
  103. package/types/GLUT.d.ts +1018 -0
  104. package/types/GSS.d.ts +855 -0
  105. package/types/GameController.d.ts +1394 -0
  106. package/types/GameKit.d.ts +1958 -0
  107. package/types/GameSave.d.ts +54 -0
  108. package/types/GameplayKit.d.ts +1645 -0
  109. package/types/HealthKit.d.ts +278 -0
  110. package/types/Hypervisor.d.ts +2079 -0
  111. package/types/ICADevices.d.ts +1400 -0
  112. package/types/IOBluetooth.d.ts +6094 -0
  113. package/types/IOBluetoothUI.d.ts +250 -0
  114. package/types/IOKit.d.ts +25804 -0
  115. package/types/IOSurface.d.ts +435 -0
  116. package/types/IOUSBHost.d.ts +809 -0
  117. package/types/ImageCaptureCore.d.ts +1104 -0
  118. package/types/ImageIO.d.ts +1697 -0
  119. package/types/InputMethodKit.d.ts +264 -0
  120. package/types/InstallerPlugins.d.ts +102 -0
  121. package/types/InstantMessage.d.ts +229 -0
  122. package/types/Intents.d.ts +1833 -0
  123. package/types/IntentsUI.d.ts +5 -0
  124. package/types/JavaRuntimeSupport.d.ts +520 -0
  125. package/types/JavaScriptCore.d.ts +934 -0
  126. package/types/Kerberos.d.ts +3754 -0
  127. package/types/Kernel.d.ts +33698 -0
  128. package/types/KernelManagement.d.ts +5 -0
  129. package/types/LatentSemanticMapping.d.ts +152 -0
  130. package/types/LinkPresentation.d.ts +57 -0
  131. package/types/LocalAuthentication.d.ts +94 -0
  132. package/types/MLCompute.d.ts +2343 -0
  133. package/types/MapKit.d.ts +2125 -0
  134. package/types/Matter.d.ts +151 -0
  135. package/types/MediaAccessibility.d.ts +137 -0
  136. package/types/MediaLibrary.d.ts +394 -0
  137. package/types/MediaPlayer.d.ts +475 -0
  138. package/types/MediaToolbox.d.ts +70 -0
  139. package/types/Metal.d.ts +4542 -0
  140. package/types/MetalFX.d.ts +107 -0
  141. package/types/MetalKit.d.ts +524 -0
  142. package/types/MetalPerformanceShaders.d.ts +9306 -0
  143. package/types/MetalPerformanceShadersGraph.d.ts +1394 -0
  144. package/types/MetricKit.d.ts +231 -0
  145. package/types/ModelIO.d.ts +2908 -0
  146. package/types/MultipeerConnectivity.d.ts +348 -0
  147. package/types/NaturalLanguage.d.ts +556 -0
  148. package/types/NearbyInteraction.d.ts +51 -0
  149. package/types/NetFS.d.ts +99 -0
  150. package/types/Network.d.ts +1622 -0
  151. package/types/NetworkExtension.d.ts +1574 -0
  152. package/types/NotificationCenter.d.ts +103 -0
  153. package/types/OSAKit.d.ts +260 -0
  154. package/types/OSLog.d.ts +208 -0
  155. package/types/OpenAL.d.ts +314 -0
  156. package/types/OpenCL.d.ts +2489 -0
  157. package/types/OpenDirectory.d.ts +1919 -0
  158. package/types/OpenGL.d.ts +11322 -0
  159. package/types/PCSC.d.ts +534 -0
  160. package/types/PDFKit.d.ts +1575 -0
  161. package/types/PHASE.d.ts +166 -0
  162. package/types/ParavirtualizedGraphics.d.ts +153 -0
  163. package/types/PassKit.d.ts +1287 -0
  164. package/types/PencilKit.d.ts +201 -0
  165. package/types/Photos.d.ts +1125 -0
  166. package/types/PhotosUI.d.ts +397 -0
  167. package/types/PreferencePanes.d.ts +68 -0
  168. package/types/ProximityReaderStub.d.ts +5 -0
  169. package/types/PushKit.d.ts +45 -0
  170. package/types/Quartz.d.ts +1642 -0
  171. package/types/QuartzCore.d.ts +1398 -0
  172. package/types/QuickLook.d.ts +212 -0
  173. package/types/QuickLookThumbnailing.d.ts +131 -0
  174. package/types/QuickLookUI.d.ts +117 -0
  175. package/types/REVISION.json +5 -0
  176. package/types/ReplayKit.d.ts +294 -0
  177. package/types/Runtime.d.ts +51605 -0
  178. package/types/SafariServices.d.ts +430 -0
  179. package/types/SafetyKit.d.ts +7 -0
  180. package/types/SceneKit.d.ts +4996 -0
  181. package/types/ScreenCaptureKit.d.ts +16 -0
  182. package/types/ScreenSaver.d.ts +41 -0
  183. package/types/ScreenTime.d.ts +41 -0
  184. package/types/ScriptingBridge.d.ts +96 -0
  185. package/types/Security.d.ts +14336 -0
  186. package/types/SecurityFoundation.d.ts +53 -0
  187. package/types/SecurityInterface.d.ts +297 -0
  188. package/types/SensorKit.d.ts +7 -0
  189. package/types/ServiceManagement.d.ts +71 -0
  190. package/types/SharedWithYou.d.ts +9 -0
  191. package/types/SharedWithYouCore.d.ts +5 -0
  192. package/types/ShazamKit.d.ts +12 -0
  193. package/types/Social.d.ts +306 -0
  194. package/types/SoundAnalysis.d.ts +177 -0
  195. package/types/Speech.d.ts +246 -0
  196. package/types/SpriteKit.d.ts +2766 -0
  197. package/types/StoreKit.d.ts +509 -0
  198. package/types/SyncServices.d.ts +551 -0
  199. package/types/SystemConfiguration.d.ts +1415 -0
  200. package/types/SystemExtensions.d.ts +89 -0
  201. package/types/TWAIN.d.ts +380 -0
  202. package/types/Tcl.d.ts +4013 -0
  203. package/types/ThreadNetwork.d.ts +77 -0
  204. package/types/Tk.d.ts +3750 -0
  205. package/types/UIUtilities.d.ts +31 -0
  206. package/types/UniformTypeIdentifiers.d.ts +358 -0
  207. package/types/UserNotifications.d.ts +538 -0
  208. package/types/UserNotificationsUI.d.ts +38 -0
  209. package/types/VideoDecodeAcceleration.d.ts +50 -0
  210. package/types/VideoSubscriberAccount.d.ts +139 -0
  211. package/types/VideoToolbox.d.ts +907 -0
  212. package/types/Virtualization.d.ts +302 -0
  213. package/types/Vision.d.ts +1723 -0
  214. package/types/WebKit.d.ts +5195 -0
  215. package/types/WidgetKit.d.ts +9 -0
  216. package/types/_LocationEssentials.d.ts +159 -0
  217. package/types/_ScreenCaptureKit_SwiftUI.d.ts +5 -0
  218. package/types/iTunesLibrary.d.ts +528 -0
  219. package/types/index.d.ts +9 -0
  220. package/types/vecLib.d.ts +33586 -0
  221. package/types/vmnet.d.ts +178 -0
  222. package/src/appkit.d.ts +0 -472
@@ -0,0 +1,151 @@
1
+ /// <reference types="@nativescript/objc-node-api" />
2
+
3
+ declare const MTRDiscoveryCapabilities: {
4
+ Unknown: 0
5
+ SoftAP: 1
6
+ BLE: 2
7
+ OnNetwork: 4
8
+ AllMask: 7
9
+ }
10
+
11
+ declare const MTRLogType: {
12
+ Error: 1
13
+ Progress: 2
14
+ Detail: 3
15
+ }
16
+
17
+ declare const MTRDeviceState: {
18
+ Unknown: 0
19
+ Reachable: 1
20
+ Unreachable: 2
21
+ }
22
+
23
+ declare const MTROptionalQRCodeInfoType: {
24
+ String: 1
25
+ Int32: 2
26
+ }
27
+
28
+ declare interface MTROTAProviderDelegate extends NSObjectProtocol {}
29
+
30
+ declare class MTROTAProviderDelegate extends NativeObject implements MTROTAProviderDelegate {}
31
+
32
+ declare interface MTRDeviceControllerClientProtocol extends NSObjectProtocol {
33
+ handleReportWithControllerNodeIdValuesError(
34
+ controller: interop.Object | null,
35
+ nodeId: number,
36
+ values: interop.Object | null,
37
+ error: NSError | null,
38
+ ): void
39
+ }
40
+
41
+ declare class MTRDeviceControllerClientProtocol
42
+ extends NativeObject
43
+ implements MTRDeviceControllerClientProtocol {}
44
+
45
+ declare interface MTRDeviceControllerServerProtocol extends NSObjectProtocol {
46
+ getAnyDeviceControllerWithCompletion(completion: (p1: interop.Object, p2: NSError) => void): void
47
+
48
+ readAttributeWithControllerNodeIdEndpointIdClusterIdAttributeIdParamsCompletion(
49
+ controller: interop.Object | null,
50
+ nodeId: number,
51
+ endpointId: NSNumber | null,
52
+ clusterId: NSNumber | null,
53
+ attributeId: NSNumber | null,
54
+ params:
55
+ | NSDictionary<interop.Object, interop.Object>
56
+ | Record<interop.Object, interop.Object>
57
+ | null,
58
+ completion: (p1: interop.Object, p2: NSError) => void,
59
+ ): void
60
+
61
+ writeAttributeWithControllerNodeIdEndpointIdClusterIdAttributeIdValueTimedWriteTimeoutCompletion(
62
+ controller: interop.Object | null,
63
+ nodeId: number,
64
+ endpointId: NSNumber,
65
+ clusterId: NSNumber,
66
+ attributeId: NSNumber,
67
+ value: interop.Object,
68
+ timeoutMs: NSNumber | null,
69
+ completion: (p1: interop.Object, p2: NSError) => void,
70
+ ): void
71
+
72
+ invokeCommandWithControllerNodeIdEndpointIdClusterIdCommandIdFieldsTimedInvokeTimeoutCompletion(
73
+ controller: interop.Object | null,
74
+ nodeId: number,
75
+ endpointId: NSNumber,
76
+ clusterId: NSNumber,
77
+ commandId: NSNumber,
78
+ fields: interop.Object,
79
+ timeoutMs: NSNumber | null,
80
+ completion: (p1: interop.Object, p2: NSError) => void,
81
+ ): void
82
+
83
+ subscribeAttributeWithControllerNodeIdEndpointIdClusterIdAttributeIdMinIntervalMaxIntervalParamsEstablishedHandler(
84
+ controller: interop.Object | null,
85
+ nodeId: number,
86
+ endpointId: NSNumber | null,
87
+ clusterId: NSNumber | null,
88
+ attributeId: NSNumber | null,
89
+ minInterval: NSNumber,
90
+ maxInterval: NSNumber,
91
+ params:
92
+ | NSDictionary<interop.Object, interop.Object>
93
+ | Record<interop.Object, interop.Object>
94
+ | null,
95
+ establishedHandler: () => void,
96
+ ): void
97
+
98
+ stopReportsWithControllerNodeIdCompletion(
99
+ controller: interop.Object | null,
100
+ nodeId: number,
101
+ completion: () => void,
102
+ ): void
103
+
104
+ subscribeWithControllerNodeIdMinIntervalMaxIntervalParamsShouldCacheCompletion(
105
+ controller: interop.Object | null,
106
+ nodeId: number,
107
+ minInterval: NSNumber,
108
+ maxInterval: NSNumber,
109
+ params:
110
+ | NSDictionary<interop.Object, interop.Object>
111
+ | Record<interop.Object, interop.Object>
112
+ | null,
113
+ shouldCache: boolean,
114
+ completion: (p1: NSError) => void,
115
+ ): void
116
+
117
+ readAttributeCacheWithControllerNodeIdEndpointIdClusterIdAttributeIdCompletion(
118
+ controller: interop.Object | null,
119
+ nodeId: number,
120
+ endpointId: NSNumber | null,
121
+ clusterId: NSNumber | null,
122
+ attributeId: NSNumber | null,
123
+ completion: (p1: interop.Object, p2: NSError) => void,
124
+ ): void
125
+ }
126
+
127
+ declare class MTRDeviceControllerServerProtocol
128
+ extends NativeObject
129
+ implements MTRDeviceControllerServerProtocol {}
130
+
131
+ declare interface MTRDeviceDelegate extends NSObjectProtocol {
132
+ deviceStateChanged(device: MTRDevice, state: interop.Enum<typeof MTRDeviceState>): void
133
+
134
+ deviceReceivedAttributeReport(
135
+ device: MTRDevice,
136
+ attributeReport: NSArray<interop.Object> | Array<interop.Object>,
137
+ ): void
138
+
139
+ deviceReceivedEventReport(
140
+ device: MTRDevice,
141
+ eventReport: NSArray<interop.Object> | Array<interop.Object>,
142
+ ): void
143
+ }
144
+
145
+ declare class MTRDeviceDelegate extends NativeObject implements MTRDeviceDelegate {}
146
+
147
+ declare interface MTRDeviceAttestationDelegate extends NSObjectProtocol {}
148
+
149
+ declare class MTRDeviceAttestationDelegate
150
+ extends NativeObject
151
+ implements MTRDeviceAttestationDelegate {}
@@ -0,0 +1,137 @@
1
+ /// <reference types="@nativescript/objc-node-api" />
2
+
3
+ declare const MAMediaCharacteristicTranscribesSpokenDialogForAccessibility: interop.Pointer
4
+
5
+ declare const MAMediaCharacteristicDescribesMusicAndSoundForAccessibility: interop.Pointer
6
+
7
+ declare const kMACaptionAppearanceSettingsChangedNotification: interop.Pointer
8
+
9
+ declare const MAMediaCharacteristicDescribesVideoForAccessibility: interop.Pointer
10
+
11
+ declare const kMAAudibleMediaSettingsChangedNotification: interop.Pointer
12
+
13
+ declare const MACaptionAppearanceTextEdgeStyle: {
14
+ Undefined: 0
15
+ None: 1
16
+ Raised: 2
17
+ Depressed: 3
18
+ Uniform: 4
19
+ DropShadow: 5
20
+ }
21
+
22
+ declare const MACaptionAppearanceFontStyle: {
23
+ Default: 0
24
+ MonospacedWithSerif: 1
25
+ ProportionalWithSerif: 2
26
+ MonospacedWithoutSerif: 3
27
+ ProportionalWithoutSerif: 4
28
+ Casual: 5
29
+ Cursive: 6
30
+ SmallCapital: 7
31
+ }
32
+
33
+ declare const MACaptionAppearanceBehavior: {
34
+ Value: 0
35
+ ContentIfAvailable: 1
36
+ }
37
+
38
+ declare const MACaptionAppearanceDisplayType: {
39
+ ForcedOnly: 0
40
+ Automatic: 1
41
+ AlwaysOn: 2
42
+ }
43
+
44
+ declare const MACaptionAppearanceDomain: {
45
+ Default: 0
46
+ User: 1
47
+ }
48
+
49
+ declare function MACaptionAppearanceDidDisplayCaptions(strings: interop.Object): void
50
+
51
+ declare function MACaptionAppearanceAddSelectedLanguage(
52
+ domain: interop.Enum<typeof MACaptionAppearanceDomain>,
53
+ language: interop.Object,
54
+ ): boolean
55
+
56
+ declare function MACaptionAppearanceCopySelectedLanguages(
57
+ domain: interop.Enum<typeof MACaptionAppearanceDomain>,
58
+ ): interop.Object
59
+
60
+ declare function MACaptionAppearanceGetDisplayType(
61
+ domain: interop.Enum<typeof MACaptionAppearanceDomain>,
62
+ ): interop.Enum<typeof MACaptionAppearanceDisplayType>
63
+
64
+ declare function MACaptionAppearanceSetDisplayType(
65
+ domain: interop.Enum<typeof MACaptionAppearanceDomain>,
66
+ displayType: interop.Enum<typeof MACaptionAppearanceDisplayType>,
67
+ ): void
68
+
69
+ declare function MACaptionAppearanceCopyPreferredCaptioningMediaCharacteristics(
70
+ domain: interop.Enum<typeof MACaptionAppearanceDomain>,
71
+ ): interop.Object
72
+
73
+ declare function MACaptionAppearanceCopyForegroundColor(
74
+ domain: interop.Enum<typeof MACaptionAppearanceDomain>,
75
+ behavior: interop.PointerConvertible,
76
+ ): interop.Object
77
+
78
+ declare function MACaptionAppearanceCopyBackgroundColor(
79
+ domain: interop.Enum<typeof MACaptionAppearanceDomain>,
80
+ behavior: interop.PointerConvertible,
81
+ ): interop.Object
82
+
83
+ declare function MACaptionAppearanceCopyWindowColor(
84
+ domain: interop.Enum<typeof MACaptionAppearanceDomain>,
85
+ behavior: interop.PointerConvertible,
86
+ ): interop.Object
87
+
88
+ declare function MACaptionAppearanceGetForegroundOpacity(
89
+ domain: interop.Enum<typeof MACaptionAppearanceDomain>,
90
+ behavior: interop.PointerConvertible,
91
+ ): number
92
+
93
+ declare function MACaptionAppearanceGetBackgroundOpacity(
94
+ domain: interop.Enum<typeof MACaptionAppearanceDomain>,
95
+ behavior: interop.PointerConvertible,
96
+ ): number
97
+
98
+ declare function MACaptionAppearanceGetWindowOpacity(
99
+ domain: interop.Enum<typeof MACaptionAppearanceDomain>,
100
+ behavior: interop.PointerConvertible,
101
+ ): number
102
+
103
+ declare function MACaptionAppearanceGetWindowRoundedCornerRadius(
104
+ domain: interop.Enum<typeof MACaptionAppearanceDomain>,
105
+ behavior: interop.PointerConvertible,
106
+ ): number
107
+
108
+ declare function MACaptionAppearanceCopyFontDescriptorForStyle(
109
+ domain: interop.Enum<typeof MACaptionAppearanceDomain>,
110
+ behavior: interop.PointerConvertible,
111
+ fontStyle: interop.Enum<typeof MACaptionAppearanceFontStyle>,
112
+ ): interop.Object
113
+
114
+ declare function MACaptionAppearanceGetRelativeCharacterSize(
115
+ domain: interop.Enum<typeof MACaptionAppearanceDomain>,
116
+ behavior: interop.PointerConvertible,
117
+ ): number
118
+
119
+ declare function MACaptionAppearanceGetTextEdgeStyle(
120
+ domain: interop.Enum<typeof MACaptionAppearanceDomain>,
121
+ behavior: interop.PointerConvertible,
122
+ ): interop.Enum<typeof MACaptionAppearanceTextEdgeStyle>
123
+
124
+ declare function MAAudibleMediaCopyPreferredCharacteristics(): interop.Object
125
+
126
+ declare function MAImageCaptioningCopyCaption(
127
+ url: interop.Object,
128
+ error: interop.PointerConvertible,
129
+ ): interop.Object
130
+
131
+ declare function MAImageCaptioningSetCaption(
132
+ url: interop.Object,
133
+ string: interop.Object,
134
+ error: interop.PointerConvertible,
135
+ ): boolean
136
+
137
+ declare function MAImageCaptioningCopyMetadataTagPath(): interop.Object
@@ -0,0 +1,394 @@
1
+ /// <reference types="@nativescript/objc-node-api" />
2
+ /// <reference path="./Runtime.d.ts" />
3
+
4
+ declare const MLMediaLoadAppleLoops: string
5
+
6
+ declare const MLMediaLoadFoldersKey: string
7
+
8
+ declare const MLMediaLoadSourceTypesKey: string
9
+
10
+ declare const MLMediaSourceMoviesFolderIdentifier: string
11
+
12
+ declare const MLMediaSourceCustomFoldersIdentifier: string
13
+
14
+ declare const MLMediaSourcePhotoBoothIdentifier: string
15
+
16
+ declare const MLMediaSourceGarageBandIdentifier: string
17
+
18
+ declare const MLMediaSourceiMovieIdentifier: string
19
+
20
+ declare const MLMediaSourceiPhotoIdentifier: string
21
+
22
+ declare const MLMediaSourcePhotosIdentifier: string
23
+
24
+ declare const MLMediaObjectProtectedKey: string
25
+
26
+ declare const MLMediaObjectKeywordsKey: string
27
+
28
+ declare const MLMediaObjectResolutionStringKey: string
29
+
30
+ declare const MLMediaObjectSampleRateKey: string
31
+
32
+ declare const MLMediaObjectGenreKey: string
33
+
34
+ declare const MLMediaObjectDurationKey: string
35
+
36
+ declare const MLFinalCutEventCalendarGroupTypeIdentifier: string
37
+
38
+ declare const MLFinalCutEventLibraryGroupTypeIdentifier: string
39
+
40
+ declare const MLFinalCutProjectGroupTypeIdentifier: string
41
+
42
+ declare const MLFinalCutRootGroupTypeIdentifier: string
43
+
44
+ declare const MLiMovieFolderGroupTypeIdentifier: string
45
+
46
+ declare const MLiMovieEventCalendarGroupTypeIdentifier: string
47
+
48
+ declare const MLiMovieEventLibraryGroupTypeIdentifier: string
49
+
50
+ declare const MLLogicProjectTypeIdentifier: string
51
+
52
+ declare const MLLogicRootGroupTypeIdentifier: string
53
+
54
+ declare const MLGarageBandRootGroupTypeIdentifier: string
55
+
56
+ declare const MLAperturePhotoStreamAlbumTypeIdentifier: string
57
+
58
+ declare const MLApertureLastNMonthsAlbumTypeIdentifier: string
59
+
60
+ declare const MLAperturePlacesPointOfInterestAlbumTypeIdentifier: string
61
+
62
+ declare const MLAperturePlacesCityAlbumTypeIdentifier: string
63
+
64
+ declare const MLApertureFacesAlbumTypeIdentifier: string
65
+
66
+ declare const MLApertureFlaggedTypeIdentifier: string
67
+
68
+ declare const MLApertureAllPhotosTypeIdentifier: string
69
+
70
+ declare const MLApertureSlideShowTypeIdentifier: string
71
+
72
+ declare const MLApertureSmugMugGroupTypeIdentifier: string
73
+
74
+ declare const MLApertureFacebookAlbumTypeIdentifier: string
75
+
76
+ declare const MLApertureFacebookGroupTypeIdentifier: string
77
+
78
+ declare const MLApertureFlickrAlbumTypeIdentifier: string
79
+
80
+ declare const MLApertureProjectAlbumTypeIdentifier: string
81
+
82
+ declare const MLiPhotoSlideShowAlbumTypeIdentifier: string
83
+
84
+ declare const MLiPhotoFlickrGroupTypeIdentifier: string
85
+
86
+ declare const MLiPhotoPlacesCityAlbumTypeIdentifier: string
87
+
88
+ declare const MLiPhotoPlacesAlbumTypeIdentifier: string
89
+
90
+ declare const MLiPhotoSubscribedAlbumTypeIdentifier: string
91
+
92
+ declare const MLiPhotoFlaggedAlbumTypeIdentifier: string
93
+
94
+ declare const MLiPhotoLastNMonthsAlbumTypeIdentifier: string
95
+
96
+ declare const MLiPhotoLastImportAlbumTypeIdentifier: string
97
+
98
+ declare const MLiPhotoEventAlbumTypeIdentifier: string
99
+
100
+ declare const MLiPhotoSmartAlbumTypeIdentifier: string
101
+
102
+ declare const MLPhotosAllPhotosAlbumTypeIdentifier: string
103
+
104
+ declare const MLPhotosScreenshotGroupTypeIdentifier: string
105
+
106
+ declare const MLPhotosVideosGroupTypeIdentifier: string
107
+
108
+ declare const MLPhotosAnimatedGroupTypeIdentifier: string
109
+
110
+ declare const MLPhotosFavoritesGroupTypeIdentifier: string
111
+
112
+ declare const MLPhotosSharedPhotoStreamTypeIdentifier: string
113
+
114
+ declare const MLPhotosLastImportGroupTypeIdentifier: string
115
+
116
+ declare const MLPhotosYearGroupTypeIdentifier: string
117
+
118
+ declare const MLPhotosAllYearsGroupTypeIdentifier: string
119
+
120
+ declare const MLPhotosCollectionGroupTypeIdentifier: string
121
+
122
+ declare const MLPhotosAllCollectionsGroupTypeIdentifier: string
123
+
124
+ declare const MLPhotosMomentGroupTypeIdentifier: string
125
+
126
+ declare const MLPhotosAllMomentsGroupTypeIdentifier: string
127
+
128
+ declare const MLPhotosPublishedAlbumTypeIdentifier: string
129
+
130
+ declare const MLPhotosAlbumsGroupTypeIdentifier: string
131
+
132
+ declare const MLPhotosSharedGroupTypeIdentifier: string
133
+
134
+ declare const MLiTunesiTunesUPlaylistTypeIdentifier: string
135
+
136
+ declare const MLiTunesSavedGeniusPlaylistTypeIdentifier: string
137
+
138
+ declare const MLiTunesAudioBooksPlaylistTypeIdentifier: string
139
+
140
+ declare const MLiTunesTVShowsPlaylistTypeIdentifier: string
141
+
142
+ declare const MLiTunesFolderPlaylistTypeIdentifier: string
143
+
144
+ declare const MLiTunesVideoPlaylistTypeIdentifier: string
145
+
146
+ declare const MLiTunesPurchasedPlaylistTypeIdentifier: string
147
+
148
+ declare const MLPhotosTimelapseGroupTypeIdentifier: string
149
+
150
+ declare const MLiMovieEventGroupTypeIdentifier: string
151
+
152
+ declare const MLPhotosPanoramasGroupTypeIdentifier: string
153
+
154
+ declare const MLApertureFolderAlbumTypeIdentifier: string
155
+
156
+ declare const MLApertureUserSmartAlbumTypeIdentifier: string
157
+
158
+ declare const MLMediaObjectBitRateKey: string
159
+
160
+ declare const MLApertureAllProjectsTypeIdentifier: string
161
+
162
+ declare const MLMediaLoadIncludeSourcesKey: string
163
+
164
+ declare const MLiPhotoLibraryAlbumTypeIdentifier: string
165
+
166
+ declare const MLApertureUserAlbumTypeIdentifier: string
167
+
168
+ declare const MLMediaLoadExcludeSourcesKey: string
169
+
170
+ declare const MLiPhotoPhotoStreamAlbumTypeIdentifier: string
171
+
172
+ declare const MLPhotosBurstGroupTypeIdentifier: string
173
+
174
+ declare const MLFolderRootGroupTypeIdentifier: string
175
+
176
+ declare const MLiTunesSmartPlaylistTypeIdentifier: string
177
+
178
+ declare const MLMediaSourceFinalCutIdentifier: string
179
+
180
+ declare const MLiPhotoFacebookAlbumTypeIdentifier: string
181
+
182
+ declare const MLiPhotoAlbumTypeIdentifier: string
183
+
184
+ declare const MLMediaObjectKindKey: string
185
+
186
+ declare const MLMediaObjectAlbumKey: string
187
+
188
+ declare const MLMediaSourceAppDefinedFoldersIdentifier: string
189
+
190
+ declare const MLLogicBouncesGroupTypeIdentifier: string
191
+
192
+ declare const MLiPhotoFacebookGroupTypeIdentifier: string
193
+
194
+ declare const MLMediaSourceApertureIdentifier: string
195
+
196
+ declare const MLMediaLoadMoviesFolder: string
197
+
198
+ declare const MLiPhotoFolderAlbumTypeIdentifier: string
199
+
200
+ declare const MLApertureLightTableTypeIdentifier: string
201
+
202
+ declare const MLiMovieProjectGroupTypeIdentifier: string
203
+
204
+ declare const MLPhotosMyPhotoStreamTypeIdentifier: string
205
+
206
+ declare const MLiPhotoPlacesProvinceAlbumTypeIdentifier: string
207
+
208
+ declare const MLGarageBandFolderGroupTypeIdentifier: string
209
+
210
+ declare const MLLogicProjectsGroupTypeIdentifier: string
211
+
212
+ declare const MLAperturePlacesCountryAlbumTypeIdentifier: string
213
+
214
+ declare const MLiTunesGeniusPlaylistTypeIdentifier: string
215
+
216
+ declare const MLMediaObjectChannelCountKey: string
217
+
218
+ declare const MLMediaObjectCommentsKey: string
219
+
220
+ declare const MLFinalCutFolderGroupTypeIdentifier: string
221
+
222
+ declare const MLApertureRootGroupTypeIdentifier: string
223
+
224
+ declare const MLPhotosFacesAlbumTypeIdentifier: string
225
+
226
+ declare const MLiTunesRootGroupTypeIdentifier: string
227
+
228
+ declare const MLiMovieRootGroupTypeIdentifier: string
229
+
230
+ declare const MLMediaObjectArtistKey: string
231
+
232
+ declare const MLMediaObjectTrackNumberKey: string
233
+
234
+ declare const MLPhotosLivePhotosGroupTypeIdentifier: string
235
+
236
+ declare const MLiPhotoFacesAlbumTypeIdentifier: string
237
+
238
+ declare const MLApertureFlickrGroupTypeIdentifier: string
239
+
240
+ declare const MLiPhotoLastViewedEventAlbumTypeIdentifier: string
241
+
242
+ declare const MLMediaLoadAppFoldersKey: string
243
+
244
+ declare const MLPhotosSmartAlbumTypeIdentifier: string
245
+
246
+ declare const MLPhotosAlbumTypeIdentifier: string
247
+
248
+ declare const MLApertureLastViewedEventAlbumTypeIdentifier: string
249
+
250
+ declare const MLMediaSourceLogicIdentifier: string
251
+
252
+ declare const MLFolderGroupTypeIdentifier: string
253
+
254
+ declare const MLApertureProjectFolderAlbumTypeIdentifier: string
255
+
256
+ declare const MLiPhotoRootGroupTypeIdentifier: string
257
+
258
+ declare const MLiPhotoPlacesPointOfInterestAlbumTypeIdentifier: string
259
+
260
+ declare const MLiTunesMusicPlaylistTypeIdentifier: string
261
+
262
+ declare const MLAperturePlacesAlbumTypeIdentifier: string
263
+
264
+ declare const MLiTunesMusicVideosPlaylistTypeIdentifier: string
265
+
266
+ declare const MLPhotosDepthEffectGroupTypeIdentifier: string
267
+
268
+ declare const MLiTunesPlaylistTypeIdentifier: string
269
+
270
+ declare const MLiTunesPodcastPlaylistTypeIdentifier: string
271
+
272
+ declare const MLPhotosFrontCameraGroupTypeIdentifier: string
273
+
274
+ declare const MLPhotosSloMoGroupTypeIdentifier: string
275
+
276
+ declare const MLApertureLastImportAlbumTypeIdentifier: string
277
+
278
+ declare const MLPhotosFolderTypeIdentifier: string
279
+
280
+ declare const MLPhotosLongExposureGroupTypeIdentifier: string
281
+
282
+ declare const MLAperturePlacesProvinceAlbumTypeIdentifier: string
283
+
284
+ declare const MLApertureSmugMugAlbumTypeIdentifier: string
285
+
286
+ declare const MLiPhotoPlacesCountryAlbumTypeIdentifier: string
287
+
288
+ declare const MLFinalCutEventGroupTypeIdentifier: string
289
+
290
+ declare const MLiTunesMoviesPlaylistTypeIdentifier: string
291
+
292
+ declare const MLMediaSourceiTunesIdentifier: string
293
+
294
+ declare const MLiPhotoFlickrAlbumTypeIdentifier: string
295
+
296
+ declare const MLPhotosRootGroupTypeIdentifier: string
297
+
298
+ declare const MLiPhotoEventsFolderTypeIdentifier: string
299
+
300
+ declare const MLMediaType: {
301
+ Audio: 1
302
+ Image: 2
303
+ Movie: 4
304
+ }
305
+
306
+ declare const MLMediaSourceType: {
307
+ Audio: 1
308
+ Image: 2
309
+ Movie: 4
310
+ }
311
+
312
+ declare class MLMediaObject extends NSObject {
313
+ readonly mediaLibrary: MLMediaLibrary
314
+
315
+ readonly identifier: string
316
+
317
+ readonly mediaSourceIdentifier: string
318
+
319
+ readonly attributes: NSDictionary
320
+
321
+ readonly mediaType: interop.Enum<typeof MLMediaType>
322
+
323
+ readonly contentType: string
324
+
325
+ readonly name: string
326
+
327
+ readonly URL: NSURL
328
+
329
+ readonly originalURL: NSURL
330
+
331
+ readonly fileSize: number
332
+
333
+ readonly modificationDate: NSDate
334
+
335
+ readonly thumbnailURL: NSURL
336
+
337
+ readonly artworkImage: NSImage
338
+ }
339
+
340
+ declare class MLMediaGroup extends NSObject {
341
+ readonly mediaLibrary: MLMediaLibrary
342
+
343
+ readonly parent: MLMediaGroup
344
+
345
+ readonly mediaSourceIdentifier: string
346
+
347
+ readonly name: string
348
+
349
+ readonly identifier: string
350
+
351
+ readonly typeIdentifier: string
352
+
353
+ readonly attributes: NSDictionary
354
+
355
+ readonly childGroups: NSArray
356
+
357
+ readonly URL: NSURL
358
+
359
+ readonly modificationDate: NSDate
360
+
361
+ readonly iconImage: NSImage
362
+
363
+ readonly mediaObjects: NSArray
364
+ }
365
+
366
+ declare class MLMediaLibrary extends NSObject {
367
+ initWithOptions(
368
+ options: NSDictionary<interop.Object, interop.Object> | Record<interop.Object, interop.Object>,
369
+ ): this
370
+
371
+ readonly mediaSources: NSDictionary
372
+ }
373
+
374
+ declare class MLMediaSource extends NSObject {
375
+ readonly mediaLibrary: MLMediaLibrary
376
+
377
+ readonly mediaSourceIdentifier: string
378
+
379
+ readonly attributes: NSDictionary
380
+
381
+ readonly rootMediaGroup: MLMediaGroup
382
+
383
+ mediaGroupForIdentifier(mediaGroupIdentifier: string): MLMediaGroup
384
+
385
+ mediaGroupsForIdentifiers(
386
+ mediaGroupIdentifiers: NSArray<interop.Object> | Array<interop.Object>,
387
+ ): NSDictionary
388
+
389
+ mediaObjectForIdentifier(mediaObjectIdentifier: string): MLMediaObject
390
+
391
+ mediaObjectsForIdentifiers(
392
+ mediaObjectIdentifiers: NSArray<interop.Object> | Array<interop.Object>,
393
+ ): NSDictionary
394
+ }