@nativescript/types-ios
Advanced tools
Comparing version 8.5.0 to 8.6.0
@@ -111,3 +111,2 @@ /// <reference path="runtime.d.ts" /> | ||
/// <reference path="objc-x86_64/objc!NetworkExtension.d.ts" /> | ||
/// <reference path="objc-x86_64/objc!NewsstandKit.d.ts" /> | ||
/// <reference path="objc-x86_64/objc!NotificationCenter.d.ts" /> | ||
@@ -134,5 +133,7 @@ /// <reference path="objc-x86_64/objc!OSLog.d.ts" /> | ||
/// <reference path="objc-x86_64/objc!SafariServices.d.ts" /> | ||
/// <reference path="objc-x86_64/objc!SafetyKit.d.ts" /> | ||
/// <reference path="objc-x86_64/objc!SceneKit.d.ts" /> | ||
/// <reference path="objc-x86_64/objc!ScreenTime.d.ts" /> | ||
/// <reference path="objc-x86_64/objc!Security.d.ts" /> | ||
/// <reference path="objc-x86_64/objc!SensitiveContentAnalysis.d.ts" /> | ||
/// <reference path="objc-x86_64/objc!SensorKit.d.ts" /> | ||
@@ -148,2 +149,3 @@ /// <reference path="objc-x86_64/objc!SharedWithYou.d.ts" /> | ||
/// <reference path="objc-x86_64/objc!StoreKit.d.ts" /> | ||
/// <reference path="objc-x86_64/objc!Symbols.d.ts" /> | ||
/// <reference path="objc-x86_64/objc!SystemConfiguration.d.ts" /> | ||
@@ -168,2 +170,3 @@ /// <reference path="objc-x86_64/objc!TNSWidgets.d.ts" /> | ||
/// <reference path="objc-x86_64/objc!libkern.d.ts" /> | ||
/// <reference path="objc-x86_64/objc!libunwind.d.ts" /> | ||
/// <reference path="objc-x86_64/objc!libxml2.d.ts" /> | ||
@@ -175,3 +178,4 @@ /// <reference path="objc-x86_64/objc!networkext.d.ts" /> | ||
/// <reference path="objc-x86_64/objc!os_workgroup.d.ts" /> | ||
/// <reference path="objc-x86_64/objc!rpc.d.ts" /> | ||
/// <reference path="objc-x86_64/objc!simd.d.ts" /> | ||
/// <reference path="objc-x86_64/objc!zlib.d.ts" /> |
declare function AXAnimatedImagesEnabled(): boolean; | ||
declare var AXAnimatedImagesEnabledDidChangeNotification: string; | ||
declare class AXBrailleMap extends NSObject implements NSCopying, NSSecureCoding { | ||
@@ -169,2 +173,4 @@ | ||
accessibilityCustomContent: NSArray<AXCustomContent>; | ||
accessibilityCustomContentBlock?: () => NSArray<AXCustomContent>; | ||
} | ||
@@ -334,2 +340,6 @@ declare var AXCustomContentProvider: { | ||
declare function AXPrefersHorizontalTextLayout(): boolean; | ||
declare var AXPrefersHorizontalTextLayoutDidChangeNotification: string; | ||
declare function AXSupportsBidirectionalAXMFiHearingDeviceStreaming(): boolean; |
interface OS_at_encoder extends NSObjectProtocol { | ||
} | ||
declare var OS_at_encoder: { | ||
prototype: OS_at_encoder; | ||
}; | ||
declare const enum at_alpha_t { | ||
@@ -114,29 +107,29 @@ | ||
declare function at_encoder_compress_texels(encoder: NSObject, src: interop.Pointer | interop.Reference<at_texel_region_t>, dest: interop.Pointer | interop.Reference<at_block_buffer_t>, errorThreshold: number, flags: at_flags_t): number; | ||
declare function at_encoder_compress_texels(encoder: interop.Pointer | interop.Reference<any>, src: interop.Pointer | interop.Reference<at_texel_region_t>, dest: interop.Pointer | interop.Reference<at_block_buffer_t>, errorThreshold: number, flags: at_flags_t): number; | ||
declare function at_encoder_create(texelType: at_texel_format_t, texelAlphaType: at_alpha_t, blockType: at_block_format_t, blockAlphaType: at_alpha_t, backgroundColor: interop.Pointer | interop.Reference<number>): NSObject; | ||
declare function at_encoder_create(texelType: at_texel_format_t, texelAlphaType: at_alpha_t, blockType: at_block_format_t, blockAlphaType: at_alpha_t, backgroundColor: interop.Pointer | interop.Reference<number>): interop.Pointer | interop.Reference<any>; | ||
declare function at_encoder_decompress_texels(encoder: NSObject, src: interop.Pointer | interop.Reference<at_block_buffer_t>, dest: interop.Pointer | interop.Reference<at_texel_region_t>, flags: at_flags_t): at_error_t; | ||
declare function at_encoder_decompress_texels(encoder: interop.Pointer | interop.Reference<any>, src: interop.Pointer | interop.Reference<at_block_buffer_t>, dest: interop.Pointer | interop.Reference<at_texel_region_t>, flags: at_flags_t): at_error_t; | ||
declare function at_encoder_get_block_address(encoder: NSObject, texelPosition: at_size_t, imageSize: at_size_t, blockInfo: interop.Pointer | interop.Reference<at_block_buffer_t>): interop.Pointer | interop.Reference<any>; | ||
declare function at_encoder_get_block_address(encoder: interop.Pointer | interop.Reference<any>, texelPosition: at_size_t, imageSize: at_size_t, blockInfo: interop.Pointer | interop.Reference<at_block_buffer_t>): interop.Pointer | interop.Reference<any>; | ||
declare function at_encoder_get_block_alpha(encoder: NSObject): at_alpha_t; | ||
declare function at_encoder_get_block_alpha(encoder: interop.Pointer | interop.Reference<any>): at_alpha_t; | ||
declare function at_encoder_get_block_counts(encoder: NSObject, imageSize: at_size_t): at_size_t; | ||
declare function at_encoder_get_block_counts(encoder: interop.Pointer | interop.Reference<any>, imageSize: at_size_t): at_size_t; | ||
declare function at_encoder_get_block_dimensions(encoder: NSObject): at_size_t; | ||
declare function at_encoder_get_block_dimensions(encoder: interop.Pointer | interop.Reference<any>): at_size_t; | ||
declare function at_encoder_get_block_format(encoder: NSObject): at_block_format_t; | ||
declare function at_encoder_get_block_format(encoder: interop.Pointer | interop.Reference<any>): at_block_format_t; | ||
declare function at_encoder_get_block_size(encoder: NSObject): number; | ||
declare function at_encoder_get_block_size(encoder: interop.Pointer | interop.Reference<any>): number; | ||
declare function at_encoder_get_texel_alpha(encoder: NSObject): at_alpha_t; | ||
declare function at_encoder_get_texel_alpha(encoder: interop.Pointer | interop.Reference<any>): at_alpha_t; | ||
declare function at_encoder_get_texel_format(encoder: NSObject): at_texel_format_t; | ||
declare function at_encoder_get_texel_format(encoder: interop.Pointer | interop.Reference<any>): at_texel_format_t; | ||
declare function at_encoder_get_version(): number; | ||
declare function at_encoder_is_compression_monolithic(encoder: NSObject, flags: at_flags_t): boolean; | ||
declare function at_encoder_is_compression_monolithic(encoder: interop.Pointer | interop.Reference<any>, flags: at_flags_t): boolean; | ||
declare function at_encoder_is_decompression_monolithic(encoder: NSObject, flags: at_flags_t): boolean; | ||
declare function at_encoder_is_decompression_monolithic(encoder: interop.Pointer | interop.Reference<any>, flags: at_flags_t): boolean; | ||
@@ -143,0 +136,0 @@ declare const enum at_error_t { |
@@ -1723,4 +1723,2 @@ | ||
delegateQueue: NSObject; | ||
readonly identifier: NSUUID; | ||
@@ -1727,0 +1725,0 @@ |
@@ -34,3 +34,11 @@ | ||
PictureInPictureStartFailed = -1001 | ||
PictureInPictureStartFailed = -1001, | ||
ContentRatingUnknown = -1100, | ||
ContentDisallowedByPasscode = -1101, | ||
ContentDisallowedByProfile = -1102, | ||
RecordingFailed = -1200 | ||
} | ||
@@ -216,2 +224,4 @@ | ||
readonly toggleLookupAction: UIAction; | ||
updatesNowPlayingInfoCenter: boolean; | ||
@@ -221,2 +231,4 @@ | ||
videoFrameAnalysisTypes: AVVideoFrameAnalysisType; | ||
videoGravity: string; | ||
@@ -295,1 +307,16 @@ | ||
}; | ||
declare const enum AVVideoFrameAnalysisType { | ||
None = 0, | ||
Default = 1, | ||
Text = 2, | ||
Subject = 4, | ||
VisualSearch = 8, | ||
MachineReadableCode = 16 | ||
} |
@@ -10,3 +10,3 @@ | ||
readonly networkEndpoint: NSObject; | ||
readonly networkEndpoint: interop.Pointer | interop.Reference<any>; | ||
} | ||
@@ -13,0 +13,0 @@ |
@@ -10,2 +10,4 @@ | ||
readonly restrictedEssentialDownloadSizeRemaining: number; | ||
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding | ||
@@ -37,2 +39,4 @@ | ||
readonly isEssential: boolean; | ||
readonly priority: number; | ||
@@ -48,2 +52,4 @@ | ||
copyAsNonEssential(): this; | ||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any; | ||
@@ -68,2 +74,4 @@ | ||
fetchCurrentDownloads(): NSArray<BADownload>; | ||
fetchCurrentDownloadsWithCompletionHandler(completionHandler: (p1: NSArray<BADownload>, p2: NSError) => void): void; | ||
@@ -135,4 +143,41 @@ | ||
declare class BAURLDownload extends BADownload { | ||
declare const enum BAErrorCode { | ||
DownloadInvalid = 0, | ||
CallFromExtensionNotAllowed = 50, | ||
CallFromInactiveProcessNotAllowed = 51, | ||
CallerConnectionNotAccepted = 55, | ||
CallerConnectionInvalid = 56, | ||
DownloadAlreadyScheduled = 100, | ||
DownloadNotScheduled = 101, | ||
DownloadFailedToStart = 102, | ||
DownloadAlreadyFailed = 103, | ||
DownloadEssentialDownloadNotPermitted = 109, | ||
DownloadBackgroundActivityProhibited = 111, | ||
DownloadWouldExceedAllowance = 112, | ||
SessionDownloadDisallowedByDomain = 202, | ||
SessionDownloadDisallowedByAllowance = 203, | ||
SessionDownloadAllowanceExceeded = 204, | ||
SessionDownloadNotPermittedBeforeAppLaunch = 206 | ||
} | ||
declare var BAErrorDomain: string; | ||
declare class BAURLDownload extends BADownload implements NSCopying { | ||
static alloc(): BAURLDownload; // inherited from NSObject | ||
@@ -146,5 +191,15 @@ | ||
constructor(o: { identifier: string; request: NSURLRequest; essential: boolean; fileSize: number; applicationGroupIdentifier: string; priority: number; }); | ||
constructor(o: { identifier: string; request: NSURLRequest; fileSize: number; applicationGroupIdentifier: string; }); | ||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any; | ||
initWithIdentifierRequestApplicationGroupIdentifier(identifier: string, request: NSURLRequest, applicationGroupIdentifier: string): this; | ||
initWithIdentifierRequestApplicationGroupIdentifierPriority(identifier: string, request: NSURLRequest, applicationGroupIdentifier: string, priority: number): this; | ||
initWithIdentifierRequestEssentialFileSizeApplicationGroupIdentifierPriority(identifier: string, request: NSURLRequest, essential: boolean, fileSize: number, applicationGroupIdentifier: string, priority: number): this; | ||
initWithIdentifierRequestFileSizeApplicationGroupIdentifier(identifier: string, request: NSURLRequest, fileSize: number, applicationGroupIdentifier: string): this; | ||
} |
@@ -20,2 +20,18 @@ | ||
declare class BGHealthResearchTask extends BGProcessingTask { | ||
static alloc(): BGHealthResearchTask; // inherited from NSObject | ||
static new(): BGHealthResearchTask; // inherited from NSObject | ||
} | ||
declare class BGHealthResearchTaskRequest extends BGProcessingTaskRequest { | ||
static alloc(): BGHealthResearchTaskRequest; // inherited from NSObject | ||
static new(): BGHealthResearchTaskRequest; // inherited from NSObject | ||
protectionTypeOfRequiredData: string; | ||
} | ||
declare class BGProcessingTask extends BGTask { | ||
@@ -83,3 +99,3 @@ | ||
registerForTaskWithIdentifierUsingQueueLaunchHandler(identifier: string, queue: NSObject, launchHandler: (p1: BGTask) => void): boolean; | ||
registerForTaskWithIdentifierUsingQueueLaunchHandler(identifier: string, queue: interop.Pointer | interop.Reference<any>, launchHandler: (p1: BGTask) => void): boolean; | ||
@@ -86,0 +102,0 @@ submitTaskRequestError(taskRequest: BGTaskRequest): boolean; |
@@ -78,5 +78,5 @@ | ||
constructor(o: { queue: NSObject; }); | ||
constructor(o: { queue: interop.Pointer | interop.Reference<any>; }); | ||
initWithQueue(queue: NSObject): this; | ||
initWithQueue(queue: interop.Pointer | interop.Reference<any>): this; | ||
@@ -214,3 +214,3 @@ requestTransactionCompletion(transaction: CXTransaction, completion: (p1: NSError) => void): void; | ||
setDelegateQueue(delegate: CXCallObserverDelegate, queue: NSObject): void; | ||
setDelegateQueue(delegate: CXCallObserverDelegate, queue: interop.Pointer | interop.Reference<any>): void; | ||
} | ||
@@ -301,3 +301,5 @@ | ||
FilteredByBlockList = 4 | ||
FilteredByBlockList = 4, | ||
FilteredDuringRestrictedSharingMode = 5 | ||
} | ||
@@ -433,3 +435,3 @@ | ||
setDelegateQueue(delegate: CXProviderDelegate, queue: NSObject): void; | ||
setDelegateQueue(delegate: CXProviderDelegate, queue: interop.Pointer | interop.Reference<any>): void; | ||
} | ||
@@ -436,0 +438,0 @@ |
@@ -181,2 +181,6 @@ | ||
declare var kColorSyncHDRDerivative: string; | ||
declare var kColorSyncHLGDerivative: string; | ||
declare var kColorSyncITUR2020Profile: string; | ||
@@ -188,2 +192,4 @@ | ||
declare var kColorSyncPQDerivative: string; | ||
declare var kColorSyncProfile: string; | ||
@@ -190,0 +196,0 @@ |
@@ -686,2 +686,4 @@ | ||
FeatureNotAvailable = 104, | ||
RecordDoesNotExist = 200, | ||
@@ -688,0 +690,0 @@ |
@@ -875,2 +875,14 @@ | ||
declare const kAudioChannelLayoutTag_Ogg_3_0: number; | ||
declare const kAudioChannelLayoutTag_Ogg_4_0: number; | ||
declare const kAudioChannelLayoutTag_Ogg_5_0: number; | ||
declare const kAudioChannelLayoutTag_Ogg_5_1: number; | ||
declare const kAudioChannelLayoutTag_Ogg_6_1: number; | ||
declare const kAudioChannelLayoutTag_Ogg_7_1: number; | ||
declare const kAudioChannelLayoutTag_Pentagonal: number; | ||
@@ -1032,2 +1044,4 @@ | ||
declare const kAudio_NoError: number; | ||
declare const kAudio_ParamError: number; | ||
@@ -1034,0 +1048,0 @@ |
@@ -115,5 +115,5 @@ | ||
constructor(o: { delegate: CBCentralManagerDelegate; queue: NSObject; }); | ||
constructor(o: { delegate: CBCentralManagerDelegate; queue: interop.Pointer | interop.Reference<any>; }); | ||
constructor(o: { delegate: CBCentralManagerDelegate; queue: NSObject; options: NSDictionary<string, any>; }); | ||
constructor(o: { delegate: CBCentralManagerDelegate; queue: interop.Pointer | interop.Reference<any>; options: NSDictionary<string, any>; }); | ||
@@ -124,5 +124,5 @@ cancelPeripheralConnection(peripheral: CBPeripheral): void; | ||
initWithDelegateQueue(delegate: CBCentralManagerDelegate, queue: NSObject): this; | ||
initWithDelegateQueue(delegate: CBCentralManagerDelegate, queue: interop.Pointer | interop.Reference<any>): this; | ||
initWithDelegateQueueOptions(delegate: CBCentralManagerDelegate, queue: NSObject, options: NSDictionary<string, any>): this; | ||
initWithDelegateQueueOptions(delegate: CBCentralManagerDelegate, queue: interop.Pointer | interop.Reference<any>, options: NSDictionary<string, any>): this; | ||
@@ -148,2 +148,4 @@ registerForConnectionEventsWithOptions(options: NSDictionary<string, any>): void; | ||
centralManagerDidDisconnectPeripheralTimestampIsReconnectingError?(central: CBCentralManager, peripheral: CBPeripheral, timestamp: number, isReconnecting: boolean, error: NSError): void; | ||
centralManagerDidDiscoverPeripheralAdvertisementDataRSSI?(central: CBCentralManager, peripheral: CBPeripheral, advertisementData: NSDictionary<string, any>, RSSI: number): void; | ||
@@ -249,2 +251,4 @@ | ||
declare var CBConnectPeripheralOptionEnableAutoReconnect: string; | ||
declare var CBConnectPeripheralOptionEnableTransportBridgingKey: string; | ||
@@ -535,11 +539,11 @@ | ||
constructor(o: { delegate: CBPeripheralManagerDelegate; queue: NSObject; }); | ||
constructor(o: { delegate: CBPeripheralManagerDelegate; queue: interop.Pointer | interop.Reference<any>; }); | ||
constructor(o: { delegate: CBPeripheralManagerDelegate; queue: NSObject; options: NSDictionary<string, any>; }); | ||
constructor(o: { delegate: CBPeripheralManagerDelegate; queue: interop.Pointer | interop.Reference<any>; options: NSDictionary<string, any>; }); | ||
addService(service: CBMutableService): void; | ||
initWithDelegateQueue(delegate: CBPeripheralManagerDelegate, queue: NSObject): this; | ||
initWithDelegateQueue(delegate: CBPeripheralManagerDelegate, queue: interop.Pointer | interop.Reference<any>): this; | ||
initWithDelegateQueueOptions(delegate: CBPeripheralManagerDelegate, queue: NSObject, options: NSDictionary<string, any>): this; | ||
initWithDelegateQueueOptions(delegate: CBPeripheralManagerDelegate, queue: interop.Pointer | interop.Reference<any>, options: NSDictionary<string, any>): this; | ||
@@ -546,0 +550,0 @@ publishL2CAPChannelWithEncryption(encryptionRequired: boolean): void; |
@@ -368,2 +368,4 @@ | ||
declare function CGContextDrawConicGradient(c: any, gradient: any, center: CGPoint, angle: number): void; | ||
declare function CGContextDrawImage(c: any, rect: CGRect, image: any): void; | ||
@@ -370,0 +372,0 @@ |
@@ -37,2 +37,13 @@ | ||
declare class CLBackgroundActivitySession extends NSObject { | ||
static alloc(): CLBackgroundActivitySession; // inherited from NSObject | ||
static backgroundActivitySession(): CLBackgroundActivitySession; | ||
static new(): CLBackgroundActivitySession; // inherited from NSObject | ||
invalidate(): void; | ||
} | ||
declare class CLBeacon extends NSObject implements NSCopying, NSSecureCoding { | ||
@@ -71,7 +82,7 @@ | ||
declare class CLBeaconIdentityConstraint extends NSObject implements NSCopying, NSSecureCoding { | ||
declare class CLBeaconIdentityCondition extends CLCondition implements NSCopying, NSSecureCoding { | ||
static alloc(): CLBeaconIdentityConstraint; // inherited from NSObject | ||
static alloc(): CLBeaconIdentityCondition; // inherited from NSObject | ||
static new(): CLBeaconIdentityConstraint; // inherited from NSObject | ||
static new(): CLBeaconIdentityCondition; // inherited from NSObject | ||
@@ -107,2 +118,19 @@ readonly UUID: NSUUID; | ||
declare class CLBeaconIdentityConstraint extends CLBeaconIdentityCondition implements NSCopying, NSSecureCoding { | ||
static alloc(): CLBeaconIdentityConstraint; // inherited from NSObject | ||
static new(): CLBeaconIdentityConstraint; // inherited from NSObject | ||
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding | ||
constructor(o: { coder: NSCoder; }); // inherited from NSCoding | ||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any; | ||
encodeWithCoder(coder: NSCoder): void; | ||
initWithCoder(coder: NSCoder): this; | ||
} | ||
declare class CLBeaconRegion extends CLRegion { | ||
@@ -157,2 +185,25 @@ | ||
declare class CLCircularGeographicCondition extends CLCondition implements NSSecureCoding { | ||
static alloc(): CLCircularGeographicCondition; // inherited from NSObject | ||
static new(): CLCircularGeographicCondition; // inherited from NSObject | ||
readonly center: CLLocationCoordinate2D; | ||
readonly radius: number; | ||
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding | ||
constructor(o: { center: CLLocationCoordinate2D; radius: number; }); | ||
constructor(o: { coder: NSCoder; }); // inherited from NSCoding | ||
encodeWithCoder(coder: NSCoder): void; | ||
initWithCenterRadius(center: CLLocationCoordinate2D, radius: number): this; | ||
initWithCoder(coder: NSCoder): this; | ||
} | ||
declare class CLCircularRegion extends CLRegion { | ||
@@ -169,2 +220,19 @@ | ||
declare class CLCondition extends NSObject implements NSCopying, NSSecureCoding { | ||
static alloc(): CLCondition; // inherited from NSObject | ||
static new(): CLCondition; // inherited from NSObject | ||
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding | ||
constructor(o: { coder: NSCoder; }); // inherited from NSCoding | ||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any; | ||
encodeWithCoder(coder: NSCoder): void; | ||
initWithCoder(coder: NSCoder): this; | ||
} | ||
declare const enum CLDeviceOrientation { | ||
@@ -307,2 +375,15 @@ | ||
declare const enum CLLiveUpdateConfiguration { | ||
Default = 0, | ||
AutomotiveNavigation = 1, | ||
OtherNavigation = 2, | ||
Fitness = 3, | ||
Airborne = 4 | ||
} | ||
declare class CLLocation extends NSObject implements CKRecordValue, NSCopying, NSSecureCoding { | ||
@@ -593,3 +674,5 @@ | ||
MissingEntitlement = 3 | ||
MissingEntitlement = 3, | ||
UnsupportedPlatform = 4 | ||
} | ||
@@ -635,2 +718,106 @@ | ||
declare class CLLocationUpdater extends NSObject { | ||
static alloc(): CLLocationUpdater; // inherited from NSObject | ||
static liveUpdaterWithConfigurationQueueHandler(configuration: CLLiveUpdateConfiguration, queue: interop.Pointer | interop.Reference<any>, handler: (p1: CLUpdate) => void): CLLocationUpdater; | ||
static liveUpdaterWithQueueHandler(queue: interop.Pointer | interop.Reference<any>, handler: (p1: CLUpdate) => void): CLLocationUpdater; | ||
static new(): CLLocationUpdater; // inherited from NSObject | ||
invalidate(): void; | ||
pause(): void; | ||
resume(): void; | ||
} | ||
declare class CLMonitor extends NSObject { | ||
static alloc(): CLMonitor; // inherited from NSObject | ||
static new(): CLMonitor; // inherited from NSObject | ||
static requestMonitorWithConfigurationCompletion(config: CLMonitorConfiguration, completionHandler: (p1: CLMonitor) => void): void; | ||
readonly monitoredIdentifiers: NSArray<string>; | ||
readonly name: string; | ||
addConditionForMonitoringIdentifier(condition: CLCondition, identifier: string): void; | ||
addConditionForMonitoringIdentifierAssumedState(condition: CLCondition, identifier: string, state: CLMonitoringState): void; | ||
monitoringRecordForIdentifier(identifier: string): CLMonitoringRecord; | ||
removeConditionFromMonitoringWithIdentifier(identifier: string): void; | ||
} | ||
declare class CLMonitorConfiguration extends NSObject { | ||
static alloc(): CLMonitorConfiguration; // inherited from NSObject | ||
static configWithMonitorNameQueueEventHandler(name: string, queue: interop.Pointer | interop.Reference<any>, eventHandler: (p1: CLMonitor, p2: CLMonitoringEvent) => void): CLMonitorConfiguration; | ||
static new(): CLMonitorConfiguration; // inherited from NSObject | ||
readonly eventHandler: (p1: CLMonitor, p2: CLMonitoringEvent) => void; | ||
readonly name: string; | ||
readonly queue: interop.Pointer | interop.Reference<any>; | ||
} | ||
declare class CLMonitoringEvent extends NSObject implements NSSecureCoding { | ||
static alloc(): CLMonitoringEvent; // inherited from NSObject | ||
static new(): CLMonitoringEvent; // inherited from NSObject | ||
readonly date: Date; | ||
readonly identifier: string; | ||
readonly refinement: CLCondition; | ||
readonly state: CLMonitoringState; | ||
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding | ||
constructor(o: { coder: NSCoder; }); // inherited from NSCoding | ||
encodeWithCoder(coder: NSCoder): void; | ||
initWithCoder(coder: NSCoder): this; | ||
} | ||
declare class CLMonitoringRecord extends NSObject implements NSSecureCoding { | ||
static alloc(): CLMonitoringRecord; // inherited from NSObject | ||
static new(): CLMonitoringRecord; // inherited from NSObject | ||
readonly condition: CLCondition; | ||
readonly lastEvent: CLMonitoringEvent; | ||
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding | ||
constructor(o: { coder: NSCoder; }); // inherited from NSCoding | ||
encodeWithCoder(coder: NSCoder): void; | ||
initWithCoder(coder: NSCoder): this; | ||
} | ||
declare const enum CLMonitoringState { | ||
Unknown = 0, | ||
Satisfied = 1, | ||
Unsatisfied = 2 | ||
} | ||
declare class CLPlacemark extends NSObject implements NSCopying, NSSecureCoding { | ||
@@ -750,2 +937,13 @@ | ||
declare class CLUpdate extends NSObject { | ||
static alloc(): CLUpdate; // inherited from NSObject | ||
static new(): CLUpdate; // inherited from NSObject | ||
readonly isStationary: boolean; | ||
readonly location: CLLocation; | ||
} | ||
declare class CLVisit extends NSObject implements NSCopying, NSSecureCoding { | ||
@@ -752,0 +950,0 @@ |
@@ -345,2 +345,4 @@ | ||
declare function MIDIEventPacketSysexBytesForGroup(pkt: interop.Pointer | interop.Reference<MIDIEventPacket>, groupIndex: number, outData: interop.Pointer | interop.Reference<NSData>): number; | ||
declare function MIDIExternalDeviceCreate(name: string, manufacturer: string, model: string, outDevice: interop.Pointer | interop.Reference<number>): number; | ||
@@ -660,2 +662,6 @@ | ||
declare function MIDISendUMPSysex(umpRequest: interop.Pointer | interop.Reference<MIDISysexSendRequestUMP>): number; | ||
declare function MIDISendUMPSysex8(umpRequest: interop.Pointer | interop.Reference<MIDISysexSendRequestUMP>): number; | ||
declare function MIDISetupAddDevice(device: number): number; | ||
@@ -699,2 +705,12 @@ | ||
interface MIDISysexSendRequestUMP { | ||
destination: number; | ||
words: interop.Pointer | interop.Reference<number>; | ||
wordsToSend: number; | ||
complete: boolean; | ||
completionProc: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<MIDISysexSendRequestUMP>) => void>; | ||
completionRefCon: interop.Pointer | interop.Reference<any>; | ||
} | ||
declare var MIDISysexSendRequestUMP: interop.StructType<MIDISysexSendRequestUMP>; | ||
declare const enum MIDISystemStatus { | ||
@@ -942,2 +958,6 @@ | ||
declare var kMIDIPropertyUMPActiveGroupBitmap: string; | ||
declare var kMIDIPropertyUMPCanTransmitGroupless: string; | ||
declare var kMIDIPropertyUniqueID: string; | ||
@@ -944,0 +964,0 @@ |
declare function MLAllComputeDevices(): NSArray<MLComputeDeviceProtocol>; | ||
declare class MLArrayBatchProvider extends NSObject implements MLBatchProvider { | ||
@@ -34,2 +36,50 @@ | ||
declare class MLCPUComputeDevice extends NSObject implements MLComputeDeviceProtocol { | ||
static alloc(): MLCPUComputeDevice; // inherited from NSObject | ||
static new(): MLCPUComputeDevice; // inherited from NSObject | ||
readonly debugDescription: string; // inherited from NSObjectProtocol | ||
readonly description: string; // inherited from NSObjectProtocol | ||
readonly hash: number; // inherited from NSObjectProtocol | ||
readonly isProxy: boolean; // inherited from NSObjectProtocol | ||
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol | ||
readonly // inherited from NSObjectProtocol | ||
class(): typeof NSObject; | ||
conformsToProtocol(aProtocol: any /* Protocol */): boolean; | ||
isEqual(object: any): boolean; | ||
isKindOfClass(aClass: typeof NSObject): boolean; | ||
isMemberOfClass(aClass: typeof NSObject): boolean; | ||
performSelector(aSelector: string): any; | ||
performSelectorWithObject(aSelector: string, object: any): any; | ||
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any; | ||
respondsToSelector(aSelector: string): boolean; | ||
retainCount(): number; | ||
self(): this; | ||
} | ||
interface MLComputeDeviceProtocol extends NSObjectProtocol { | ||
} | ||
declare var MLComputeDeviceProtocol: { | ||
prototype: MLComputeDeviceProtocol; | ||
}; | ||
declare const enum MLComputeUnits { | ||
@@ -257,2 +307,45 @@ | ||
declare class MLGPUComputeDevice extends NSObject implements MLComputeDeviceProtocol { | ||
static alloc(): MLGPUComputeDevice; // inherited from NSObject | ||
static new(): MLGPUComputeDevice; // inherited from NSObject | ||
readonly metalDevice: MTLDevice; | ||
readonly debugDescription: string; // inherited from NSObjectProtocol | ||
readonly description: string; // inherited from NSObjectProtocol | ||
readonly hash: number; // inherited from NSObjectProtocol | ||
readonly isProxy: boolean; // inherited from NSObjectProtocol | ||
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol | ||
readonly // inherited from NSObjectProtocol | ||
class(): typeof NSObject; | ||
conformsToProtocol(aProtocol: any /* Protocol */): boolean; | ||
isEqual(object: any): boolean; | ||
isKindOfClass(aClass: typeof NSObject): boolean; | ||
isMemberOfClass(aClass: typeof NSObject): boolean; | ||
performSelector(aSelector: string): any; | ||
performSelectorWithObject(aSelector: string, object: any): any; | ||
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any; | ||
respondsToSelector(aSelector: string): boolean; | ||
retainCount(): number; | ||
self(): this; | ||
} | ||
declare class MLImageConstraint extends NSObject implements NSSecureCoding { | ||
@@ -388,6 +481,12 @@ | ||
static readonly availableComputeDevices: NSArray<MLComputeDeviceProtocol>; | ||
parameterValueForKeyError(key: MLParameterKey): any; | ||
predictionFromFeaturesCompletionHandler(input: MLFeatureProvider, completionHandler: (p1: MLFeatureProvider, p2: NSError) => void): void; | ||
predictionFromFeaturesError(input: MLFeatureProvider): MLFeatureProvider; | ||
predictionFromFeaturesOptionsCompletionHandler(input: MLFeatureProvider, options: MLPredictionOptions, completionHandler: (p1: MLFeatureProvider, p2: NSError) => void): void; | ||
predictionFromFeaturesOptionsError(input: MLFeatureProvider, options: MLPredictionOptions): MLFeatureProvider; | ||
@@ -527,3 +626,5 @@ | ||
ModelCollection = 10 | ||
ModelCollection = 10, | ||
PredictionCancelled = 11 | ||
} | ||
@@ -657,2 +758,45 @@ | ||
declare class MLNeuralEngineComputeDevice extends NSObject implements MLComputeDeviceProtocol { | ||
static alloc(): MLNeuralEngineComputeDevice; // inherited from NSObject | ||
static new(): MLNeuralEngineComputeDevice; // inherited from NSObject | ||
readonly totalCoreCount: number; | ||
readonly debugDescription: string; // inherited from NSObjectProtocol | ||
readonly description: string; // inherited from NSObjectProtocol | ||
readonly hash: number; // inherited from NSObjectProtocol | ||
readonly isProxy: boolean; // inherited from NSObjectProtocol | ||
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol | ||
readonly // inherited from NSObjectProtocol | ||
class(): typeof NSObject; | ||
conformsToProtocol(aProtocol: any /* Protocol */): boolean; | ||
isEqual(object: any): boolean; | ||
isKindOfClass(aClass: typeof NSObject): boolean; | ||
isMemberOfClass(aClass: typeof NSObject): boolean; | ||
performSelector(aSelector: string): any; | ||
performSelectorWithObject(aSelector: string, object: any): any; | ||
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any; | ||
respondsToSelector(aSelector: string): boolean; | ||
retainCount(): number; | ||
self(): this; | ||
} | ||
declare class MLNumericConstraint extends NSObject implements NSSecureCoding { | ||
@@ -659,0 +803,0 @@ |
@@ -125,2 +125,39 @@ | ||
declare class CMBatchedSensorManager extends NSObject { | ||
static alloc(): CMBatchedSensorManager; // inherited from NSObject | ||
static new(): CMBatchedSensorManager; // inherited from NSObject | ||
readonly accelerometerActive: boolean; | ||
readonly accelerometerBatch: NSArray<CMAccelerometerData>; | ||
readonly accelerometerDataFrequency: number; | ||
readonly deviceMotionActive: boolean; | ||
readonly deviceMotionBatch: NSArray<CMDeviceMotion>; | ||
readonly deviceMotionDataFrequency: number; | ||
static readonly accelerometerSupported: boolean; | ||
static readonly authorizationStatus: CMAuthorizationStatus; | ||
static readonly deviceMotionSupported: boolean; | ||
startAccelerometerUpdates(): void; | ||
startAccelerometerUpdatesWithHandler(handler: (p1: NSArray<CMAccelerometerData>, p2: NSError) => void): void; | ||
startDeviceMotionUpdates(): void; | ||
startDeviceMotionUpdatesWithHandler(handler: (p1: NSArray<CMDeviceMotion>, p2: NSError) => void): void; | ||
stopAccelerometerUpdates(): void; | ||
stopDeviceMotionUpdates(): void; | ||
} | ||
interface CMCalibratedMagneticField { | ||
@@ -274,2 +311,26 @@ field: CMMagneticField; | ||
declare class CMHighFrequencyHeartRateData extends CMLogItem { | ||
static alloc(): CMHighFrequencyHeartRateData; // inherited from NSObject | ||
static new(): CMHighFrequencyHeartRateData; // inherited from NSObject | ||
readonly confidence: CMHighFrequencyHeartRateDataConfidence; | ||
readonly date: Date; | ||
readonly heartRate: number; | ||
} | ||
declare const enum CMHighFrequencyHeartRateDataConfidence { | ||
Low = 0, | ||
Medium = 1, | ||
High = 2, | ||
Highest = 3 | ||
} | ||
declare class CMLogItem extends NSObject implements NSCopying, NSSecureCoding { | ||
@@ -443,2 +504,52 @@ | ||
declare class CMOdometerData extends NSObject implements NSCopying, NSSecureCoding { | ||
static alloc(): CMOdometerData; // inherited from NSObject | ||
static new(): CMOdometerData; // inherited from NSObject | ||
readonly deltaAltitude: number; | ||
readonly deltaDistance: number; | ||
readonly deltaDistanceAccuracy: number; | ||
readonly endDate: Date; | ||
readonly gpsDate: Date; | ||
readonly maxAbsSlope: number; | ||
readonly originDevice: CMOdometerOriginDevice; | ||
readonly slope: number; | ||
readonly speed: number; | ||
readonly speedAccuracy: number; | ||
readonly startDate: Date; | ||
readonly verticalAccuracy: number; | ||
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding | ||
constructor(o: { coder: NSCoder; }); // inherited from NSCoding | ||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any; | ||
encodeWithCoder(coder: NSCoder): void; | ||
initWithCoder(coder: NSCoder): this; | ||
} | ||
declare const enum CMOdometerOriginDevice { | ||
Unknown = 0, | ||
Local = 1, | ||
Remote = 2 | ||
} | ||
declare class CMPedometer extends NSObject { | ||
@@ -725,2 +836,4 @@ | ||
readonly maximumDepth: NSMeasurement<NSUnitLength>; | ||
static readonly authorizationStatus: CMAuthorizationStatus; | ||
@@ -727,0 +840,0 @@ |
@@ -130,5 +130,5 @@ | ||
constructor(o: { delegate: NFCReaderSessionDelegate; queue: NSObject; }); | ||
constructor(o: { delegate: NFCReaderSessionDelegate; queue: interop.Pointer | interop.Reference<any>; }); | ||
initWithDelegateQueue(delegate: NFCReaderSessionDelegate, queue: NSObject): this; | ||
initWithDelegateQueue(delegate: NFCReaderSessionDelegate, queue: interop.Pointer | interop.Reference<any>): this; | ||
@@ -413,7 +413,7 @@ restartPolling(): void; | ||
constructor(o: { delegate: NFCNDEFReaderSessionDelegate; queue: NSObject; invalidateAfterFirstRead: boolean; }); | ||
constructor(o: { delegate: NFCNDEFReaderSessionDelegate; queue: interop.Pointer | interop.Reference<any>; invalidateAfterFirstRead: boolean; }); | ||
connectToTagCompletionHandler(tag: NFCNDEFTag, completionHandler: (p1: NSError) => void): void; | ||
initWithDelegateQueueInvalidateAfterFirstRead(delegate: NFCNDEFReaderSessionDelegate, queue: NSObject, invalidateAfterFirstRead: boolean): this; | ||
initWithDelegateQueueInvalidateAfterFirstRead(delegate: NFCNDEFReaderSessionDelegate, queue: interop.Pointer | interop.Reference<any>, invalidateAfterFirstRead: boolean): this; | ||
@@ -530,3 +530,3 @@ restartPolling(): void; | ||
readonly sessionQueue: NSObject; | ||
readonly sessionQueue: interop.Pointer | interop.Reference<any>; | ||
@@ -652,7 +652,7 @@ static readonly readingAvailable: boolean; | ||
constructor(o: { pollingOption: NFCPollingOption; delegate: NFCTagReaderSessionDelegate; queue: NSObject; }); | ||
constructor(o: { pollingOption: NFCPollingOption; delegate: NFCTagReaderSessionDelegate; queue: interop.Pointer | interop.Reference<any>; }); | ||
connectToTagCompletionHandler(tag: NFCTag, completionHandler: (p1: NSError) => void): void; | ||
initWithPollingOptionDelegateQueue(pollingOption: NFCPollingOption, delegate: NFCTagReaderSessionDelegate, queue: NSObject): this; | ||
initWithPollingOptionDelegateQueue(pollingOption: NFCPollingOption, delegate: NFCTagReaderSessionDelegate, queue: interop.Pointer | interop.Reference<any>): this; | ||
@@ -776,5 +776,5 @@ restartPolling(): void; | ||
constructor(o: { VASCommandConfigurations: NSArray<NFCVASCommandConfiguration> | NFCVASCommandConfiguration[]; delegate: NFCVASReaderSessionDelegate; queue: NSObject; }); | ||
constructor(o: { VASCommandConfigurations: NSArray<NFCVASCommandConfiguration> | NFCVASCommandConfiguration[]; delegate: NFCVASReaderSessionDelegate; queue: interop.Pointer | interop.Reference<any>; }); | ||
initWithVASCommandConfigurationsDelegateQueue(commandConfigurations: NSArray<NFCVASCommandConfiguration> | NFCVASCommandConfiguration[], delegate: NFCVASReaderSessionDelegate, queue: NSObject): this; | ||
initWithVASCommandConfigurationsDelegateQueue(commandConfigurations: NSArray<NFCVASCommandConfiguration> | NFCVASCommandConfiguration[], delegate: NFCVASReaderSessionDelegate, queue: interop.Pointer | interop.Reference<any>): this; | ||
} | ||
@@ -781,0 +781,0 @@ |
@@ -326,2 +326,4 @@ | ||
constructor(o: { name: string; protectionClass: string; bundleIdentifier: string; options: number; }); | ||
beginIndexBatch(): void; | ||
@@ -346,2 +348,4 @@ | ||
initWithNameProtectionClass(name: string, protectionClass: string): this; | ||
initWithNameProtectionClassBundleIdentifierOptions(name: string, protectionClass: string, bundleIdentifier: string, options: number): this; | ||
} | ||
@@ -829,2 +833,6 @@ | ||
initWithCoder(coder: NSCoder): this; | ||
score(): number; | ||
suggestionDataSources(): NSArray<any>; | ||
} | ||
@@ -831,0 +839,0 @@ |
@@ -88,3 +88,5 @@ | ||
Success = 2 | ||
Success = 2, | ||
Cancel = 3 | ||
} | ||
@@ -91,0 +93,0 @@ |
@@ -679,2 +679,4 @@ | ||
declare const kCVPixelFormatType_4444AYpCbCrFloat: number; | ||
declare const kCVPixelFormatType_4444YpCbCrA8: number; | ||
@@ -681,0 +683,0 @@ |
@@ -22,3 +22,3 @@ | ||
networkEndpoint: NSObject; | ||
networkEndpoint: interop.Pointer | interop.Reference<any>; | ||
@@ -31,2 +31,4 @@ protocol: DDDeviceProtocol; | ||
supportsGrouping: boolean; | ||
txtRecordData: NSData; | ||
@@ -33,0 +35,0 @@ |
declare const DISPATCH_WALLTIME_NOW: number; | ||
interface OS_dispatch_data extends OS_dispatch_object { | ||
} | ||
declare var OS_dispatch_data: { | ||
prototype: OS_dispatch_data; | ||
}; | ||
interface OS_dispatch_group extends OS_dispatch_object { | ||
} | ||
declare var OS_dispatch_group: { | ||
prototype: OS_dispatch_group; | ||
}; | ||
interface OS_dispatch_io extends OS_dispatch_object { | ||
} | ||
declare var OS_dispatch_io: { | ||
prototype: OS_dispatch_io; | ||
}; | ||
interface OS_dispatch_object extends NSObjectProtocol { | ||
} | ||
declare var OS_dispatch_object: { | ||
prototype: OS_dispatch_object; | ||
}; | ||
interface OS_dispatch_queue extends OS_dispatch_object { | ||
} | ||
declare var OS_dispatch_queue: { | ||
prototype: OS_dispatch_queue; | ||
}; | ||
interface OS_dispatch_queue_attr extends OS_dispatch_object { | ||
} | ||
declare var OS_dispatch_queue_attr: { | ||
prototype: OS_dispatch_queue_attr; | ||
}; | ||
interface OS_dispatch_queue_concurrent extends OS_dispatch_queue { | ||
} | ||
declare var OS_dispatch_queue_concurrent: { | ||
prototype: OS_dispatch_queue_concurrent; | ||
}; | ||
interface OS_dispatch_queue_global extends OS_dispatch_queue { | ||
} | ||
declare var OS_dispatch_queue_global: { | ||
prototype: OS_dispatch_queue_global; | ||
}; | ||
interface OS_dispatch_queue_main extends OS_dispatch_queue_serial { | ||
} | ||
declare var OS_dispatch_queue_main: { | ||
prototype: OS_dispatch_queue_main; | ||
}; | ||
interface OS_dispatch_queue_serial extends OS_dispatch_queue { | ||
} | ||
declare var OS_dispatch_queue_serial: { | ||
prototype: OS_dispatch_queue_serial; | ||
}; | ||
interface OS_dispatch_semaphore extends OS_dispatch_object { | ||
} | ||
declare var OS_dispatch_semaphore: { | ||
prototype: OS_dispatch_semaphore; | ||
}; | ||
interface OS_dispatch_source extends OS_dispatch_object { | ||
} | ||
declare var OS_dispatch_source: { | ||
prototype: OS_dispatch_source; | ||
}; | ||
interface OS_dispatch_workloop extends OS_dispatch_queue { | ||
} | ||
declare var OS_dispatch_workloop: { | ||
prototype: OS_dispatch_workloop; | ||
}; | ||
declare var _dispatch_data_destructor_free: () => void; | ||
@@ -129,26 +38,24 @@ | ||
declare function dispatch_activate(object: NSObject): void; | ||
declare function dispatch_after(when: number, queue: interop.Pointer | interop.Reference<any>, block: () => void): void; | ||
declare function dispatch_after(when: number, queue: NSObject, block: () => void): void; | ||
declare function dispatch_after_f(when: number, queue: interop.Pointer | interop.Reference<any>, context: interop.Pointer | interop.Reference<any>, work: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_after_f(when: number, queue: NSObject, context: interop.Pointer | interop.Reference<any>, work: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_apply(iterations: number, queue: interop.Pointer | interop.Reference<any>, block: (p1: number) => void): void; | ||
declare function dispatch_apply(iterations: number, queue: NSObject, block: (p1: number) => void): void; | ||
declare function dispatch_apply_f(iterations: number, queue: interop.Pointer | interop.Reference<any>, context: interop.Pointer | interop.Reference<any>, work: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>, p2: number) => void>): void; | ||
declare function dispatch_apply_f(iterations: number, queue: NSObject, context: interop.Pointer | interop.Reference<any>, work: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>, p2: number) => void>): void; | ||
declare function dispatch_assert_queue(queue: interop.Pointer | interop.Reference<any>): void; | ||
declare function dispatch_assert_queue(queue: NSObject): void; | ||
declare function dispatch_assert_queue_barrier(queue: interop.Pointer | interop.Reference<any>): void; | ||
declare function dispatch_assert_queue_barrier(queue: NSObject): void; | ||
declare function dispatch_assert_queue_not(queue: interop.Pointer | interop.Reference<any>): void; | ||
declare function dispatch_assert_queue_not(queue: NSObject): void; | ||
declare function dispatch_async(queue: interop.Pointer | interop.Reference<any>, block: () => void): void; | ||
declare function dispatch_async(queue: NSObject, block: () => void): void; | ||
declare function dispatch_async_and_wait(queue: interop.Pointer | interop.Reference<any>, block: () => void): void; | ||
declare function dispatch_async_and_wait(queue: NSObject, block: () => void): void; | ||
declare function dispatch_async_and_wait_f(queue: interop.Pointer | interop.Reference<any>, context: interop.Pointer | interop.Reference<any>, work: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_async_and_wait_f(queue: NSObject, context: interop.Pointer | interop.Reference<any>, work: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_async_f(queue: interop.Pointer | interop.Reference<any>, context: interop.Pointer | interop.Reference<any>, work: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_async_f(queue: NSObject, context: interop.Pointer | interop.Reference<any>, work: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare const enum dispatch_autorelease_frequency_t { | ||
@@ -163,13 +70,13 @@ | ||
declare function dispatch_barrier_async(queue: NSObject, block: () => void): void; | ||
declare function dispatch_barrier_async(queue: interop.Pointer | interop.Reference<any>, block: () => void): void; | ||
declare function dispatch_barrier_async_and_wait(queue: NSObject, block: () => void): void; | ||
declare function dispatch_barrier_async_and_wait(queue: interop.Pointer | interop.Reference<any>, block: () => void): void; | ||
declare function dispatch_barrier_async_and_wait_f(queue: NSObject, context: interop.Pointer | interop.Reference<any>, work: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_barrier_async_and_wait_f(queue: interop.Pointer | interop.Reference<any>, context: interop.Pointer | interop.Reference<any>, work: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_barrier_async_f(queue: NSObject, context: interop.Pointer | interop.Reference<any>, work: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_barrier_async_f(queue: interop.Pointer | interop.Reference<any>, context: interop.Pointer | interop.Reference<any>, work: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_barrier_sync(queue: NSObject, block: () => void): void; | ||
declare function dispatch_barrier_sync(queue: interop.Pointer | interop.Reference<any>, block: () => void): void; | ||
declare function dispatch_barrier_sync_f(queue: NSObject, context: interop.Pointer | interop.Reference<any>, work: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_barrier_sync_f(queue: interop.Pointer | interop.Reference<any>, context: interop.Pointer | interop.Reference<any>, work: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
@@ -197,3 +104,3 @@ declare function dispatch_block_cancel(block: () => void): void; | ||
declare function dispatch_block_notify(block: () => void, queue: NSObject, notification_block: () => void): void; | ||
declare function dispatch_block_notify(block: () => void, queue: interop.Pointer | interop.Reference<any>, notification_block: () => void): void; | ||
@@ -206,61 +113,59 @@ declare function dispatch_block_perform(flags: dispatch_block_flags_t, block: () => void): void; | ||
declare function dispatch_data_apply(data: NSObject, applier: (p1: NSObject, p2: number, p3: interop.Pointer | interop.Reference<any>, p4: number) => boolean): boolean; | ||
declare function dispatch_data_apply(data: interop.Pointer | interop.Reference<any>, applier: (p1: interop.Pointer | interop.Reference<any>, p2: number, p3: interop.Pointer | interop.Reference<any>, p4: number) => boolean): boolean; | ||
declare function dispatch_data_copy_region(data: NSObject, location: number, offset_ptr: interop.Pointer | interop.Reference<number>): NSObject; | ||
declare function dispatch_data_copy_region(data: interop.Pointer | interop.Reference<any>, location: number, offset_ptr: interop.Pointer | interop.Reference<number>): interop.Pointer | interop.Reference<any>; | ||
declare function dispatch_data_create(buffer: interop.Pointer | interop.Reference<any>, size: number, queue: NSObject, destructor: () => void): NSObject; | ||
declare function dispatch_data_create(buffer: interop.Pointer | interop.Reference<any>, size: number, queue: interop.Pointer | interop.Reference<any>, destructor: () => void): interop.Pointer | interop.Reference<any>; | ||
declare function dispatch_data_create_concat(data1: NSObject, data2: NSObject): NSObject; | ||
declare function dispatch_data_create_concat(data1: interop.Pointer | interop.Reference<any>, data2: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>; | ||
declare function dispatch_data_create_map(data: NSObject, buffer_ptr: interop.Pointer | interop.Reference<interop.Pointer | interop.Reference<any>>, size_ptr: interop.Pointer | interop.Reference<number>): NSObject; | ||
declare function dispatch_data_create_map(data: interop.Pointer | interop.Reference<any>, buffer_ptr: interop.Pointer | interop.Reference<interop.Pointer | interop.Reference<any>>, size_ptr: interop.Pointer | interop.Reference<number>): interop.Pointer | interop.Reference<any>; | ||
declare function dispatch_data_create_subrange(data: NSObject, offset: number, length: number): NSObject; | ||
declare function dispatch_data_create_subrange(data: interop.Pointer | interop.Reference<any>, offset: number, length: number): interop.Pointer | interop.Reference<any>; | ||
declare function dispatch_data_get_size(data: NSObject): number; | ||
declare function dispatch_data_get_size(data: interop.Pointer | interop.Reference<any>): number; | ||
declare function dispatch_get_context(object: NSObject): interop.Pointer | interop.Reference<any>; | ||
declare function dispatch_get_current_queue(): interop.Pointer | interop.Reference<any>; | ||
declare function dispatch_get_current_queue(): NSObject; | ||
declare function dispatch_get_global_queue(identifier: number, flags: number): interop.Pointer | interop.Reference<any>; | ||
declare function dispatch_get_global_queue(identifier: number, flags: number): NSObject; | ||
declare function dispatch_get_specific(key: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>; | ||
declare function dispatch_group_async(group: NSObject, queue: NSObject, block: () => void): void; | ||
declare function dispatch_group_async(group: interop.Pointer | interop.Reference<any>, queue: interop.Pointer | interop.Reference<any>, block: () => void): void; | ||
declare function dispatch_group_async_f(group: NSObject, queue: NSObject, context: interop.Pointer | interop.Reference<any>, work: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_group_async_f(group: interop.Pointer | interop.Reference<any>, queue: interop.Pointer | interop.Reference<any>, context: interop.Pointer | interop.Reference<any>, work: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_group_create(): NSObject; | ||
declare function dispatch_group_create(): interop.Pointer | interop.Reference<any>; | ||
declare function dispatch_group_enter(group: NSObject): void; | ||
declare function dispatch_group_enter(group: interop.Pointer | interop.Reference<any>): void; | ||
declare function dispatch_group_leave(group: NSObject): void; | ||
declare function dispatch_group_leave(group: interop.Pointer | interop.Reference<any>): void; | ||
declare function dispatch_group_notify(group: NSObject, queue: NSObject, block: () => void): void; | ||
declare function dispatch_group_notify(group: interop.Pointer | interop.Reference<any>, queue: interop.Pointer | interop.Reference<any>, block: () => void): void; | ||
declare function dispatch_group_notify_f(group: NSObject, queue: NSObject, context: interop.Pointer | interop.Reference<any>, work: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_group_notify_f(group: interop.Pointer | interop.Reference<any>, queue: interop.Pointer | interop.Reference<any>, context: interop.Pointer | interop.Reference<any>, work: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_group_wait(group: NSObject, timeout: number): number; | ||
declare function dispatch_group_wait(group: interop.Pointer | interop.Reference<any>, timeout: number): number; | ||
declare function dispatch_io_barrier(channel: NSObject, barrier: () => void): void; | ||
declare function dispatch_io_barrier(channel: interop.Pointer | interop.Reference<any>, barrier: () => void): void; | ||
declare function dispatch_io_close(channel: NSObject, flags: number): void; | ||
declare function dispatch_io_close(channel: interop.Pointer | interop.Reference<any>, flags: number): void; | ||
declare function dispatch_io_create(type: number, fd: number, queue: NSObject, cleanup_handler: (p1: number) => void): NSObject; | ||
declare function dispatch_io_create(type: number, fd: number, queue: interop.Pointer | interop.Reference<any>, cleanup_handler: (p1: number) => void): interop.Pointer | interop.Reference<any>; | ||
declare function dispatch_io_create_with_io(type: number, io: NSObject, queue: NSObject, cleanup_handler: (p1: number) => void): NSObject; | ||
declare function dispatch_io_create_with_io(type: number, io: interop.Pointer | interop.Reference<any>, queue: interop.Pointer | interop.Reference<any>, cleanup_handler: (p1: number) => void): interop.Pointer | interop.Reference<any>; | ||
declare function dispatch_io_create_with_path(type: number, path: string | interop.Pointer | interop.Reference<any>, oflag: number, mode: number, queue: NSObject, cleanup_handler: (p1: number) => void): NSObject; | ||
declare function dispatch_io_create_with_path(type: number, path: string | interop.Pointer | interop.Reference<any>, oflag: number, mode: number, queue: interop.Pointer | interop.Reference<any>, cleanup_handler: (p1: number) => void): interop.Pointer | interop.Reference<any>; | ||
declare function dispatch_io_get_descriptor(channel: NSObject): number; | ||
declare function dispatch_io_get_descriptor(channel: interop.Pointer | interop.Reference<any>): number; | ||
declare function dispatch_io_read(channel: NSObject, offset: number, length: number, queue: NSObject, io_handler: (p1: boolean, p2: NSObject, p3: number) => void): void; | ||
declare function dispatch_io_read(channel: interop.Pointer | interop.Reference<any>, offset: number, length: number, queue: interop.Pointer | interop.Reference<any>, io_handler: (p1: boolean, p2: interop.Pointer | interop.Reference<any>, p3: number) => void): void; | ||
declare function dispatch_io_set_high_water(channel: NSObject, high_water: number): void; | ||
declare function dispatch_io_set_high_water(channel: interop.Pointer | interop.Reference<any>, high_water: number): void; | ||
declare function dispatch_io_set_interval(channel: NSObject, interval: number, flags: number): void; | ||
declare function dispatch_io_set_interval(channel: interop.Pointer | interop.Reference<any>, interval: number, flags: number): void; | ||
declare function dispatch_io_set_low_water(channel: NSObject, low_water: number): void; | ||
declare function dispatch_io_set_low_water(channel: interop.Pointer | interop.Reference<any>, low_water: number): void; | ||
declare function dispatch_io_write(channel: NSObject, offset: number, data: NSObject, queue: NSObject, io_handler: (p1: boolean, p2: NSObject, p3: number) => void): void; | ||
declare function dispatch_io_write(channel: interop.Pointer | interop.Reference<any>, offset: number, data: interop.Pointer | interop.Reference<any>, queue: interop.Pointer | interop.Reference<any>, io_handler: (p1: boolean, p2: interop.Pointer | interop.Reference<any>, p3: number) => void): void; | ||
@@ -273,76 +178,60 @@ declare function dispatch_main(): never; | ||
declare function dispatch_queue_attr_make_initially_inactive(attr: NSObject): NSObject; | ||
declare function dispatch_queue_attr_make_initially_inactive(attr: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>; | ||
declare function dispatch_queue_attr_make_with_autorelease_frequency(attr: NSObject, frequency: dispatch_autorelease_frequency_t): NSObject; | ||
declare function dispatch_queue_attr_make_with_autorelease_frequency(attr: interop.Pointer | interop.Reference<any>, frequency: dispatch_autorelease_frequency_t): interop.Pointer | interop.Reference<any>; | ||
declare function dispatch_queue_attr_make_with_qos_class(attr: NSObject, qos_class: qos_class_t, relative_priority: number): NSObject; | ||
declare function dispatch_queue_attr_make_with_qos_class(attr: interop.Pointer | interop.Reference<any>, qos_class: qos_class_t, relative_priority: number): interop.Pointer | interop.Reference<any>; | ||
declare function dispatch_queue_create(label: string | interop.Pointer | interop.Reference<any>, attr: NSObject): NSObject; | ||
declare function dispatch_queue_create(label: string | interop.Pointer | interop.Reference<any>, attr: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>; | ||
declare function dispatch_queue_create_with_target(label: string | interop.Pointer | interop.Reference<any>, attr: NSObject, target: NSObject): NSObject; | ||
declare function dispatch_queue_create_with_target(label: string | interop.Pointer | interop.Reference<any>, attr: interop.Pointer | interop.Reference<any>, target: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>; | ||
declare function dispatch_queue_get_label(queue: NSObject): string; | ||
declare function dispatch_queue_get_label(queue: interop.Pointer | interop.Reference<any>): string; | ||
declare function dispatch_queue_get_qos_class(queue: NSObject, relative_priority_ptr: interop.Pointer | interop.Reference<number>): qos_class_t; | ||
declare function dispatch_queue_get_qos_class(queue: interop.Pointer | interop.Reference<any>, relative_priority_ptr: interop.Pointer | interop.Reference<number>): qos_class_t; | ||
declare function dispatch_queue_get_specific(queue: NSObject, key: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>; | ||
declare function dispatch_queue_get_specific(queue: interop.Pointer | interop.Reference<any>, key: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>; | ||
declare function dispatch_queue_set_specific(queue: NSObject, key: interop.Pointer | interop.Reference<any>, context: interop.Pointer | interop.Reference<any>, destructor: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_queue_set_specific(queue: interop.Pointer | interop.Reference<any>, key: interop.Pointer | interop.Reference<any>, context: interop.Pointer | interop.Reference<any>, destructor: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_read(fd: number, length: number, queue: NSObject, handler: (p1: NSObject, p2: number) => void): void; | ||
declare function dispatch_read(fd: number, length: number, queue: interop.Pointer | interop.Reference<any>, handler: (p1: interop.Pointer | interop.Reference<any>, p2: number) => void): void; | ||
declare function dispatch_release(object: NSObject): void; | ||
declare function dispatch_semaphore_create(value: number): interop.Pointer | interop.Reference<any>; | ||
declare function dispatch_resume(object: NSObject): void; | ||
declare function dispatch_semaphore_signal(dsema: interop.Pointer | interop.Reference<any>): number; | ||
declare function dispatch_retain(object: NSObject): void; | ||
declare function dispatch_semaphore_wait(dsema: interop.Pointer | interop.Reference<any>, timeout: number): number; | ||
declare function dispatch_semaphore_create(value: number): NSObject; | ||
declare function dispatch_source_cancel(source: interop.Pointer | interop.Reference<any>): void; | ||
declare function dispatch_semaphore_signal(dsema: NSObject): number; | ||
declare function dispatch_source_create(type: interop.Pointer | interop.Reference<any>, handle: number, mask: number, queue: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>; | ||
declare function dispatch_semaphore_wait(dsema: NSObject, timeout: number): number; | ||
declare function dispatch_source_get_data(source: interop.Pointer | interop.Reference<any>): number; | ||
declare function dispatch_set_context(object: NSObject, context: interop.Pointer | interop.Reference<any>): void; | ||
declare function dispatch_source_get_handle(source: interop.Pointer | interop.Reference<any>): number; | ||
declare function dispatch_set_finalizer_f(object: NSObject, finalizer: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_source_get_mask(source: interop.Pointer | interop.Reference<any>): number; | ||
declare function dispatch_set_qos_class_floor(object: NSObject, qos_class: qos_class_t, relative_priority: number): void; | ||
declare function dispatch_source_merge_data(source: interop.Pointer | interop.Reference<any>, value: number): void; | ||
declare function dispatch_set_target_queue(object: NSObject, queue: NSObject): void; | ||
declare function dispatch_source_set_cancel_handler(source: interop.Pointer | interop.Reference<any>, handler: () => void): void; | ||
declare function dispatch_source_cancel(source: NSObject): void; | ||
declare function dispatch_source_set_cancel_handler_f(source: interop.Pointer | interop.Reference<any>, handler: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_source_create(type: interop.Pointer | interop.Reference<any>, handle: number, mask: number, queue: NSObject): NSObject; | ||
declare function dispatch_source_set_event_handler(source: interop.Pointer | interop.Reference<any>, handler: () => void): void; | ||
declare function dispatch_source_get_data(source: NSObject): number; | ||
declare function dispatch_source_set_event_handler_f(source: interop.Pointer | interop.Reference<any>, handler: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_source_get_handle(source: NSObject): number; | ||
declare function dispatch_source_set_registration_handler(source: interop.Pointer | interop.Reference<any>, handler: () => void): void; | ||
declare function dispatch_source_get_mask(source: NSObject): number; | ||
declare function dispatch_source_set_registration_handler_f(source: interop.Pointer | interop.Reference<any>, handler: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_source_merge_data(source: NSObject, value: number): void; | ||
declare function dispatch_source_set_timer(source: interop.Pointer | interop.Reference<any>, start: number, interval: number, leeway: number): void; | ||
declare function dispatch_source_set_cancel_handler(source: NSObject, handler: () => void): void; | ||
declare function dispatch_source_testcancel(source: interop.Pointer | interop.Reference<any>): number; | ||
declare function dispatch_source_set_cancel_handler_f(source: NSObject, handler: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_sync(queue: interop.Pointer | interop.Reference<any>, block: () => void): void; | ||
declare function dispatch_source_set_event_handler(source: NSObject, handler: () => void): void; | ||
declare function dispatch_sync_f(queue: interop.Pointer | interop.Reference<any>, context: interop.Pointer | interop.Reference<any>, work: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_source_set_event_handler_f(source: NSObject, handler: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_source_set_registration_handler(source: NSObject, handler: () => void): void; | ||
declare function dispatch_source_set_registration_handler_f(source: NSObject, handler: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_source_set_timer(source: NSObject, start: number, interval: number, leeway: number): void; | ||
declare function dispatch_source_testcancel(source: NSObject): number; | ||
declare function dispatch_suspend(object: NSObject): void; | ||
declare function dispatch_sync(queue: NSObject, block: () => void): void; | ||
declare function dispatch_sync_f(queue: NSObject, context: interop.Pointer | interop.Reference<any>, work: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_time(when: number, delta: number): number; | ||
@@ -352,10 +241,10 @@ | ||
declare function dispatch_workloop_create(label: string | interop.Pointer | interop.Reference<any>): NSObject; | ||
declare function dispatch_workloop_create(label: string | interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>; | ||
declare function dispatch_workloop_create_inactive(label: string | interop.Pointer | interop.Reference<any>): NSObject; | ||
declare function dispatch_workloop_create_inactive(label: string | interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>; | ||
declare function dispatch_workloop_set_autorelease_frequency(workloop: NSObject, frequency: dispatch_autorelease_frequency_t): void; | ||
declare function dispatch_workloop_set_autorelease_frequency(workloop: interop.Pointer | interop.Reference<any>, frequency: dispatch_autorelease_frequency_t): void; | ||
declare function dispatch_workloop_set_os_workgroup(workloop: NSObject, workgroup: OS_os_workgroup): void; | ||
declare function dispatch_workloop_set_os_workgroup(workloop: interop.Pointer | interop.Reference<any>, workgroup: interop.Pointer | interop.Reference<any>): void; | ||
declare function dispatch_write(fd: number, data: NSObject, queue: NSObject, handler: (p1: NSObject, p2: number) => void): void; | ||
declare function dispatch_write(fd: number, data: interop.Pointer | interop.Reference<any>, queue: interop.Pointer | interop.Reference<any>, handler: (p1: interop.Pointer | interop.Reference<any>, p2: number) => void): void; |
declare function dispatch_introspection_hook_queue_callout_begin(queue: NSObject, context: interop.Pointer | interop.Reference<any>, _function: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_introspection_hook_queue_callout_begin(queue: interop.Pointer | interop.Reference<any>, context: interop.Pointer | interop.Reference<any>, _function: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_introspection_hook_queue_callout_end(queue: NSObject, context: interop.Pointer | interop.Reference<any>, _function: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_introspection_hook_queue_callout_end(queue: interop.Pointer | interop.Reference<any>, context: interop.Pointer | interop.Reference<any>, _function: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function dispatch_introspection_hook_queue_create(queue: NSObject): void; | ||
declare function dispatch_introspection_hook_queue_create(queue: interop.Pointer | interop.Reference<any>): void; | ||
declare function dispatch_introspection_hook_queue_destroy(queue: NSObject): void; | ||
declare function dispatch_introspection_hook_queue_item_complete(item: NSObject): void; | ||
declare function dispatch_introspection_hook_queue_item_dequeue(queue: NSObject, item: NSObject): void; | ||
declare function dispatch_introspection_hook_queue_item_enqueue(queue: NSObject, item: NSObject): void; | ||
declare function dispatch_introspection_hook_queue_destroy(queue: interop.Pointer | interop.Reference<any>): void; |
@@ -64,3 +64,3 @@ | ||
declare function DNSServiceSetDispatchQueue(service: interop.Pointer | interop.Reference<any>, queue: NSObject): number; | ||
declare function DNSServiceSetDispatchQueue(service: interop.Pointer | interop.Reference<any>, queue: interop.Pointer | interop.Reference<any>): number; | ||
@@ -67,0 +67,0 @@ declare function DNSServiceSleepKeepalive(sdRef: interop.Pointer | interop.Reference<interop.Pointer | interop.Reference<any>>, flags: number, fd: number, timeout: number, callBack: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>, p2: number, p3: interop.Pointer | interop.Reference<any>) => void>, context: interop.Pointer | interop.Reference<any>): number; |
@@ -51,2 +51,6 @@ | ||
FullAccess = 3, | ||
WriteOnly = 4, | ||
Authorized = 3 | ||
@@ -381,2 +385,8 @@ } | ||
requestFullAccessToEventsWithCompletion(completion: (p1: boolean, p2: NSError) => void): void; | ||
requestFullAccessToRemindersWithCompletion(completion: (p1: boolean, p2: NSError) => void): void; | ||
requestWriteOnlyAccessToEventsWithCompletion(completion: (p1: boolean, p2: NSError) => void): void; | ||
reset(): void; | ||
@@ -383,0 +393,0 @@ |
@@ -272,4 +272,2 @@ | ||
dispatchQueue: NSObject; | ||
readonly exposureNotificationEnabled: boolean; | ||
@@ -276,0 +274,0 @@ |
@@ -128,7 +128,7 @@ | ||
constructor(o: { delegate: EAWiFiUnconfiguredAccessoryBrowserDelegate; queue: NSObject; }); | ||
constructor(o: { delegate: EAWiFiUnconfiguredAccessoryBrowserDelegate; queue: interop.Pointer | interop.Reference<any>; }); | ||
configureAccessoryWithConfigurationUIOnViewController(accessory: EAWiFiUnconfiguredAccessory, viewController: UIViewController): void; | ||
initWithDelegateQueue(delegate: EAWiFiUnconfiguredAccessoryBrowserDelegate, queue: NSObject): this; | ||
initWithDelegateQueue(delegate: EAWiFiUnconfiguredAccessoryBrowserDelegate, queue: interop.Pointer | interop.Reference<any>): this; | ||
@@ -135,0 +135,0 @@ startSearchingForUnconfiguredAccessoriesMatchingPredicate(predicate: NSPredicate): void; |
@@ -37,2 +37,4 @@ | ||
sources: NSSet<GCPhysicalInputSource>; | ||
value: number; | ||
@@ -120,2 +122,4 @@ | ||
readonly input: GCControllerLiveInput; | ||
readonly light: GCDeviceLight; | ||
@@ -139,4 +143,2 @@ | ||
handlerQueue: NSObject; // inherited from GCDevice | ||
readonly hash: number; // inherited from NSObjectProtocol | ||
@@ -271,2 +273,132 @@ | ||
declare class GCControllerInputState extends NSObject implements GCDevicePhysicalInputState { | ||
static alloc(): GCControllerInputState; // inherited from NSObject | ||
static new(): GCControllerInputState; // inherited from NSObject | ||
readonly axes: GCPhysicalInputElementCollection<string, GCAxisElement>; // inherited from GCDevicePhysicalInputState | ||
readonly buttons: GCPhysicalInputElementCollection<string, GCButtonElement>; // inherited from GCDevicePhysicalInputState | ||
readonly debugDescription: string; // inherited from NSObjectProtocol | ||
readonly description: string; // inherited from NSObjectProtocol | ||
readonly device: GCDevice; // inherited from GCDevicePhysicalInputState | ||
readonly dpads: GCPhysicalInputElementCollection<string, GCDirectionPadElement>; // inherited from GCDevicePhysicalInputState | ||
readonly elements: GCPhysicalInputElementCollection<string, GCPhysicalInputElement>; // inherited from GCDevicePhysicalInputState | ||
readonly hash: number; // inherited from NSObjectProtocol | ||
readonly isProxy: boolean; // inherited from NSObjectProtocol | ||
readonly lastEventLatency: number; // inherited from GCDevicePhysicalInputState | ||
readonly lastEventTimestamp: number; // inherited from GCDevicePhysicalInputState | ||
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol | ||
readonly switches: GCPhysicalInputElementCollection<string, GCSwitchElement>; // inherited from GCDevicePhysicalInputState | ||
readonly // inherited from NSObjectProtocol | ||
class(): typeof NSObject; | ||
conformsToProtocol(aProtocol: any /* Protocol */): boolean; | ||
isEqual(object: any): boolean; | ||
isKindOfClass(aClass: typeof NSObject): boolean; | ||
isMemberOfClass(aClass: typeof NSObject): boolean; | ||
objectForKeyedSubscript(key: string): GCPhysicalInputElement; | ||
performSelector(aSelector: string): any; | ||
performSelectorWithObject(aSelector: string, object: any): any; | ||
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any; | ||
respondsToSelector(aSelector: string): boolean; | ||
retainCount(): number; | ||
self(): this; | ||
} | ||
declare class GCControllerLiveInput extends GCControllerInputState implements GCDevicePhysicalInput { | ||
static alloc(): GCControllerLiveInput; // inherited from NSObject | ||
static new(): GCControllerLiveInput; // inherited from NSObject | ||
readonly unmappedInput: GCControllerLiveInput; | ||
readonly axes: GCPhysicalInputElementCollection<string, GCAxisElement>; // inherited from GCDevicePhysicalInputState | ||
readonly buttons: GCPhysicalInputElementCollection<string, GCButtonElement>; // inherited from GCDevicePhysicalInputState | ||
readonly debugDescription: string; // inherited from NSObjectProtocol | ||
readonly description: string; // inherited from NSObjectProtocol | ||
readonly device: GCDevice; // inherited from GCDevicePhysicalInputState | ||
readonly dpads: GCPhysicalInputElementCollection<string, GCDirectionPadElement>; // inherited from GCDevicePhysicalInputState | ||
elementValueDidChangeHandler: (p1: GCDevicePhysicalInput, p2: GCPhysicalInputElement) => void; // inherited from GCDevicePhysicalInput | ||
readonly elements: GCPhysicalInputElementCollection<string, GCPhysicalInputElement>; // inherited from GCDevicePhysicalInputState | ||
readonly hash: number; // inherited from NSObjectProtocol | ||
inputStateAvailableHandler: (p1: GCDevicePhysicalInput) => void; // inherited from GCDevicePhysicalInput | ||
inputStateQueueDepth: number; // inherited from GCDevicePhysicalInput | ||
readonly isProxy: boolean; // inherited from NSObjectProtocol | ||
readonly lastEventLatency: number; // inherited from GCDevicePhysicalInputState | ||
readonly lastEventTimestamp: number; // inherited from GCDevicePhysicalInputState | ||
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol | ||
readonly switches: GCPhysicalInputElementCollection<string, GCSwitchElement>; // inherited from GCDevicePhysicalInputState | ||
readonly // inherited from NSObjectProtocol | ||
capture(): GCControllerInputState; | ||
class(): typeof NSObject; | ||
conformsToProtocol(aProtocol: any /* Protocol */): boolean; | ||
isEqual(object: any): boolean; | ||
isKindOfClass(aClass: typeof NSObject): boolean; | ||
isMemberOfClass(aClass: typeof NSObject): boolean; | ||
nextInputState(): GCControllerInputState; | ||
objectForKeyedSubscript(key: string): GCPhysicalInputElement; | ||
performSelector(aSelector: string): any; | ||
performSelectorWithObject(aSelector: string, object: any): any; | ||
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any; | ||
respondsToSelector(aSelector: string): boolean; | ||
retainCount(): number; | ||
self(): this; | ||
} | ||
declare const enum GCControllerPlayerIndex { | ||
@@ -316,4 +448,2 @@ | ||
handlerQueue: NSObject; | ||
physicalInputProfile: GCPhysicalInputProfile; | ||
@@ -793,2 +923,4 @@ | ||
declare function GCInputArcadeButtonName(row: number, column: number): string; | ||
declare var GCInputButtonA: string; | ||
@@ -1408,4 +1540,2 @@ | ||
handlerQueue: NSObject; // inherited from GCDevice | ||
readonly hash: number; // inherited from NSObjectProtocol | ||
@@ -1475,2 +1605,4 @@ | ||
sources: NSSet<GCPhysicalInputSource>; | ||
value: number; | ||
@@ -1619,4 +1751,2 @@ | ||
handlerQueue: NSObject; // inherited from GCDevice | ||
readonly hash: number; // inherited from NSObjectProtocol | ||
@@ -1767,2 +1897,30 @@ | ||
interface GCPhysicalInputSource extends NSObjectProtocol { | ||
direction: GCPhysicalInputSourceDirection; | ||
elementAliases: NSSet<string>; | ||
elementLocalizedName: string; | ||
sfSymbolsName: string; | ||
} | ||
declare var GCPhysicalInputSource: { | ||
prototype: GCPhysicalInputSource; | ||
}; | ||
declare const enum GCPhysicalInputSourceDirection { | ||
NotApplicable = 0, | ||
Up = 1, | ||
Right = 2, | ||
Down = 4, | ||
Left = 8 | ||
} | ||
interface GCPressedStateInput extends NSObjectProtocol { | ||
@@ -1777,2 +1935,4 @@ | ||
pressedDidChangeHandler: (p1: GCPhysicalInputElement, p2: GCPressedStateInput, p3: boolean) => void; | ||
sources: NSSet<GCPhysicalInputSource>; | ||
} | ||
@@ -1784,2 +1944,4 @@ declare var GCPressedStateInput: { | ||
declare var GCProductCategoryArcadeStick: string; | ||
declare var GCProductCategoryCoalescedRemote: string; | ||
@@ -1828,2 +1990,4 @@ | ||
lastDeltaTimestamp: number; | ||
sources: NSSet<GCPhysicalInputSource>; | ||
} | ||
@@ -1873,2 +2037,4 @@ declare var GCRelativeInput: { | ||
sequential: boolean; | ||
sources: NSSet<GCPhysicalInputSource>; | ||
} | ||
@@ -1904,2 +2070,4 @@ declare var GCSwitchPositionInput: { | ||
sources: NSSet<GCPhysicalInputSource>; | ||
touched: boolean; | ||
@@ -1932,2 +2100,6 @@ | ||
setPositionForDirectionPadElement(position: CGPoint, element: string): void; | ||
setValueForButtonElement(value: number, element: string): void; | ||
updateConfigurationForElementConfiguration(element: string, config: (p1: GCVirtualControllerElementConfiguration) => GCVirtualControllerElementConfiguration): void; | ||
@@ -1943,2 +2115,4 @@ } | ||
elements: NSSet<string>; | ||
hidden: boolean; | ||
} | ||
@@ -1945,0 +2119,0 @@ |
@@ -80,2 +80,4 @@ | ||
challengeComposeControllerWithMessagePlayersCompletion(message: string, players: NSArray<GKPlayer> | GKPlayer[], completionHandler: (p1: UIViewController, p2: boolean, p3: NSArray<GKPlayer>) => void): UIViewController; | ||
challengeComposeControllerWithMessagePlayersCompletionHandler(message: string, players: NSArray<GKPlayer> | GKPlayer[], completionHandler: (p1: UIViewController, p2: boolean, p3: NSArray<string>) => void): UIViewController; | ||
@@ -137,2 +139,4 @@ | ||
readonly rarityPercent: number; | ||
readonly replayable: boolean; | ||
@@ -727,2 +731,4 @@ | ||
challengeComposeControllerWithMessagePlayersCompletion(message: string, players: NSArray<GKPlayer> | GKPlayer[], completionHandler: (p1: UIViewController, p2: boolean, p3: NSArray<GKPlayer>) => void): UIViewController; | ||
challengeComposeControllerWithMessagePlayersCompletionHandler(message: string, players: NSArray<GKPlayer> | GKPlayer[], completionHandler: (p1: UIViewController, p2: boolean, p3: NSArray<string>) => void): UIViewController; | ||
@@ -1333,2 +1339,4 @@ } | ||
challengeComposeControllerWithMessagePlayersCompletion(message: string, players: NSArray<GKPlayer> | GKPlayer[], completionHandler: (p1: UIViewController, p2: boolean, p3: NSArray<GKPlayer>) => void): UIViewController; | ||
challengeComposeControllerWithMessagePlayersCompletionHandler(message: string, players: NSArray<GKPlayer> | GKPlayer[], completionHandler: (p1: UIViewController, p2: boolean, p3: NSArray<string>) => void): UIViewController; | ||
@@ -1335,0 +1343,0 @@ |
@@ -430,19 +430,19 @@ | ||
cubeMapWithContentsOfFileOptionsQueueCompletionHandler(path: string, options: NSDictionary<string, number>, queue: NSObject, block: (p1: GLKTextureInfo, p2: NSError) => void): void; | ||
cubeMapWithContentsOfFileOptionsQueueCompletionHandler(path: string, options: NSDictionary<string, number>, queue: interop.Pointer | interop.Reference<any>, block: (p1: GLKTextureInfo, p2: NSError) => void): void; | ||
cubeMapWithContentsOfFilesOptionsQueueCompletionHandler(paths: NSArray<any> | any[], options: NSDictionary<string, number>, queue: NSObject, block: (p1: GLKTextureInfo, p2: NSError) => void): void; | ||
cubeMapWithContentsOfFilesOptionsQueueCompletionHandler(paths: NSArray<any> | any[], options: NSDictionary<string, number>, queue: interop.Pointer | interop.Reference<any>, block: (p1: GLKTextureInfo, p2: NSError) => void): void; | ||
cubeMapWithContentsOfURLOptionsQueueCompletionHandler(url: NSURL, options: NSDictionary<string, number>, queue: NSObject, block: (p1: GLKTextureInfo, p2: NSError) => void): void; | ||
cubeMapWithContentsOfURLOptionsQueueCompletionHandler(url: NSURL, options: NSDictionary<string, number>, queue: interop.Pointer | interop.Reference<any>, block: (p1: GLKTextureInfo, p2: NSError) => void): void; | ||
initWithSharegroup(sharegroup: EAGLSharegroup): this; | ||
textureWithCGImageOptionsQueueCompletionHandler(cgImage: any, options: NSDictionary<string, number>, queue: NSObject, block: (p1: GLKTextureInfo, p2: NSError) => void): void; | ||
textureWithCGImageOptionsQueueCompletionHandler(cgImage: any, options: NSDictionary<string, number>, queue: interop.Pointer | interop.Reference<any>, block: (p1: GLKTextureInfo, p2: NSError) => void): void; | ||
textureWithContentsOfDataOptionsQueueCompletionHandler(data: NSData, options: NSDictionary<string, number>, queue: NSObject, block: (p1: GLKTextureInfo, p2: NSError) => void): void; | ||
textureWithContentsOfDataOptionsQueueCompletionHandler(data: NSData, options: NSDictionary<string, number>, queue: interop.Pointer | interop.Reference<any>, block: (p1: GLKTextureInfo, p2: NSError) => void): void; | ||
textureWithContentsOfFileOptionsQueueCompletionHandler(path: string, options: NSDictionary<string, number>, queue: NSObject, block: (p1: GLKTextureInfo, p2: NSError) => void): void; | ||
textureWithContentsOfFileOptionsQueueCompletionHandler(path: string, options: NSDictionary<string, number>, queue: interop.Pointer | interop.Reference<any>, block: (p1: GLKTextureInfo, p2: NSError) => void): void; | ||
textureWithContentsOfURLOptionsQueueCompletionHandler(url: NSURL, options: NSDictionary<string, number>, queue: NSObject, block: (p1: GLKTextureInfo, p2: NSError) => void): void; | ||
textureWithContentsOfURLOptionsQueueCompletionHandler(url: NSURL, options: NSDictionary<string, number>, queue: interop.Pointer | interop.Reference<any>, block: (p1: GLKTextureInfo, p2: NSError) => void): void; | ||
textureWithNameScaleFactorBundleOptionsQueueCompletionHandler(name: string, scaleFactor: number, bundle: NSBundle, options: NSDictionary<string, number>, queue: NSObject, block: (p1: GLKTextureInfo, p2: NSError) => void): void; | ||
textureWithNameScaleFactorBundleOptionsQueueCompletionHandler(name: string, scaleFactor: number, bundle: NSBundle, options: NSDictionary<string, number>, queue: interop.Pointer | interop.Reference<any>, block: (p1: GLKTextureInfo, p2: NSError) => void): void; | ||
} | ||
@@ -449,0 +449,0 @@ |
@@ -2236,4 +2236,8 @@ | ||
constructor(o: { name: string; fireDate: Date; recurrence: NSDateComponents; }); | ||
constructor(o: { name: string; fireDate: Date; timeZone: NSTimeZone; recurrence: NSDateComponents; recurrenceCalendar: NSCalendar; }); | ||
initWithNameFireDateRecurrence(name: string, fireDate: Date, recurrence: NSDateComponents): this; | ||
initWithNameFireDateTimeZoneRecurrenceRecurrenceCalendar(name: string, fireDate: Date, timeZone: NSTimeZone, recurrence: NSDateComponents, recurrenceCalendar: NSCalendar): this; | ||
@@ -2240,0 +2244,0 @@ |
@@ -183,2 +183,4 @@ | ||
requestSecurityScopedURLWithCompletion(completion: (p1: NSURL, p2: NSError) => void): void; | ||
requestThumbnailDataWithOptionsCompletion(options: NSDictionary<string, any>, completion: (p1: NSData, p2: NSError) => void): void; | ||
@@ -706,2 +708,4 @@ } | ||
declare var ICTransportTypeProximity: string; | ||
declare var ICTransportTypeTCPIP: string; | ||
@@ -708,0 +712,0 @@ |
@@ -318,2 +318,4 @@ | ||
declare var kCGImagePropertyAVISDictionary: string; | ||
declare var kCGImagePropertyAuxiliaryData: string; | ||
@@ -1579,2 +1581,10 @@ | ||
declare var kCGImageSourceDecodeRequest: string; | ||
declare var kCGImageSourceDecodeRequestOptions: string; | ||
declare var kCGImageSourceDecodeToHDR: string; | ||
declare var kCGImageSourceDecodeToSDR: string; | ||
declare var kCGImageSourceShouldAllowFloat: string; | ||
@@ -1581,0 +1591,0 @@ |
@@ -55,2 +55,4 @@ | ||
inspectable: boolean; | ||
name: string; | ||
@@ -102,2 +104,4 @@ | ||
declare function JSGlobalContextIsInspectable(ctx: interop.Pointer | interop.Reference<any>): boolean; | ||
declare function JSGlobalContextRelease(ctx: interop.Pointer | interop.Reference<any>): void; | ||
@@ -107,2 +111,4 @@ | ||
declare function JSGlobalContextSetInspectable(ctx: interop.Pointer | interop.Reference<any>, inspectable: boolean): void; | ||
declare function JSGlobalContextSetName(ctx: interop.Pointer | interop.Reference<any>, name: interop.Pointer | interop.Reference<any>): void; | ||
@@ -387,7 +393,7 @@ | ||
definePropertyDescriptor(property: any, descriptor: any): void; | ||
definePropertyDescriptor(property: string, descriptor: any): void; | ||
deleteProperty(property: any): boolean; | ||
deleteProperty(property: string): boolean; | ||
hasProperty(property: any): boolean; | ||
hasProperty(property: string): boolean; | ||
@@ -412,3 +418,3 @@ invokeMethodWithArguments(method: string, _arguments: NSArray<any> | any[]): JSValue; | ||
setValueForProperty(value: any, property: any): void; | ||
setValueForProperty(value: any, property: string): void; | ||
@@ -447,3 +453,3 @@ toArray(): NSArray<any>; | ||
valueForProperty(property: any): JSValue; | ||
valueForProperty(property: string): JSValue; | ||
} | ||
@@ -450,0 +456,0 @@ |
@@ -10,3 +10,5 @@ | ||
MetadataFetchTimedOut = 4 | ||
MetadataFetchTimedOut = 4, | ||
MetadataFetchNotAllowed = 5 | ||
} | ||
@@ -13,0 +15,0 @@ |
@@ -51,3 +51,5 @@ | ||
TypeFaceID = 2 | ||
TypeFaceID = 2, | ||
TypeOpticID = 4 | ||
} | ||
@@ -54,0 +56,0 @@ |
@@ -503,2 +503,16 @@ | ||
declare function macho_arch_name_for_cpu_type(type: number, subtype: number): string; | ||
declare function macho_arch_name_for_mach_header(mh: interop.Pointer | interop.Reference<mach_header>): string; | ||
declare function macho_best_slice(path: string | interop.Pointer | interop.Reference<any>, bestSlice: (p1: interop.Pointer | interop.Reference<mach_header>, p2: number, p3: number) => void): number; | ||
declare function macho_best_slice_in_fd(fd: number, bestSlice: (p1: interop.Pointer | interop.Reference<mach_header>, p2: number, p3: number) => void): number; | ||
declare function macho_cpu_type_for_arch_name(archName: string | interop.Pointer | interop.Reference<any>, type: interop.Pointer | interop.Reference<number>, subtype: interop.Pointer | interop.Reference<number>): boolean; | ||
declare function macho_for_each_slice(path: string | interop.Pointer | interop.Reference<any>, callback: (p1: interop.Pointer | interop.Reference<mach_header>, p2: number, p3: number, p4: interop.Pointer | interop.Reference<boolean>) => void): number; | ||
declare function macho_for_each_slice_in_fd(fd: number, callback: (p1: interop.Pointer | interop.Reference<mach_header>, p2: number, p3: number, p4: interop.Pointer | interop.Reference<boolean>) => void): number; | ||
interface note_command { | ||
@@ -505,0 +519,0 @@ cmd: number; |
@@ -93,2 +93,28 @@ | ||
declare function MADimFlashingLightsEnabled(): boolean; | ||
declare class MAFlashingLightsProcessor extends NSObject { | ||
static alloc(): MAFlashingLightsProcessor; // inherited from NSObject | ||
static new(): MAFlashingLightsProcessor; // inherited from NSObject | ||
canProcessSurface(surface: IOSurface): boolean; | ||
processSurfaceOutSurfaceTimestampOptions(inSurface: IOSurface, outSurface: IOSurface, timestamp: number, options: NSDictionary<string, any>): MAFlashingLightsProcessorResult; | ||
} | ||
declare class MAFlashingLightsProcessorResult extends NSObject { | ||
static alloc(): MAFlashingLightsProcessorResult; // inherited from NSObject | ||
static new(): MAFlashingLightsProcessorResult; // inherited from NSObject | ||
readonly intensityLevel: number; | ||
readonly mitigationLevel: number; | ||
readonly surfaceProcessed: boolean; | ||
} | ||
declare function MAImageCaptioningCopyCaption(url: NSURL, error: interop.Pointer | interop.Reference<NSError>): string; | ||
@@ -109,1 +135,3 @@ | ||
declare var kMACaptionAppearanceSettingsChangedNotification: string; | ||
declare var kMADimFlashingLightsChangedNotification: string; |
@@ -235,3 +235,7 @@ | ||
constructor(o: { fileURL: NSURL; identifier: NSUUID; localizedDescription: string; }); | ||
initWithContentsOfFileURLLocalizedDescriptionError(fileURL: NSURL, localizedDescription: string): this; | ||
initWithFileURLIdentifierLocalizedDescription(url: NSURL, identifier: NSUUID, localizedDescription: string): this; | ||
} | ||
@@ -238,0 +242,0 @@ |
@@ -89,2 +89,4 @@ | ||
insertCollaborationItemProvider(itemProvider: NSItemProvider): boolean; | ||
setUPIVerificationCodeSendCompletion(completion: (p1: boolean) => void): void; | ||
} | ||
@@ -91,0 +93,0 @@ |
@@ -229,2 +229,4 @@ | ||
declare var MTKTextureLoaderOptionLoadAsArray: string; | ||
declare var MTKTextureLoaderOptionOrigin: string; | ||
@@ -231,0 +233,0 @@ |
@@ -188,2 +188,4 @@ | ||
readonly exceptionReason: MXCrashDiagnosticObjectiveCExceptionReason; | ||
readonly exceptionType: number; | ||
@@ -198,2 +200,33 @@ | ||
declare class MXCrashDiagnosticObjectiveCExceptionReason extends NSObject implements NSSecureCoding { | ||
static alloc(): MXCrashDiagnosticObjectiveCExceptionReason; // inherited from NSObject | ||
static new(): MXCrashDiagnosticObjectiveCExceptionReason; // inherited from NSObject | ||
readonly arguments: NSArray<string>; | ||
readonly className: string; | ||
readonly composedMessage: string; | ||
readonly exceptionName: string; | ||
readonly exceptionType: string; | ||
readonly formatString: string; | ||
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding | ||
constructor(o: { coder: NSCoder; }); // inherited from NSCoding | ||
JSONRepresentation(): NSData; | ||
dictionaryRepresentation(): NSDictionary<any, any>; | ||
encodeWithCoder(coder: NSCoder): void; | ||
initWithCoder(coder: NSCoder): this; | ||
} | ||
declare class MXDiagnostic extends NSObject implements NSSecureCoding { | ||
@@ -209,2 +242,4 @@ | ||
readonly signpostData: NSArray<MXSignpostRecord>; | ||
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding | ||
@@ -429,4 +464,10 @@ | ||
readonly isTestFlightApp: boolean; | ||
readonly lowPowerModeEnabled: boolean; | ||
readonly osVersion: string; | ||
readonly pid: number; | ||
readonly platformArchitecture: string; | ||
@@ -480,3 +521,3 @@ | ||
static makeLogHandleWithCategory(category: string): NSObject; | ||
static makeLogHandleWithCategory(category: string): interop.Pointer | interop.Reference<any>; | ||
@@ -621,2 +662,35 @@ static new(): MXMetricManager; // inherited from NSObject | ||
declare class MXSignpostRecord extends NSObject implements NSSecureCoding { | ||
static alloc(): MXSignpostRecord; // inherited from NSObject | ||
static new(): MXSignpostRecord; // inherited from NSObject | ||
readonly beginTimeStamp: Date; | ||
readonly category: string; | ||
readonly duration: NSMeasurement<NSUnitDuration>; | ||
readonly endTimeStamp: Date; | ||
readonly isInterval: boolean; | ||
readonly name: string; | ||
readonly subsystem: string; | ||
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding | ||
constructor(o: { coder: NSCoder; }); // inherited from NSCoding | ||
JSONRepresentation(): NSData; | ||
dictionaryRepresentation(): NSDictionary<any, any>; | ||
encodeWithCoder(coder: NSCoder): void; | ||
initWithCoder(coder: NSCoder): this; | ||
} | ||
declare class MXUnitAveragePixelLuminance extends NSDimension { | ||
@@ -623,0 +697,0 @@ |
declare class NLContextualEmbedding extends NSObject { | ||
static alloc(): NLContextualEmbedding; // inherited from NSObject | ||
static contextualEmbeddingWithLanguage(language: string): NLContextualEmbedding; | ||
static contextualEmbeddingWithModelIdentifier(modelIdentifier: string): NLContextualEmbedding; | ||
static contextualEmbeddingWithScript(script: string): NLContextualEmbedding; | ||
static contextualEmbeddingsForValues(valuesDictionary: NSDictionary<string, any>): NSArray<NLContextualEmbedding>; | ||
static new(): NLContextualEmbedding; // inherited from NSObject | ||
readonly dimension: number; | ||
readonly hasAvailableAssets: boolean; | ||
readonly languages: NSArray<string>; | ||
readonly maximumSequenceLength: number; | ||
readonly modelIdentifier: string; | ||
readonly revision: number; | ||
readonly scripts: NSArray<string>; | ||
embeddingResultForStringLanguageError(string: string, language: string): NLContextualEmbeddingResult; | ||
loadWithError(): boolean; | ||
requestEmbeddingAssetsWithCompletionHandler(completionHandler: (p1: NLContextualEmbeddingAssetsResult, p2: NSError) => void): void; | ||
unload(): void; | ||
} | ||
declare const enum NLContextualEmbeddingAssetsResult { | ||
Available = 0, | ||
NotAvailable = 1, | ||
Error = 2 | ||
} | ||
declare var NLContextualEmbeddingKeyLanguages: string; | ||
declare var NLContextualEmbeddingKeyRevision: string; | ||
declare var NLContextualEmbeddingKeyScripts: string; | ||
declare class NLContextualEmbeddingResult extends NSObject { | ||
static alloc(): NLContextualEmbeddingResult; // inherited from NSObject | ||
static new(): NLContextualEmbeddingResult; // inherited from NSObject | ||
readonly language: string; | ||
readonly sequenceLength: number; | ||
readonly string: string; | ||
enumerateTokenVectorsInRangeUsingBlock(range: NSRange, block: (p1: NSArray<number>, p2: NSRange, p3: interop.Pointer | interop.Reference<boolean>) => void): void; | ||
tokenVectorAtIndexTokenRange(characterIndex: number, tokenRange: interop.Pointer | interop.Reference<NSRange>): NSArray<number>; | ||
} | ||
declare const enum NLDistanceType { | ||
@@ -287,2 +356,64 @@ | ||
declare var NLScriptArabic: string; | ||
declare var NLScriptArmenian: string; | ||
declare var NLScriptBengali: string; | ||
declare var NLScriptCanadianAboriginalSyllabics: string; | ||
declare var NLScriptCherokee: string; | ||
declare var NLScriptCyrillic: string; | ||
declare var NLScriptDevanagari: string; | ||
declare var NLScriptEthiopic: string; | ||
declare var NLScriptGeorgian: string; | ||
declare var NLScriptGreek: string; | ||
declare var NLScriptGujarati: string; | ||
declare var NLScriptGurmukhi: string; | ||
declare var NLScriptHebrew: string; | ||
declare var NLScriptJapanese: string; | ||
declare var NLScriptKannada: string; | ||
declare var NLScriptKhmer: string; | ||
declare var NLScriptKorean: string; | ||
declare var NLScriptLao: string; | ||
declare var NLScriptLatin: string; | ||
declare var NLScriptMalayalam: string; | ||
declare var NLScriptMongolian: string; | ||
declare var NLScriptMyanmar: string; | ||
declare var NLScriptOriya: string; | ||
declare var NLScriptSimplifiedChinese: string; | ||
declare var NLScriptSinhala: string; | ||
declare var NLScriptTamil: string; | ||
declare var NLScriptTelugu: string; | ||
declare var NLScriptThai: string; | ||
declare var NLScriptTibetan: string; | ||
declare var NLScriptTraditionalChinese: string; | ||
declare var NLScriptUndetermined: string; | ||
declare var NLTagAdjective: string; | ||
@@ -289,0 +420,0 @@ |
@@ -65,2 +65,4 @@ | ||
supportsExtendedDistanceMeasurement: boolean; | ||
supportsPreciseDistanceMeasurement: boolean; | ||
@@ -79,2 +81,4 @@ } | ||
readonly deviceCapabilities: NIDeviceCapability; | ||
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding | ||
@@ -107,3 +111,7 @@ | ||
AccessoryPeerDeviceUnavailable = -5882 | ||
AccessoryPeerDeviceUnavailable = -5882, | ||
IncompatiblePeerDevice = -5881, | ||
ActiveExtendedDistanceSessionsLimitExceeded = -5880 | ||
} | ||
@@ -195,2 +203,4 @@ | ||
extendedDistanceMeasurementEnabled: boolean; | ||
readonly peerDiscoveryToken: NIDiscoveryToken; | ||
@@ -213,4 +223,2 @@ | ||
delegateQueue: NSObject; | ||
readonly discoveryToken: NIDiscoveryToken; | ||
@@ -217,0 +225,0 @@ |
@@ -14,3 +14,3 @@ | ||
networkInterface: NSObject; | ||
networkInterface: interop.Pointer | interop.Reference<any>; | ||
@@ -164,2 +164,4 @@ readonly remoteHostname: string; | ||
reportPushToTalkMessageWithUserInfo(userInfo: NSDictionary<any, any>): void; | ||
start(): void; | ||
@@ -403,2 +405,11 @@ | ||
declare class NEFailureHandlerProvider extends NEProvider { | ||
static alloc(): NEFailureHandlerProvider; // inherited from NSObject | ||
static new(): NEFailureHandlerProvider; // inherited from NSObject | ||
handleFailureCompletionHandler(error: NSError, completionHandler: () => void): void; | ||
} | ||
declare const enum NEFilterAction { | ||
@@ -1022,3 +1033,3 @@ | ||
static registerWithOptionsQueueHandler(options: NSDictionary<string, NSObject>, queue: NSObject, handler: (p1: NEHotspotHelperCommand) => void): boolean; | ||
static registerWithOptionsQueueHandler(options: NSDictionary<string, NSObject>, queue: interop.Pointer | interop.Reference<any>, handler: (p1: NEHotspotHelperCommand) => void): boolean; | ||
@@ -1565,2 +1576,81 @@ static supportedNetworkInterfaces(): NSArray<any>; | ||
declare class NERelay extends NSObject implements NSCopying, NSSecureCoding { | ||
static alloc(): NERelay; // inherited from NSObject | ||
static new(): NERelay; // inherited from NSObject | ||
HTTP2RelayURL: NSURL; | ||
HTTP3RelayURL: NSURL; | ||
additionalHTTPHeaderFields: NSDictionary<string, string>; | ||
dnsOverHTTPSURL: NSURL; | ||
identityData: NSData; | ||
identityDataPassword: string; | ||
rawPublicKeys: NSArray<NSData>; | ||
syntheticDNSAnswerIPv4Prefix: string; | ||
syntheticDNSAnswerIPv6Prefix: string; | ||
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding | ||
constructor(o: { coder: NSCoder; }); // inherited from NSCoding | ||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any; | ||
encodeWithCoder(coder: NSCoder): void; | ||
initWithCoder(coder: NSCoder): this; | ||
} | ||
declare var NERelayConfigurationDidChangeNotification: string; | ||
declare var NERelayErrorDomain: string; | ||
declare class NERelayManager extends NSObject { | ||
static alloc(): NERelayManager; // inherited from NSObject | ||
static loadAllManagersFromPreferencesWithCompletionHandler(completionHandler: (p1: NSArray<NERelayManager>, p2: NSError) => void): void; | ||
static new(): NERelayManager; // inherited from NSObject | ||
static sharedManager(): NERelayManager; | ||
enabled: boolean; | ||
excludedDomains: NSArray<string>; | ||
localizedDescription: string; | ||
matchDomains: NSArray<string>; | ||
onDemandRules: NSArray<NEOnDemandRule>; | ||
relays: NSArray<NERelay>; | ||
loadFromPreferencesWithCompletionHandler(completionHandler: (p1: NSError) => void): void; | ||
removeFromPreferencesWithCompletionHandler(completionHandler: (p1: NSError) => void): void; | ||
saveToPreferencesWithCompletionHandler(completionHandler: (p1: NSError) => void): void; | ||
} | ||
declare const enum NERelayManagerError { | ||
ConfigurationInvalid = 1, | ||
ConfigurationDisabled = 2, | ||
ConfigurationStale = 3, | ||
ConfigurationCannotBeRemoved = 4 | ||
} | ||
declare const enum NETrafficDirection { | ||
@@ -1784,3 +1874,5 @@ | ||
Ed25519 = 5 | ||
Ed25519 = 5, | ||
RSAPSS = 6 | ||
} | ||
@@ -1825,3 +1917,5 @@ | ||
Group31 = 31 | ||
Group31 = 31, | ||
Group32 = 32 | ||
} | ||
@@ -1934,2 +2028,6 @@ | ||
excludeAPNs: boolean; | ||
excludeCellularServices: boolean; | ||
excludeLocalNetworks: boolean; | ||
@@ -1936,0 +2034,0 @@ |
@@ -14,3 +14,3 @@ | ||
declare function notify_register_dispatch(name: string | interop.Pointer | interop.Reference<any>, out_token: interop.Pointer | interop.Reference<number>, queue: NSObject, handler: (p1: number) => void): number; | ||
declare function notify_register_dispatch(name: string | interop.Pointer | interop.Reference<any>, out_token: interop.Pointer | interop.Reference<number>, queue: interop.Pointer | interop.Reference<any>, handler: (p1: number) => void): number; | ||
@@ -17,0 +17,0 @@ declare function notify_register_file_descriptor(name: string | interop.Pointer | interop.Reference<any>, notify_fd: interop.Pointer | interop.Reference<number>, flags: number, out_token: interop.Pointer | interop.Reference<number>): number; |
@@ -54,20 +54,44 @@ | ||
static useStoredAccessor(): boolean; | ||
static version(): number; | ||
accessibilityActivateBlock: () => boolean; | ||
accessibilityActivationPoint: CGPoint; | ||
accessibilityActivationPointBlock: () => CGPoint; | ||
accessibilityAttributedHint: NSAttributedString; | ||
accessibilityAttributedHintBlock: () => NSAttributedString; | ||
accessibilityAttributedLabel: NSAttributedString; | ||
accessibilityAttributedLabelBlock: () => NSAttributedString; | ||
accessibilityAttributedUserInputLabels: NSArray<NSAttributedString>; | ||
accessibilityAttributedUserInputLabelsBlock: () => NSArray<NSAttributedString>; | ||
accessibilityAttributedValue: NSAttributedString; | ||
accessibilityAttributedValueBlock: () => NSAttributedString; | ||
accessibilityContainerType: UIAccessibilityContainerType; | ||
accessibilityContainerTypeBlock: () => UIAccessibilityContainerType; | ||
accessibilityCustomActions: NSArray<UIAccessibilityCustomAction>; | ||
accessibilityCustomActionsBlock: () => NSArray<UIAccessibilityCustomAction>; | ||
accessibilityCustomRotors: NSArray<UIAccessibilityCustomRotor>; | ||
accessibilityCustomRotorsBlock: () => NSArray<UIAccessibilityCustomRotor>; | ||
accessibilityDecrementBlock: () => void; | ||
accessibilityDirectTouchOptions: UIAccessibilityDirectTouchOptions; | ||
accessibilityDragSourceDescriptors: NSArray<UIAccessibilityLocationDescriptor>; | ||
@@ -79,30 +103,74 @@ | ||
accessibilityElementsBlock: () => NSArray<any>; | ||
accessibilityElementsHidden: boolean; | ||
accessibilityElementsHiddenBlock: () => boolean; | ||
accessibilityFrame: CGRect; | ||
accessibilityFrameBlock: () => CGRect; | ||
accessibilityHeaderElementsBlock: () => NSArray<any>; | ||
accessibilityHint: string; | ||
accessibilityHintBlock: () => string; | ||
accessibilityIdentifierBlock: () => string; | ||
accessibilityIncrementBlock: () => void; | ||
accessibilityLabel: string; | ||
accessibilityLabelBlock: () => string; | ||
accessibilityLanguage: string; | ||
accessibilityLanguageBlock: () => string; | ||
accessibilityMagicTapBlock: () => boolean; | ||
accessibilityNavigationStyle: UIAccessibilityNavigationStyle; | ||
accessibilityNavigationStyleBlock: () => UIAccessibilityNavigationStyle; | ||
accessibilityPath: UIBezierPath; | ||
accessibilityPathBlock: () => UIBezierPath; | ||
accessibilityPerformEscapeBlock: () => boolean; | ||
accessibilityRespondsToUserInteraction: boolean; | ||
accessibilityRespondsToUserInteractionBlock: () => boolean; | ||
accessibilityShouldGroupAccessibilityChildrenBlock: () => boolean; | ||
accessibilityTextualContext: string; | ||
accessibilityTextualContextBlock: () => string; | ||
accessibilityTraits: number; | ||
accessibilityTraitsBlock: () => number; | ||
accessibilityUserInputLabels: NSArray<string>; | ||
accessibilityUserInputLabelsBlock: () => NSArray<string>; | ||
accessibilityValue: string; | ||
accessibilityValueBlock: () => string; | ||
accessibilityViewIsModal: boolean; | ||
accessibilityViewIsModalBlock: () => boolean; | ||
readonly autoContentAccessingProxy: any; | ||
automationElements: NSArray<any>; | ||
automationElementsBlock: () => NSArray<any>; | ||
readonly classForCoder: typeof NSObject; | ||
@@ -114,2 +182,4 @@ | ||
isAccessibilityElementBlock: () => boolean; | ||
observationInfo: interop.Pointer | interop.Reference<any>; | ||
@@ -159,2 +229,6 @@ | ||
accessibilityZoomInAtPoint(point: CGPoint): boolean; | ||
accessibilityZoomOutAtPoint(point: CGPoint): boolean; | ||
addObserverForKeyPathOptionsContext(observer: NSObject, keyPath: string, options: NSKeyValueObservingOptions, context: interop.Pointer | interop.Reference<any>): void; | ||
@@ -198,2 +272,6 @@ | ||
handleQueryWithUnboundKey(key: string): any; | ||
handleTakeValueForUnboundKey(value: any, key: string): void; | ||
indexOfAccessibilityElement(element: any): number; | ||
@@ -277,2 +355,14 @@ | ||
storedValueForKey(key: string): any; | ||
takeStoredValueForKey(value: any, key: string): void; | ||
takeValueForKey(value: any, key: string): void; | ||
takeValueForKeyPath(value: any, keyPath: string): void; | ||
takeValuesFromDictionary(properties: NSDictionary<any, any>): void; | ||
unableToSetNilForKey(key: string): void; | ||
validateValueForKeyError(ioValue: interop.Pointer | interop.Reference<any>, inKey: string): boolean; | ||
@@ -288,2 +378,4 @@ | ||
valuesForKeys(keys: NSArray<any> | any[]): NSDictionary<any, any>; | ||
willChangeValueForKey(key: string): void; | ||
@@ -290,0 +382,0 @@ |
declare class OS_object extends NSObject { | ||
static alloc(): OS_object; // inherited from NSObject | ||
static new(): OS_object; // inherited from NSObject | ||
} | ||
declare function os_release(object: interop.Pointer | interop.Reference<any>): void; | ||
declare function os_retain(object: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>; |
declare class OS_os_workgroup extends OS_object { | ||
static alloc(): OS_os_workgroup; // inherited from NSObject | ||
static new(): OS_os_workgroup; // inherited from NSObject | ||
} | ||
declare class OS_os_workgroup_interval extends OS_os_workgroup implements OS_os_workgroup_intervalProtocol { | ||
static alloc(): OS_os_workgroup_interval; // inherited from NSObject | ||
static new(): OS_os_workgroup_interval; // inherited from NSObject | ||
} | ||
interface OS_os_workgroup_intervalProtocol { | ||
} | ||
declare var OS_os_workgroup_intervalProtocol: { | ||
prototype: OS_os_workgroup_intervalProtocol; | ||
}; | ||
declare class OS_os_workgroup_parallel extends OS_os_workgroup implements OS_os_workgroup_parallelProtocol { | ||
static alloc(): OS_os_workgroup_parallel; // inherited from NSObject | ||
static new(): OS_os_workgroup_parallel; // inherited from NSObject | ||
} | ||
interface OS_os_workgroup_parallelProtocol { | ||
} | ||
declare var OS_os_workgroup_parallelProtocol: { | ||
prototype: OS_os_workgroup_parallelProtocol; | ||
}; | ||
interface os_workgroup_attr_opaque_s { | ||
@@ -43,7 +8,7 @@ sig: number; | ||
declare function os_workgroup_cancel(wg: OS_os_workgroup): void; | ||
declare function os_workgroup_cancel(wg: interop.Pointer | interop.Reference<any>): void; | ||
declare function os_workgroup_create_with_workgroup(name: string | interop.Pointer | interop.Reference<any>, wg: OS_os_workgroup): OS_os_workgroup; | ||
declare function os_workgroup_create_with_workgroup(name: string | interop.Pointer | interop.Reference<any>, wg: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>; | ||
declare function os_workgroup_get_working_arena(wg: OS_os_workgroup, index_out: interop.Pointer | interop.Reference<number>): interop.Pointer | interop.Reference<any>; | ||
declare function os_workgroup_get_working_arena(wg: interop.Pointer | interop.Reference<any>, index_out: interop.Pointer | interop.Reference<number>): interop.Pointer | interop.Reference<any>; | ||
@@ -56,9 +21,9 @@ interface os_workgroup_interval_data_opaque_s { | ||
declare function os_workgroup_interval_finish(wg: OS_os_workgroup, data: interop.Pointer | interop.Reference<os_workgroup_interval_data_opaque_s>): number; | ||
declare function os_workgroup_interval_finish(wg: interop.Pointer | interop.Reference<any>, data: interop.Pointer | interop.Reference<os_workgroup_interval_data_opaque_s>): number; | ||
declare function os_workgroup_interval_start(wg: OS_os_workgroup, start: number, deadline: number, data: interop.Pointer | interop.Reference<os_workgroup_interval_data_opaque_s>): number; | ||
declare function os_workgroup_interval_start(wg: interop.Pointer | interop.Reference<any>, start: number, deadline: number, data: interop.Pointer | interop.Reference<os_workgroup_interval_data_opaque_s>): number; | ||
declare function os_workgroup_interval_update(wg: OS_os_workgroup, deadline: number, data: interop.Pointer | interop.Reference<os_workgroup_interval_data_opaque_s>): number; | ||
declare function os_workgroup_interval_update(wg: interop.Pointer | interop.Reference<any>, deadline: number, data: interop.Pointer | interop.Reference<os_workgroup_interval_data_opaque_s>): number; | ||
declare function os_workgroup_join(wg: OS_os_workgroup, token_out: interop.Pointer | interop.Reference<os_workgroup_join_token_opaque_s>): number; | ||
declare function os_workgroup_join(wg: interop.Pointer | interop.Reference<any>, token_out: interop.Pointer | interop.Reference<os_workgroup_join_token_opaque_s>): number; | ||
@@ -71,10 +36,10 @@ interface os_workgroup_join_token_opaque_s { | ||
declare function os_workgroup_leave(wg: OS_os_workgroup, token: interop.Pointer | interop.Reference<os_workgroup_join_token_opaque_s>): void; | ||
declare function os_workgroup_leave(wg: interop.Pointer | interop.Reference<any>, token: interop.Pointer | interop.Reference<os_workgroup_join_token_opaque_s>): void; | ||
declare function os_workgroup_max_parallel_threads(wg: OS_os_workgroup, attr: interop.Pointer | interop.Reference<any>): number; | ||
declare function os_workgroup_max_parallel_threads(wg: interop.Pointer | interop.Reference<any>, attr: interop.Pointer | interop.Reference<any>): number; | ||
declare function os_workgroup_parallel_create(name: string | interop.Pointer | interop.Reference<any>, attr: interop.Pointer | interop.Reference<os_workgroup_attr_opaque_s>): OS_os_workgroup; | ||
declare function os_workgroup_parallel_create(name: string | interop.Pointer | interop.Reference<any>, attr: interop.Pointer | interop.Reference<os_workgroup_attr_opaque_s>): interop.Pointer | interop.Reference<any>; | ||
declare function os_workgroup_set_working_arena(wg: OS_os_workgroup, arena: interop.Pointer | interop.Reference<any>, max_workers: number, destructor: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): number; | ||
declare function os_workgroup_set_working_arena(wg: interop.Pointer | interop.Reference<any>, arena: interop.Pointer | interop.Reference<any>, max_workers: number, destructor: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): number; | ||
declare function os_workgroup_testcancel(wg: OS_os_workgroup): boolean; | ||
declare function os_workgroup_testcancel(wg: interop.Pointer | interop.Reference<any>): boolean; |
interface OS_os_activity extends NSObjectProtocol { | ||
} | ||
declare var OS_os_activity: { | ||
prototype: OS_os_activity; | ||
}; | ||
interface OS_os_log extends NSObjectProtocol { | ||
} | ||
declare var OS_os_log: { | ||
prototype: OS_os_log; | ||
}; | ||
declare var __dso_handle: mach_header; | ||
declare function _os_activity_create(dso: interop.Pointer | interop.Reference<any>, description: string | interop.Pointer | interop.Reference<any>, activity: NSObject, flags: os_activity_flag_t): NSObject; | ||
declare var _os_activity_current: void; | ||
declare function _os_activity_initiate(dso: interop.Pointer | interop.Reference<any>, description: string | interop.Pointer | interop.Reference<any>, flags: os_activity_flag_t, activity_block: () => void): void; | ||
@@ -28,32 +10,24 @@ | ||
declare var _os_activity_none: void; | ||
declare function _os_activity_set_breadcrumb(dso: interop.Pointer | interop.Reference<any>, name: string | interop.Pointer | interop.Reference<any>): void; | ||
declare function _os_activity_start(dso: interop.Pointer | interop.Reference<any>, description: string | interop.Pointer | interop.Reference<any>, flags: os_activity_flag_t): NSObject; | ||
declare function _os_activity_start(dso: interop.Pointer | interop.Reference<any>, description: string | interop.Pointer | interop.Reference<any>, flags: os_activity_flag_t): number; | ||
declare function _os_log_create(dso: interop.Pointer | interop.Reference<any>, subsystem: string | interop.Pointer | interop.Reference<any>, category: string | interop.Pointer | interop.Reference<any>): NSObject; | ||
declare function _os_log_create(dso: interop.Pointer | interop.Reference<any>, subsystem: string | interop.Pointer | interop.Reference<any>, category: string | interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>; | ||
declare function _os_log_debug_impl(dso: interop.Pointer | interop.Reference<any>, log: NSObject, type: os_log_type_t, format: string | interop.Pointer | interop.Reference<any>, buf: string | interop.Pointer | interop.Reference<any>, size: number): void; | ||
declare function _os_log_debug_impl(dso: interop.Pointer | interop.Reference<any>, log: interop.Pointer | interop.Reference<any>, type: os_log_type_t, format: string | interop.Pointer | interop.Reference<any>, buf: string | interop.Pointer | interop.Reference<any>, size: number): void; | ||
declare var _os_log_default: void; | ||
declare var _os_log_disabled: void; | ||
declare function _os_log_error_impl(dso: interop.Pointer | interop.Reference<any>, log: interop.Pointer | interop.Reference<any>, type: os_log_type_t, format: string | interop.Pointer | interop.Reference<any>, buf: string | interop.Pointer | interop.Reference<any>, size: number): void; | ||
declare function _os_log_error_impl(dso: interop.Pointer | interop.Reference<any>, log: NSObject, type: os_log_type_t, format: string | interop.Pointer | interop.Reference<any>, buf: string | interop.Pointer | interop.Reference<any>, size: number): void; | ||
declare function _os_log_fault_impl(dso: interop.Pointer | interop.Reference<any>, log: interop.Pointer | interop.Reference<any>, type: os_log_type_t, format: string | interop.Pointer | interop.Reference<any>, buf: string | interop.Pointer | interop.Reference<any>, size: number): void; | ||
declare function _os_log_fault_impl(dso: interop.Pointer | interop.Reference<any>, log: NSObject, type: os_log_type_t, format: string | interop.Pointer | interop.Reference<any>, buf: string | interop.Pointer | interop.Reference<any>, size: number): void; | ||
declare function _os_log_impl(dso: interop.Pointer | interop.Reference<any>, log: interop.Pointer | interop.Reference<any>, type: os_log_type_t, format: string | interop.Pointer | interop.Reference<any>, buf: string | interop.Pointer | interop.Reference<any>, size: number): void; | ||
declare function _os_log_impl(dso: interop.Pointer | interop.Reference<any>, log: NSObject, type: os_log_type_t, format: string | interop.Pointer | interop.Reference<any>, buf: string | interop.Pointer | interop.Reference<any>, size: number): void; | ||
declare function _os_signpost_emit_with_name_impl(dso: interop.Pointer | interop.Reference<any>, log: interop.Pointer | interop.Reference<any>, type: os_signpost_type_t, spid: number, name: string | interop.Pointer | interop.Reference<any>, format: string | interop.Pointer | interop.Reference<any>, buf: string | interop.Pointer | interop.Reference<any>, size: number): void; | ||
declare function _os_signpost_emit_with_name_impl(dso: interop.Pointer | interop.Reference<any>, log: NSObject, type: os_signpost_type_t, spid: number, name: string | interop.Pointer | interop.Reference<any>, format: string | interop.Pointer | interop.Reference<any>, buf: string | interop.Pointer | interop.Reference<any>, size: number): void; | ||
declare function _os_trace_with_buffer(dso: interop.Pointer | interop.Reference<any>, message: string | interop.Pointer | interop.Reference<any>, type: number, buffer: interop.Pointer | interop.Reference<any>, buffer_size: number, payload: (p1: interop.Pointer | interop.Reference<any>) => void): void; | ||
declare function os_activity_apply(activity: NSObject, block: () => void): void; | ||
declare function os_activity_end(activity: number): void; | ||
declare function os_activity_apply_f(activity: NSObject, context: interop.Pointer | interop.Reference<any>, _function: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>) => void>): void; | ||
declare function os_activity_end(activity: NSObject): void; | ||
declare const enum os_activity_flag_t { | ||
@@ -70,8 +44,4 @@ | ||
declare function os_activity_get_identifier(activity: NSObject, parent_id: interop.Pointer | interop.Reference<number>): number; | ||
declare function os_activity_get_identifier(activity: number, parent_id: interop.Pointer | interop.Reference<number>): number; | ||
declare function os_activity_scope_enter(activity: NSObject, state: interop.Pointer | interop.Reference<os_activity_scope_state_s>): void; | ||
declare function os_activity_scope_leave(state: interop.Pointer | interop.Reference<os_activity_scope_state_s>): void; | ||
interface os_activity_scope_state_s { | ||
@@ -82,9 +52,9 @@ opaque: interop.Reference<number>; | ||
declare function os_log_create(subsystem: string | interop.Pointer | interop.Reference<any>, category: string | interop.Pointer | interop.Reference<any>): NSObject; | ||
declare function os_log_create(subsystem: string | interop.Pointer | interop.Reference<any>, category: string | interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>; | ||
declare function os_log_is_debug_enabled(log: NSObject): boolean; | ||
declare function os_log_is_debug_enabled(log: interop.Pointer | interop.Reference<any>): boolean; | ||
declare function os_log_is_enabled(log: NSObject): boolean; | ||
declare function os_log_is_enabled(log: interop.Pointer | interop.Reference<any>): boolean; | ||
declare function os_log_type_enabled(oslog: NSObject, type: os_log_type_t): boolean; | ||
declare function os_log_type_enabled(oslog: interop.Pointer | interop.Reference<any>, type: os_log_type_t): boolean; | ||
@@ -104,7 +74,7 @@ declare const enum os_log_type_t { | ||
declare function os_signpost_enabled(log: NSObject): boolean; | ||
declare function os_signpost_enabled(log: interop.Pointer | interop.Reference<any>): boolean; | ||
declare function os_signpost_id_generate(log: NSObject): number; | ||
declare function os_signpost_id_generate(log: interop.Pointer | interop.Reference<any>): number; | ||
declare function os_signpost_id_make_with_pointer(log: NSObject, ptr: interop.Pointer | interop.Reference<any>): number; | ||
declare function os_signpost_id_make_with_pointer(log: interop.Pointer | interop.Reference<any>, ptr: interop.Pointer | interop.Reference<any>): number; | ||
@@ -111,0 +81,0 @@ declare const enum os_signpost_type_t { |
@@ -150,2 +150,4 @@ | ||
readonly activatableTextField: boolean; | ||
alignment: NSTextAlignment; | ||
@@ -750,2 +752,4 @@ | ||
declare var PDFDocumentOptimizeImagesForScreenOption: string; | ||
declare var PDFDocumentOwnerPasswordOption: string; | ||
@@ -766,2 +770,4 @@ | ||
declare var PDFDocumentSaveImagesAsJPEGOption: string; | ||
declare var PDFDocumentSaveTextFromOCROption: string; | ||
@@ -768,0 +774,0 @@ |
@@ -32,2 +32,4 @@ | ||
maximumSupportedContentVersion: PKContentVersion; | ||
rulerActive: boolean; | ||
@@ -104,2 +106,11 @@ | ||
declare const enum PKContentVersion { | ||
Version1 = 1, | ||
Version2 = 2, | ||
VersionLatest = 2 | ||
} | ||
declare class PKDrawing extends NSObject implements NSCopying, NSSecureCoding { | ||
@@ -113,2 +124,4 @@ | ||
readonly requiredContentVersion: PKContentVersion; | ||
readonly strokes: NSArray<PKStroke>; | ||
@@ -149,2 +162,8 @@ | ||
static defaultWidthForEraserType(eraserType: PKEraserType): number; | ||
static maximumWidthForEraserType(eraserType: PKEraserType): number; | ||
static minimumWidthForEraserType(eraserType: PKEraserType): number; | ||
static new(): PKEraserTool; // inherited from NSObject | ||
@@ -154,5 +173,11 @@ | ||
readonly width: number; | ||
constructor(o: { eraserType: PKEraserType; }); | ||
constructor(o: { eraserType: PKEraserType; width: number; }); | ||
initWithEraserType(eraserType: PKEraserType): this; | ||
initWithEraserTypeWidth(eraserType: PKEraserType, width: number): this; | ||
} | ||
@@ -164,3 +189,5 @@ | ||
Bitmap = 1 | ||
Bitmap = 1, | ||
FixedWidthBitmap = 2 | ||
} | ||
@@ -195,2 +222,4 @@ | ||
readonly requiredContentVersion: PKContentVersion; | ||
constructor(o: { inkType: string; color: UIColor; }); | ||
@@ -203,4 +232,10 @@ | ||
declare var PKInkTypeCrayon: string; | ||
declare var PKInkTypeFountainPen: string; | ||
declare var PKInkTypeMarker: string; | ||
declare var PKInkTypeMonoline: string; | ||
declare var PKInkTypePen: string; | ||
@@ -210,2 +245,4 @@ | ||
declare var PKInkTypeWatercolor: string; | ||
declare class PKInkingTool extends PKTool { | ||
@@ -231,2 +268,4 @@ | ||
readonly requiredContentVersion: PKContentVersion; | ||
readonly width: number; | ||
@@ -272,2 +311,4 @@ | ||
readonly requiredContentVersion: PKContentVersion; | ||
readonly transform: CGAffineTransform; | ||
@@ -338,2 +379,4 @@ | ||
readonly secondaryScale: number; | ||
readonly size: CGSize; | ||
@@ -345,5 +388,9 @@ | ||
constructor(o: { location: CGPoint; timeOffset: number; size: CGSize; opacity: number; force: number; azimuth: number; altitude: number; secondaryScale: number; }); | ||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any; | ||
initWithLocationTimeOffsetSizeOpacityForceAzimuthAltitude(location: CGPoint, timeOffset: number, size: CGSize, opacity: number, force: number, azimuth: number, altitude: number): this; | ||
initWithLocationTimeOffsetSizeOpacityForceAzimuthAltitudeSecondaryScale(location: CGPoint, timeOffset: number, size: CGSize, opacity: number, force: number, azimuth: number, altitude: number, secondaryScale: number): this; | ||
} | ||
@@ -372,2 +419,4 @@ | ||
maximumSupportedContentVersion: PKContentVersion; | ||
overrideUserInterfaceStyle: UIUserInterfaceStyle; | ||
@@ -374,0 +423,0 @@ |
@@ -438,13 +438,2 @@ | ||
declare class PHASEGeneratorParameters extends NSObject { | ||
static alloc(): PHASEGeneratorParameters; // inherited from NSObject | ||
static new(): PHASEGeneratorParameters; // inherited from NSObject | ||
gain: number; | ||
rate: number; | ||
} | ||
declare class PHASEGeometricSpreadingDistanceModelParameters extends PHASEDistanceModelParameters { | ||
@@ -451,0 +440,0 @@ |
@@ -432,3 +432,5 @@ | ||
AdjustmentBaseVideo = 12 | ||
AdjustmentBaseVideo = 12, | ||
PhotoProxy = 19 | ||
} | ||
@@ -711,4 +713,8 @@ | ||
readonly defaultRenderedContentType: UTType; | ||
readonly renderedContentURL: NSURL; | ||
readonly supportedRenderedContentTypes: NSArray<UTType>; | ||
constructor(o: { contentEditingInput: PHContentEditingInput; }); | ||
@@ -721,2 +727,4 @@ | ||
initWithPlaceholderForCreatedAsset(placeholderForCreatedAsset: PHObjectPlaceholder): this; | ||
renderedContentURLForTypeError(type: UTType): NSURL; | ||
} | ||
@@ -861,2 +869,4 @@ | ||
allowSecondaryDegradedImage: boolean; | ||
deliveryMode: PHImageRequestOptionsDeliveryMode; | ||
@@ -1270,3 +1280,3 @@ | ||
declare class PHVideoRequestOptions extends NSObject { | ||
declare class PHVideoRequestOptions extends NSObject implements NSCopying { | ||
@@ -1284,2 +1294,4 @@ static alloc(): PHVideoRequestOptions; // inherited from NSObject | ||
version: PHVideoRequestOptionsVersion; | ||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any; | ||
} | ||
@@ -1286,0 +1298,0 @@ |
@@ -46,2 +46,4 @@ | ||
contentsRect: CGRect; | ||
delegate: PHLivePhotoViewDelegate; | ||
@@ -84,2 +86,17 @@ | ||
declare const enum PHPickerCapabilities { | ||
None = 0, | ||
Search = 1, | ||
StagingArea = 2, | ||
CollectionNavigation = 4, | ||
SelectionActions = 8, | ||
SensitivityAnalysisIntervention = 16 | ||
} | ||
declare class PHPickerConfiguration extends NSObject implements NSCopying { | ||
@@ -91,4 +108,10 @@ | ||
disabledCapabilities: PHPickerCapabilities; | ||
edgesWithoutContentMargins: NSDirectionalRectEdge; | ||
filter: PHPickerFilter; | ||
mode: PHPickerMode; | ||
preferredAssetRepresentationMode: PHPickerConfigurationAssetRepresentationMode; | ||
@@ -122,3 +145,7 @@ | ||
Ordered = 1 | ||
Ordered = 1, | ||
Continuous = 2, | ||
ContinuousAndOrdered = 3 | ||
} | ||
@@ -165,2 +192,9 @@ | ||
declare const enum PHPickerMode { | ||
Default = 0, | ||
Compact = 1 | ||
} | ||
declare class PHPickerResult extends NSObject { | ||
@@ -177,2 +211,15 @@ | ||
declare class PHPickerUpdateConfiguration extends NSObject implements NSCopying { | ||
static alloc(): PHPickerUpdateConfiguration; // inherited from NSObject | ||
static new(): PHPickerUpdateConfiguration; // inherited from NSObject | ||
edgesWithoutContentMargins: NSDirectionalRectEdge; | ||
selectionLimit: number; | ||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any; | ||
} | ||
declare class PHPickerViewController extends UIViewController { | ||
@@ -195,2 +242,10 @@ | ||
moveAssetWithIdentifierAfterAssetWithIdentifier(identifier: string, afterIdentifier: string): void; | ||
scrollToInitialPosition(): void; | ||
updatePickerUsingConfiguration(configuration: PHPickerUpdateConfiguration): void; | ||
zoomIn(): void; | ||
zoomOut(): void; | ||
} | ||
@@ -197,0 +252,0 @@ |
@@ -34,5 +34,5 @@ | ||
constructor(o: { queue: NSObject; }); | ||
constructor(o: { queue: interop.Pointer | interop.Reference<any>; }); | ||
initWithQueue(queue: NSObject): this; | ||
initWithQueue(queue: interop.Pointer | interop.Reference<any>): this; | ||
@@ -39,0 +39,0 @@ pushTokenForType(type: string): NSData; |
@@ -76,2 +76,4 @@ | ||
setAccessoryButtonEventsEnabledForChannelUUIDCompletionHandler(enabled: boolean, channelUUID: NSUUID, completionHandler: (p1: NSError) => void): void; | ||
setActiveRemoteParticipantForChannelUUIDCompletionHandler(participant: PTParticipant, channelUUID: NSUUID, completionHandler: (p1: NSError) => void): void; | ||
@@ -78,0 +80,0 @@ |
@@ -198,3 +198,3 @@ | ||
declare class CAEDRMetadata extends NSObject { | ||
declare class CAEDRMetadata extends NSObject implements NSCopying, NSSecureCoding { | ||
@@ -205,2 +205,4 @@ static HDR10MetadataWithDisplayInfoContentInfoOpticalOutputScale(displayData: NSData, contentData: NSData, scale: number): CAEDRMetadata; | ||
static HLGMetadataWithAmbientViewingEnvironment(data: NSData): CAEDRMetadata; | ||
static alloc(): CAEDRMetadata; // inherited from NSObject | ||
@@ -213,2 +215,12 @@ | ||
static readonly available: boolean; | ||
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding | ||
constructor(o: { coder: NSCoder; }); // inherited from NSCoding | ||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any; | ||
encodeWithCoder(coder: NSCoder): void; | ||
initWithCoder(coder: NSCoder): this; | ||
} | ||
@@ -552,2 +564,4 @@ | ||
wantsExtendedDynamicRangeContent: boolean; | ||
zPosition: number; | ||
@@ -729,2 +743,49 @@ | ||
declare class CAMetalDisplayLink extends NSObject { | ||
static alloc(): CAMetalDisplayLink; // inherited from NSObject | ||
static new(): CAMetalDisplayLink; // inherited from NSObject | ||
delegate: CAMetalDisplayLinkDelegate; | ||
paused: boolean; | ||
preferredFrameLatency: number; | ||
preferredFrameRateRange: CAFrameRateRange; | ||
constructor(o: { metalLayer: CAMetalLayer; }); | ||
addToRunLoopForMode(runloop: NSRunLoop, mode: string): void; | ||
initWithMetalLayer(layer: CAMetalLayer): this; | ||
invalidate(): void; | ||
removeFromRunLoopForMode(runloop: NSRunLoop, mode: string): void; | ||
} | ||
interface CAMetalDisplayLinkDelegate { | ||
metalDisplayLinkNeedsUpdate(link: CAMetalDisplayLink, update: CAMetalDisplayLinkUpdate): void; | ||
} | ||
declare var CAMetalDisplayLinkDelegate: { | ||
prototype: CAMetalDisplayLinkDelegate; | ||
}; | ||
declare class CAMetalDisplayLinkUpdate extends NSObject { | ||
static alloc(): CAMetalDisplayLinkUpdate; // inherited from NSObject | ||
static new(): CAMetalDisplayLinkUpdate; // inherited from NSObject | ||
readonly drawable: CAMetalDrawable; | ||
readonly targetPresentationTimestamp: number; | ||
readonly targetTimestamp: number; | ||
} | ||
interface CAMetalDrawable extends MTLDrawable { | ||
@@ -771,4 +832,2 @@ | ||
wantsExtendedDynamicRangeContent: boolean; | ||
nextDrawable(): CAMetalDrawable; | ||
@@ -908,2 +967,6 @@ } | ||
allowsOverdamping: boolean; | ||
readonly bounce: number; | ||
damping: number; | ||
@@ -915,5 +978,11 @@ | ||
readonly perceptualDuration: number; | ||
readonly settlingDuration: number; | ||
stiffness: number; | ||
constructor(o: { perceptualDuration: number; bounce: number; }); | ||
initWithPerceptualDurationBounce(perceptualDuration: number, bounce: number): this; | ||
} | ||
@@ -971,2 +1040,4 @@ | ||
static batch(): void; | ||
static begin(): void; | ||
@@ -973,0 +1044,0 @@ |
@@ -68,2 +68,4 @@ | ||
declare var SFExtensionProfileKey: string; | ||
declare class SFSafariViewController extends UIViewController { | ||
@@ -70,0 +72,0 @@ |
@@ -19,5 +19,5 @@ | ||
constructor(o: { updateQueue: NSObject; }); | ||
constructor(o: { updateQueue: interop.Pointer | interop.Reference<any>; }); | ||
initWithUpdateQueue(updateQueue: NSObject): this; | ||
initWithUpdateQueue(updateQueue: interop.Pointer | interop.Reference<any>): this; | ||
@@ -24,0 +24,0 @@ startObserving(): void; |
@@ -58,2 +58,4 @@ | ||
readonly relativeStartTime: number; | ||
readonly reportApplicationIdentifier: string; | ||
@@ -68,2 +70,23 @@ | ||
declare class SRAudioLevel extends NSObject implements NSCopying, NSSecureCoding { | ||
static alloc(): SRAudioLevel; // inherited from NSObject | ||
static new(): SRAudioLevel; // inherited from NSObject | ||
readonly loudness: number; | ||
readonly timeRange: CMTimeRange; | ||
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding | ||
constructor(o: { coder: NSCoder; }); // inherited from NSCoding | ||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any; | ||
encodeWithCoder(coder: NSCoder): void; | ||
initWithCoder(coder: NSCoder): this; | ||
} | ||
declare const enum SRAuthorizationStatus { | ||
@@ -129,2 +152,4 @@ | ||
readonly productType: string; | ||
readonly systemName: string; | ||
@@ -223,2 +248,4 @@ | ||
readonly version: string; | ||
readonly webUsageByCategory: NSDictionary<string, NSArray<SRWebUsage>>; | ||
@@ -242,2 +269,57 @@ } | ||
declare class SRFaceMetrics extends NSObject implements NSCopying, NSSecureCoding { | ||
static alloc(): SRFaceMetrics; // inherited from NSObject | ||
static new(): SRFaceMetrics; // inherited from NSObject | ||
readonly context: SRFaceMetricsContext; | ||
readonly partialFaceExpressions: NSArray<SRFaceMetricsExpression>; | ||
readonly sessionIdentifier: string; | ||
readonly version: string; | ||
readonly wholeFaceExpressions: NSArray<SRFaceMetricsExpression>; | ||
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding | ||
constructor(o: { coder: NSCoder; }); // inherited from NSCoding | ||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any; | ||
encodeWithCoder(coder: NSCoder): void; | ||
initWithCoder(coder: NSCoder): this; | ||
} | ||
declare const enum SRFaceMetricsContext { | ||
DeviceUnlock = 1, | ||
MessagingAppUsage = 2 | ||
} | ||
declare class SRFaceMetricsExpression extends NSObject implements NSCopying, NSSecureCoding { | ||
static alloc(): SRFaceMetricsExpression; // inherited from NSObject | ||
static new(): SRFaceMetricsExpression; // inherited from NSObject | ||
readonly identifier: string; | ||
readonly value: number; | ||
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding | ||
constructor(o: { coder: NSCoder; }); // inherited from NSCoding | ||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any; | ||
encodeWithCoder(coder: NSCoder): void; | ||
initWithCoder(coder: NSCoder): this; | ||
} | ||
declare class SRFetchRequest extends NSObject { | ||
@@ -343,2 +425,4 @@ | ||
readonly sessionIdentifiers: NSArray<string>; | ||
readonly shortWordCharKeyDownErrorDistance: SRKeyboardProbabilityMetric<NSUnitLength>; | ||
@@ -480,2 +564,30 @@ | ||
declare class SRMediaEvent extends NSObject implements NSCopying, NSSecureCoding { | ||
static alloc(): SRMediaEvent; // inherited from NSObject | ||
static new(): SRMediaEvent; // inherited from NSObject | ||
readonly eventType: SRMediaEventType; | ||
readonly mediaIdentifier: string; | ||
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding | ||
constructor(o: { coder: NSCoder; }); // inherited from NSCoding | ||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any; | ||
encodeWithCoder(coder: NSCoder): void; | ||
initWithCoder(coder: NSCoder): this; | ||
} | ||
declare const enum SRMediaEventType { | ||
OnScreen = 1, | ||
OffScreen = 2 | ||
} | ||
declare class SRMessagesUsageReport extends NSObject { | ||
@@ -569,6 +681,14 @@ | ||
declare var SRSensorFaceMetrics: string; | ||
declare var SRSensorHeartRate: string; | ||
declare var SRSensorKeyboardMetrics: string; | ||
declare var SRSensorMediaEvents: string; | ||
declare var SRSensorMessagesUsageReport: string; | ||
declare var SRSensorOdometer: string; | ||
declare var SRSensorOnWristState: string; | ||
@@ -642,2 +762,73 @@ | ||
declare var SRSensorWristTemperature: string; | ||
declare class SRSpeechExpression extends NSObject implements NSCopying, NSSecureCoding { | ||
static alloc(): SRSpeechExpression; // inherited from NSObject | ||
static new(): SRSpeechExpression; // inherited from NSObject | ||
readonly activation: number; | ||
readonly confidence: number; | ||
readonly dominance: number; | ||
readonly mood: number; | ||
readonly timeRange: CMTimeRange; | ||
readonly valence: number; | ||
readonly version: string; | ||
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding | ||
constructor(o: { coder: NSCoder; }); // inherited from NSCoding | ||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any; | ||
encodeWithCoder(coder: NSCoder): void; | ||
initWithCoder(coder: NSCoder): this; | ||
} | ||
declare class SRSpeechMetrics extends NSObject implements NSCopying, NSSecureCoding { | ||
static alloc(): SRSpeechMetrics; // inherited from NSObject | ||
static new(): SRSpeechMetrics; // inherited from NSObject | ||
readonly audioLevel: SRAudioLevel; | ||
readonly sessionFlags: SRSpeechMetricsSessionFlags; | ||
readonly sessionIdentifier: string; | ||
readonly soundClassification: SNClassificationResult; | ||
readonly speechExpression: SRSpeechExpression; | ||
readonly speechRecognition: SFSpeechRecognitionResult; | ||
readonly timestamp: Date; | ||
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding | ||
constructor(o: { coder: NSCoder; }); // inherited from NSCoding | ||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any; | ||
encodeWithCoder(coder: NSCoder): void; | ||
initWithCoder(coder: NSCoder): this; | ||
} | ||
declare const enum SRSpeechMetricsSessionFlags { | ||
Default = 0, | ||
BypassVoiceProcessing = 1 | ||
} | ||
declare class SRSupplementalCategory extends NSObject implements NSCopying, NSSecureCoding { | ||
@@ -670,2 +861,4 @@ | ||
readonly sessionIdentifier: string; | ||
readonly sessionType: SRTextInputSessionType; | ||
@@ -719,4 +912,8 @@ } | ||
readonly offWristDate: Date; | ||
readonly onWrist: boolean; | ||
readonly onWristDate: Date; | ||
readonly wristLocation: SRWristLocation; | ||
@@ -731,1 +928,62 @@ } | ||
} | ||
declare class SRWristTemperature extends NSObject implements NSCopying, NSSecureCoding { | ||
static alloc(): SRWristTemperature; // inherited from NSObject | ||
static new(): SRWristTemperature; // inherited from NSObject | ||
readonly condition: SRWristTemperatureCondition; | ||
readonly errorEstimate: NSMeasurement<NSUnitTemperature>; | ||
readonly timestamp: Date; | ||
readonly value: NSMeasurement<NSUnitTemperature>; | ||
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding | ||
constructor(o: { coder: NSCoder; }); // inherited from NSCoding | ||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any; | ||
encodeWithCoder(coder: NSCoder): void; | ||
initWithCoder(coder: NSCoder): this; | ||
} | ||
declare const enum SRWristTemperatureCondition { | ||
None = 0, | ||
OffWrist = 1, | ||
OnCharger = 2, | ||
InMotion = 4 | ||
} | ||
declare class SRWristTemperatureSession extends NSObject implements NSCopying, NSSecureCoding { | ||
static alloc(): SRWristTemperatureSession; // inherited from NSObject | ||
static new(): SRWristTemperatureSession; // inherited from NSObject | ||
readonly duration: number; | ||
readonly startDate: Date; | ||
readonly temperatures: NSEnumerator<SRWristTemperature>; | ||
readonly version: string; | ||
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding | ||
constructor(o: { coder: NSCoder; }); // inherited from NSCoding | ||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any; | ||
encodeWithCoder(coder: NSCoder): void; | ||
initWithCoder(coder: NSCoder): this; | ||
} |
@@ -44,3 +44,5 @@ | ||
InternalError = 500 | ||
InternalError = 500, | ||
MediaItemFetchFailed = 600 | ||
} | ||
@@ -110,2 +112,4 @@ | ||
readonly creationDate: Date; | ||
readonly explicitContent: boolean; | ||
@@ -154,2 +158,4 @@ | ||
declare var SHMediaItemCreationDate: string; | ||
declare var SHMediaItemExplicitContent: string; | ||
@@ -156,0 +162,0 @@ |
@@ -108,2 +108,6 @@ | ||
textViewMenuConfigurationForTextItemDefaultMenu(textView: UITextView, textItem: UITextItem, defaultMenu: UIMenu): UITextItemMenuConfiguration; | ||
textViewPrimaryActionForTextItemDefaultAction(textView: UITextView, textItem: UITextItem, defaultAction: UIAction): UIAction; | ||
textViewShouldBeginEditing(textView: UITextView): boolean; | ||
@@ -123,2 +127,6 @@ | ||
textViewTextItemMenuWillDisplayForTextItemAnimator(textView: UITextView, textItem: UITextItem, animator: UIContextMenuInteractionAnimating): void; | ||
textViewTextItemMenuWillEndForTextItemAnimator(textView: UITextView, textItem: UITextItem, animator: UIContextMenuInteractionAnimating): void; | ||
textViewWillDismissEditMenuWithAnimator(textView: UITextView, animator: UIEditMenuInteractionAnimating): void; | ||
@@ -125,0 +133,0 @@ |
@@ -43,2 +43,4 @@ | ||
declare function SPAffineTransform3DMakeWithTruncatedProjective(transform: SPProjectiveTransform3D): SPAffineTransform3D; | ||
declare function SPAffineTransform3DRotateByQuaternion(transform: SPAffineTransform3D, quaternion: simd_quatd): SPAffineTransform3D; | ||
@@ -57,2 +59,20 @@ | ||
declare function SPAngleAcos(x: number): SPAngle; | ||
declare function SPAngleAcosh(x: number): SPAngle; | ||
declare function SPAngleAsin(x: number): SPAngle; | ||
declare function SPAngleAsinh(x: number): SPAngle; | ||
declare function SPAngleAtan(x: number): SPAngle; | ||
declare function SPAngleAtan2(y: number, x: number): SPAngle; | ||
declare function SPAngleAtanh(x: number): SPAngle; | ||
declare function SPAngleCos(angle: SPAngle): number; | ||
declare function SPAngleCosh(angle: SPAngle): number; | ||
declare function SPAngleEqualToAngle(angle1: SPAngle, angle2: SPAngle): boolean; | ||
@@ -66,2 +86,14 @@ | ||
declare function SPAngleNegate(angle: SPAngle): SPAngle; | ||
declare function SPAngleNormalize(angle: SPAngle): SPAngle; | ||
declare function SPAngleSin(angle: SPAngle): number; | ||
declare function SPAngleSinh(angle: SPAngle): number; | ||
declare function SPAngleTan(angle: SPAngle): number; | ||
declare function SPAngleTanh(angle: SPAngle): number; | ||
declare const enum SPAxis { | ||
@@ -78,3 +110,7 @@ | ||
PitchYawRoll = 1 | ||
PitchYawRoll = 1, | ||
XYZ = 1, | ||
ZXY = 2 | ||
} | ||
@@ -144,5 +180,1 @@ | ||
declare function SPProjectiveTransform3DShear(transform: SPProjectiveTransform3D, shearAxis: SPAxis, shearFactor0: number, shearFactor1: number): SPProjectiveTransform3D; | ||
declare var SpatialVersionNumber: number; | ||
declare var SpatialVersionString: number; |
@@ -23,2 +23,8 @@ | ||
declare var SFAnalysisContextTagLeftContext: string; | ||
declare var SFAnalysisContextTagRightContext: string; | ||
declare var SFAnalysisContextTagSelectedText: string; | ||
declare class SFSpeechAudioBufferRecognitionRequest extends SFSpeechRecognitionRequest { | ||
@@ -39,2 +45,45 @@ | ||
declare const enum SFSpeechErrorCode { | ||
InternalServiceError = 1, | ||
UndefinedTemplateClassName = 7, | ||
MalformedSupplementalModel = 8 | ||
} | ||
declare var SFSpeechErrorDomain: string; | ||
declare class SFSpeechLanguageModel extends NSObject { | ||
static alloc(): SFSpeechLanguageModel; // inherited from NSObject | ||
static new(): SFSpeechLanguageModel; // inherited from NSObject | ||
static prepareCustomLanguageModelForUrlClientIdentifierConfigurationCompletion(asset: NSURL, clientIdentifier: string, configuration: SFSpeechLanguageModelConfiguration, completion: (p1: NSError) => void): void; | ||
static prepareCustomLanguageModelForUrlClientIdentifierConfigurationIgnoresCacheCompletion(asset: NSURL, clientIdentifier: string, configuration: SFSpeechLanguageModelConfiguration, ignoresCache: boolean, completion: (p1: NSError) => void): void; | ||
} | ||
declare class SFSpeechLanguageModelConfiguration extends NSObject implements NSCopying { | ||
static alloc(): SFSpeechLanguageModelConfiguration; // inherited from NSObject | ||
static new(): SFSpeechLanguageModelConfiguration; // inherited from NSObject | ||
readonly languageModel: NSURL; | ||
readonly vocabulary: NSURL; | ||
constructor(o: { languageModel: NSURL; }); | ||
constructor(o: { languageModel: NSURL; vocabulary: NSURL; }); | ||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any; | ||
initWithLanguageModel(languageModel: NSURL): this; | ||
initWithLanguageModelVocabulary(languageModel: NSURL, vocabulary: NSURL): this; | ||
} | ||
declare class SFSpeechRecognitionMetadata extends NSObject implements NSCopying, NSSecureCoding { | ||
@@ -77,2 +126,4 @@ | ||
customizedLanguageModel: SFSpeechLanguageModelConfiguration; | ||
interactionIdentifier: string; | ||
@@ -320,1 +371,446 @@ | ||
} | ||
declare class _SFAnalysisContext extends NSObject { | ||
static alloc(): _SFAnalysisContext; // inherited from NSObject | ||
static new(): _SFAnalysisContext; // inherited from NSObject | ||
contextualNamedEntities: NSArray<_SFContextualNamedEntity>; | ||
geoLMRegionID: string; | ||
contextualStringsForKey(key: string): NSArray<string>; | ||
setContextualStringsForKey(contextualStrings: NSArray<string> | string[], key: string): void; | ||
setUserDataForKey(userData: any, key: string): void; | ||
userDataForKey(key: string): any; | ||
} | ||
declare var _SFAnalysisContextTagContextualNamedEntities: string; | ||
declare var _SFAnalysisContextTagGeoLMRegionID: string; | ||
declare var _SFAnalysisContextTagLeftContext: string; | ||
declare var _SFAnalysisContextTagRightContext: string; | ||
declare var _SFAnalysisContextTagSelectedText: string; | ||
declare class _SFAnalyzerTranscriptionSegment extends NSObject { | ||
static alloc(): _SFAnalyzerTranscriptionSegment; // inherited from NSObject | ||
static new(): _SFAnalyzerTranscriptionSegment; // inherited from NSObject | ||
readonly alternatives: NSArray<NSArray<_SFToken>>; | ||
readonly text: NSArray<_SFToken>; | ||
constructor(o: { text: NSArray<_SFToken> | _SFToken[]; alternatives: NSArray<NSArray<_SFToken>> | NSArray<_SFToken>[]; }); | ||
initWithTextAlternatives(text: NSArray<_SFToken> | _SFToken[], alternatives: NSArray<NSArray<_SFToken>> | NSArray<_SFToken>[]): this; | ||
} | ||
declare class _SFCommandRecognizerArgument extends NSObject { | ||
static alloc(): _SFCommandRecognizerArgument; // inherited from NSObject | ||
static new(): _SFCommandRecognizerArgument; // inherited from NSObject | ||
readonly adpositionIndexes: NSIndexSet; | ||
readonly indexes: NSIndexSet; | ||
readonly presence: _SFCommandRecognizerArgumentPresence; | ||
constructor(o: { presence: _SFCommandRecognizerArgumentPresence; indexes: NSIndexSet; adpositionIndexes: NSIndexSet; }); | ||
initWithPresenceIndexesAdpositionIndexes(presence: _SFCommandRecognizerArgumentPresence, indexes: NSIndexSet, adpositionIndexes: NSIndexSet): this; | ||
} | ||
declare const enum _SFCommandRecognizerArgumentPresence { | ||
_SFCommandRecognizerArgumentPresencePresentAndDelimited = 0, | ||
_SFCommandRecognizerArgumentPresencePresentMaybeIncomplete = 1, | ||
_SFCommandRecognizerArgumentPresenceMissingMaybeExpected = 2, | ||
_SFCommandRecognizerArgumentPresenceMissing = 3, | ||
SFCommandRecognizerArgumentPresencePresentAndDelimited = 0, | ||
SFCommandRecognizerArgumentPresencePresentMaybeIncomplete = 1, | ||
SFCommandRecognizerArgumentPresenceMissingMaybeExpected = 2, | ||
SFCommandRecognizerArgumentPresenceMissing = 3 | ||
} | ||
declare class _SFCommandRecognizerInterpretation extends NSObject { | ||
static alloc(): _SFCommandRecognizerInterpretation; // inherited from NSObject | ||
static new(): _SFCommandRecognizerInterpretation; // inherited from NSObject | ||
readonly arguments: NSArray<_SFCommandRecognizerArgument>; | ||
readonly commandIdentifier: string; | ||
readonly range: NSRange; | ||
readonly suiteIdentifiers: NSSet<string>; | ||
readonly verbIndexes: NSIndexSet; | ||
constructor(o: { commandIdentifier: string; suiteIdentifiers: NSSet<string>; range: NSRange; verbIndexes: NSIndexSet; arguments: NSArray<_SFCommandRecognizerArgument> | _SFCommandRecognizerArgument[]; }); | ||
initWithCommandIdentifierSuiteIdentifiersRangeVerbIndexesArguments(commandIdentifier: string, suiteIdentifiers: NSSet<string>, range: NSRange, verbIndexes: NSIndexSet, _arguments: NSArray<_SFCommandRecognizerArgument> | _SFCommandRecognizerArgument[]): this; | ||
} | ||
declare class _SFContextualNamedEntity extends NSObject { | ||
static alloc(): _SFContextualNamedEntity; // inherited from NSObject | ||
static new(): _SFContextualNamedEntity; // inherited from NSObject | ||
constructor(o: { peopleSuggesterRecipientDisplayName: string; }); | ||
constructor(o: { personalizationPortraitName: string; score: number; category: number; language: string; }); | ||
initWithPeopleSuggesterRecipientDisplayName(displayName: string): this; | ||
initWithPersonalizationPortraitNameScoreCategoryLanguage(name: string, score: number, category: number, language: string): this; | ||
} | ||
declare const enum _SFEARResultType { | ||
Partial = 0, | ||
Candidate = 1, | ||
Final = 2, | ||
FinalAndTerminal = 3, | ||
PauseConfirmation = 4 | ||
} | ||
declare class _SFEndpointingResult extends NSObject { | ||
static alloc(): _SFEndpointingResult; // inherited from NSObject | ||
static new(): _SFEndpointingResult; // inherited from NSObject | ||
readonly eosLikelihood: number; | ||
readonly pauseCounts: NSArray<number>; | ||
readonly range: CMTimeRange; | ||
readonly silencePosterior: number; | ||
readonly wordCount: number; | ||
constructor(o: { range: CMTimeRange; wordCount: number; eosLikelihood: number; pauseCounts: NSArray<number> | number[]; silencePosterior: number; }); | ||
initWithRangeWordCountEosLikelihoodPauseCountsSilencePosterior(range: CMTimeRange, wordCount: number, eosLikelihood: number, pauseCounts: NSArray<number> | number[], silencePosterior: number): this; | ||
} | ||
declare class _SFInputSequencer extends NSObject { | ||
static alloc(): _SFInputSequencer; // inherited from NSObject | ||
static new(): _SFInputSequencer; // inherited from NSObject | ||
addAudio(audioBuffer: AVAudioPCMBuffer): void; | ||
finishAudio(): void; | ||
} | ||
declare class _SFModelDownloadRequest extends NSObject { | ||
static alloc(): _SFModelDownloadRequest; // inherited from NSObject | ||
static new(): _SFModelDownloadRequest; // inherited from NSObject | ||
readonly progress: NSProgress; | ||
downloadWithCompletion(completion: (p1: NSError) => void): void; | ||
} | ||
declare class _SFSpeechAnalyzer extends NSObject { | ||
static alloc(): _SFSpeechAnalyzer; // inherited from NSObject | ||
static modelDownloadRequestForClientIdentifierTranscriberOptions(clientIdentifier: string, transcriberOptions: _SFSpeechAnalyzerTranscriberOptions): _SFModelDownloadRequest; | ||
static new(): _SFSpeechAnalyzer; // inherited from NSObject | ||
readonly inputSequence: _SFInputSequencer; | ||
constructor(o: { clientIdentifier: string; inputSequence: _SFInputSequencer; audioFormat: AVAudioFormat; transcriberResultDelegate: _SFSpeechAnalyzerTranscriberResultDelegate; endpointingResultDelegate: _SFSpeechAnalyzerEndpointingResultDelegate; queue: NSOperationQueue; transcriberOptions: _SFSpeechAnalyzerTranscriberOptions; commandRecognizerOptions: _SFSpeechAnalyzerCommandRecognizerOptions; options: _SFSpeechAnalyzerOptions; restrictedLogging: boolean; geoLMRegionID: string; contextualNamedEntities: NSArray<_SFContextualNamedEntity> | _SFContextualNamedEntity[]; didChangeVolatileRange: (p1: CMTimeRange, p2: boolean, p3: boolean) => void; }); | ||
cancelPendingResultsAndPauseWithCompletion(completion: (p1: NSError) => void): void; | ||
finalizeAndFinishThroughCompletion(time: CMTime, completion: (p1: NSError) => void): void; | ||
finalizeAndFinishThroughEndOfInputWithCompletion(completion: (p1: NSError) => void): void; | ||
finalizeAndFinishWithCompletion(completion: (p1: NSError) => void): void; | ||
finalizeThroughCompletion(time: CMTime, completion: (p1: NSError) => void): void; | ||
finalizeWithCompletion(completion: (p1: NSError) => void): void; | ||
getContextWithCompletion(completion: (p1: _SFAnalysisContext) => void): void; | ||
getModelInfoLanguageWithCompletion(completion: (p1: string) => void): void; | ||
getModelInfoTasksWithCompletion(completion: (p1: NSSet<string>) => void): void; | ||
getNextBufferStartTimeWithCompletion(completion: (p1: CMTime) => void): void; | ||
getRecognitionStatisticsWithCompletion(completion: (p1: NSDictionary<any, any>) => void): void; | ||
getRecognitionUtterenceStatisticsWithCompletion(completion: (p1: NSDictionary<any, any>) => void): void; | ||
initWithClientIdentifierInputSequenceAudioFormatTranscriberResultDelegateEndpointingResultDelegateQueueTranscriberOptionsCommandRecognizerOptionsOptionsRestrictedLoggingGeoLMRegionIDContextualNamedEntitiesDidChangeVolatileRange(clientIdentifier: string, inputSequence: _SFInputSequencer, audioFormat: AVAudioFormat, transcriberResultDelegate: _SFSpeechAnalyzerTranscriberResultDelegate, endpointingResultDelegate: _SFSpeechAnalyzerEndpointingResultDelegate, queue: NSOperationQueue, transcriberOptions: _SFSpeechAnalyzerTranscriberOptions, commandRecognizerOptions: _SFSpeechAnalyzerCommandRecognizerOptions, options: _SFSpeechAnalyzerOptions, restrictedLogging: boolean, geoLMRegionID: string, contextualNamedEntities: NSArray<_SFContextualNamedEntity> | _SFContextualNamedEntity[], didChangeVolatileRange: (p1: CMTimeRange, p2: boolean, p3: boolean) => void): this; | ||
prepareToAnalyzeReportingIntoCompletion(progress: NSProgress, completion: (p1: NSError) => void): void; | ||
requestResultAtEndpointTimes(times: NSArray<NSValue> | NSValue[]): void; | ||
resumeWithCompletion(completion: (p1: NSError) => void): void; | ||
setDidChangeVolatileRangeCompletion(handler: (p1: CMTimeRange, p2: boolean, p3: boolean) => void, completion: () => void): void; | ||
} | ||
declare class _SFSpeechAnalyzerCommandRecognizerOptions extends NSObject { | ||
static alloc(): _SFSpeechAnalyzerCommandRecognizerOptions; // inherited from NSObject | ||
static new(): _SFSpeechAnalyzerCommandRecognizerOptions; // inherited from NSObject | ||
} | ||
interface _SFSpeechAnalyzerEndpointingResultDelegate { | ||
speechAnalyzerDidProduceEndpointingResult(speechAnalyzer: _SFSpeechAnalyzer, endpointingResult: _SFEndpointingResult): void; | ||
speechAnalyzerDidStopEndpointingWithError(speechAnalyzer: _SFSpeechAnalyzer, error: NSError): void; | ||
} | ||
declare var _SFSpeechAnalyzerEndpointingResultDelegate: { | ||
prototype: _SFSpeechAnalyzerEndpointingResultDelegate; | ||
}; | ||
declare class _SFSpeechAnalyzerOptions extends NSObject implements NSCopying { | ||
static alloc(): _SFSpeechAnalyzerOptions; // inherited from NSObject | ||
static new(): _SFSpeechAnalyzerOptions; // inherited from NSObject | ||
readonly highPriority: boolean; | ||
readonly loggingInfo: _SFSpeechAnalyzerOptionsLoggingInfo; | ||
readonly powerContext: _SFSpeechAnalyzerOptionsPowerContext; | ||
constructor(o: { highPriority: boolean; loggingInfo: _SFSpeechAnalyzerOptionsLoggingInfo; powerContext: _SFSpeechAnalyzerOptionsPowerContext; }); | ||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any; | ||
initWithHighPriorityLoggingInfoPowerContext(highPriority: boolean, loggingInfo: _SFSpeechAnalyzerOptionsLoggingInfo, powerContext: _SFSpeechAnalyzerOptionsPowerContext): this; | ||
} | ||
declare class _SFSpeechAnalyzerOptionsLoggingInfo extends NSObject implements NSCopying { | ||
static alloc(): _SFSpeechAnalyzerOptionsLoggingInfo; // inherited from NSObject | ||
static new(): _SFSpeechAnalyzerOptionsLoggingInfo; // inherited from NSObject | ||
readonly asrID: NSUUID; | ||
readonly requestID: NSUUID; | ||
constructor(o: { asrID: NSUUID; requestID: NSUUID; }); | ||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any; | ||
initWithAsrIDRequestID(asrID: NSUUID, requestID: NSUUID): this; | ||
} | ||
declare class _SFSpeechAnalyzerOptionsPowerContext extends NSObject implements NSCopying { | ||
static alloc(): _SFSpeechAnalyzerOptionsPowerContext; // inherited from NSObject | ||
static new(): _SFSpeechAnalyzerOptionsPowerContext; // inherited from NSObject | ||
readonly ane: string; | ||
readonly cpu: string; | ||
readonly gpu: string; | ||
constructor(o: { ane: string; cpu: string; gpu: string; }); | ||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any; | ||
initWithAneCpuGpu(ane: string, cpu: string, gpu: string): this; | ||
} | ||
declare class _SFSpeechAnalyzerTranscriberOptions extends NSObject { | ||
static alloc(): _SFSpeechAnalyzerTranscriberOptions; // inherited from NSObject | ||
static new(): _SFSpeechAnalyzerTranscriberOptions; // inherited from NSObject | ||
attributeOptions: _SFTranscriptionResultAttributeOptions; | ||
locale: NSLocale; | ||
modelOptions: _SFTranscriberModelOptions; | ||
taskHint: SFSpeechRecognitionTaskHint; | ||
transcriptionOptions: _SFTranscriptionOptions; | ||
} | ||
interface _SFSpeechAnalyzerTranscriberResultDelegate { | ||
speechAnalyzerDidProduceAllTranscriberResults?(speechAnalyzer: _SFSpeechAnalyzer): void; | ||
speechAnalyzerDidProduceTranscriberResult(speechAnalyzer: _SFSpeechAnalyzer, transcriberResult: _SFTranscriberResult): void; | ||
speechAnalyzerDidStopTranscriptionWithError(speechAnalyzer: _SFSpeechAnalyzer, error: NSError): void; | ||
} | ||
declare var _SFSpeechAnalyzerTranscriberResultDelegate: { | ||
prototype: _SFSpeechAnalyzerTranscriberResultDelegate; | ||
}; | ||
declare class _SFToken extends NSObject implements NSCopying { | ||
static alloc(): _SFToken; // inherited from NSObject | ||
static new(): _SFToken; // inherited from NSObject | ||
readonly confidence: number; | ||
readonly duration: number; | ||
readonly startTime: number; | ||
readonly text: string; | ||
constructor(o: { text: string; confidence: number; startTime: number; duration: number; }); | ||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any; | ||
initWithTextConfidenceStartTimeDuration(text: string, confidence: number, startTime: number, duration: number): this; | ||
} | ||
declare class _SFTranscriberModelOptions extends NSObject implements NSCopying { | ||
static alloc(): _SFTranscriberModelOptions; // inherited from NSObject | ||
static new(): _SFTranscriberModelOptions; // inherited from NSObject | ||
readonly farField: boolean; | ||
readonly modelOverrideURL: NSURL; | ||
readonly speechProfileURLs: NSArray<NSURL>; | ||
readonly supplementalModelURL: NSURL; | ||
readonly taskForMemoryLock: string; | ||
constructor(o: { supplementalModelURL: NSURL; farField: boolean; modelOverrideURL: NSURL; speechProfileURLs: NSArray<NSURL> | NSURL[]; taskForMemoryLock: string; }); | ||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any; | ||
initWithSupplementalModelURLFarFieldModelOverrideURLSpeechProfileURLsTaskForMemoryLock(supplementalModelURL: NSURL, farField: boolean, modelOverrideURL: NSURL, speechProfileURLs: NSArray<NSURL> | NSURL[], taskForMemoryLock: string): this; | ||
} | ||
declare class _SFTranscriberResult extends NSObject { | ||
static alloc(): _SFTranscriberResult; // inherited from NSObject | ||
static new(): _SFTranscriberResult; // inherited from NSObject | ||
readonly contextualizedCommandRecognizerResult: _STCommandRecognizerResult; | ||
readonly contextualizedTranscriberMultisegmentResult: _STTranscriberMultisegmentResult; | ||
readonly normalizedCommandRecognizerResult: _STCommandRecognizerResult; | ||
readonly normalizedTranscriberMultisegmentResult: _STTranscriberMultisegmentResult; | ||
readonly range: CMTimeRange; | ||
constructor(o: { range: CMTimeRange; normalizedTranscriberMultisegmentResult: _STTranscriberMultisegmentResult; normalizedCommandRecognizerResult: _STCommandRecognizerResult; contextualizedTranscriberMultisegmentResult: _STTranscriberMultisegmentResult; contextualizedCommandRecognizerResult: _STCommandRecognizerResult; }); | ||
initWithRangeNormalizedTranscriberMultisegmentResultNormalizedCommandRecognizerResultContextualizedTranscriberMultisegmentResultContextualizedCommandRecognizerResult(range: CMTimeRange, normalizedTranscriberMultisegmentResult: _STTranscriberMultisegmentResult, normalizedCommandRecognizerResult: _STCommandRecognizerResult, contextualizedTranscriberMultisegmentResult: _STTranscriberMultisegmentResult, contextualizedCommandRecognizerResult: _STCommandRecognizerResult): this; | ||
} | ||
declare const enum _SFTranscriptionOptions { | ||
NormalizedTranscription = 1, | ||
ContextualizedTranscription = 2, | ||
Punctuation = 4, | ||
Emoji = 8, | ||
EtiquetteReplacements = 16 | ||
} | ||
declare const enum _SFTranscriptionResultAttributeOptions { | ||
Confidence = 1, | ||
CmTime = 2 | ||
} | ||
declare class _STCommandRecognizerResult extends NSObject implements NSCopying { | ||
static alloc(): _STCommandRecognizerResult; // inherited from NSObject | ||
static new(): _STCommandRecognizerResult; // inherited from NSObject | ||
readonly transcriptionCommands: NSArray<NSArray<_SFCommandRecognizerInterpretation>>; | ||
constructor(o: { transcriptionCommands: NSArray<NSArray<_SFCommandRecognizerInterpretation>> | NSArray<_SFCommandRecognizerInterpretation>[]; }); | ||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any; | ||
initWithTranscriptionCommands(transcriptionCommands: NSArray<NSArray<_SFCommandRecognizerInterpretation>> | NSArray<_SFCommandRecognizerInterpretation>[]): this; | ||
} | ||
declare class _STTranscriberMultisegmentResult extends NSObject implements NSCopying { | ||
static alloc(): _STTranscriberMultisegmentResult; // inherited from NSObject | ||
static new(): _STTranscriberMultisegmentResult; // inherited from NSObject | ||
readonly earResultType: _SFEARResultType; | ||
readonly nBestChoices: NSArray<NSIndexPath>; | ||
readonly recognitionAudioRange: CMTimeRange; | ||
readonly segments: NSArray<_SFAnalyzerTranscriptionSegment>; | ||
readonly transcriptions: NSArray<NSArray<_SFToken>>; | ||
constructor(o: { segments: NSArray<_SFAnalyzerTranscriptionSegment> | _SFAnalyzerTranscriptionSegment[]; transcriptions: NSArray<NSArray<_SFToken>> | NSArray<_SFToken>[]; earResultType: _SFEARResultType; nBestChoices: NSArray<NSIndexPath> | NSIndexPath[]; recognitionAudioRange: CMTimeRange; }); | ||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any; | ||
initWithSegmentsTranscriptionsEarResultTypeNBestChoicesRecognitionAudioRange(segments: NSArray<_SFAnalyzerTranscriptionSegment> | _SFAnalyzerTranscriptionSegment[], transcriptions: NSArray<NSArray<_SFToken>> | NSArray<_SFToken>[], earResultType: _SFEARResultType, nBestChoices: NSArray<NSIndexPath> | NSIndexPath[], recognitionAudioRange: CMTimeRange): this; | ||
} |
@@ -126,3 +126,3 @@ | ||
declare function SCNetworkReachabilitySetDispatchQueue(target: any, queue: NSObject): boolean; | ||
declare function SCNetworkReachabilitySetDispatchQueue(target: any, queue: interop.Pointer | interop.Reference<any>): boolean; | ||
@@ -129,0 +129,0 @@ declare function SCNetworkReachabilityUnscheduleFromRunLoop(target: any, runLoop: any, runLoopMode: string): boolean; |
@@ -79,2 +79,4 @@ | ||
declare var UTTypeAHAP: UTType; | ||
declare var UTTypeAIFF: UTType; | ||
@@ -81,0 +83,0 @@ |
@@ -219,4 +219,2 @@ | ||
deleted: boolean; | ||
readonly deviceCategory: VSOriginatingDeviceCategory; | ||
@@ -230,2 +228,4 @@ | ||
signedOut: boolean; | ||
subscriptionBillingCycleEndDate: Date; | ||
@@ -232,0 +232,0 @@ |
@@ -12,2 +12,6 @@ | ||
declare function VTCompressionSessionEncodeMultiImageFrame(session: any, taggedBufferGroup: any, presentationTimeStamp: CMTime, duration: CMTime, frameProperties: NSDictionary<any, any>, sourceFrameRefcon: interop.Pointer | interop.Reference<any>, infoFlagsOut: interop.Pointer | interop.Reference<VTEncodeInfoFlags>): number; | ||
declare function VTCompressionSessionEncodeMultiImageFrameWithOutputHandler(session: any, taggedBufferGroup: any, presentationTimeStamp: CMTime, duration: CMTime, frameProperties: NSDictionary<any, any>, infoFlagsOut: interop.Pointer | interop.Reference<VTEncodeInfoFlags>, outputHandler: (p1: number, p2: VTEncodeInfoFlags, p3: any) => void): number; | ||
declare function VTCompressionSessionEndPass(session: any, furtherPassesRequestedOut: string | interop.Pointer | interop.Reference<any>, reserved: interop.Pointer | interop.Reference<number>): number; | ||
@@ -53,3 +57,5 @@ | ||
kVTDecodeInfo_ImageBufferModifiable = 4 | ||
kVTDecodeInfo_ImageBufferModifiable = 4, | ||
kVTDecodeInfo_SkippedLeadingFrameDropped = 8 | ||
} | ||
@@ -71,2 +77,4 @@ | ||
declare function VTDecompressionSessionDecodeFrameWithMultiImageCapableOutputHandler(session: any, sampleBuffer: any, decodeFlags: VTDecodeFrameFlags, infoFlagsOut: interop.Pointer | interop.Reference<VTDecodeInfoFlags>, multiImageCapableOutputHandler: (p1: number, p2: VTDecodeInfoFlags, p3: any, p4: any, p5: CMTime, p6: CMTime) => void): number; | ||
declare function VTDecompressionSessionDecodeFrameWithOutputHandler(session: any, sampleBuffer: any, decodeFlags: VTDecodeFrameFlags, infoFlagsOut: interop.Pointer | interop.Reference<VTDecodeInfoFlags>, outputHandler: (p1: number, p2: VTDecodeInfoFlags, p3: any, p4: CMTime, p5: CMTime) => void): number; | ||
@@ -80,2 +88,4 @@ | ||
declare function VTDecompressionSessionSetMultiImageCallback(decompressionSession: any, outputMultiImageCallback: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>, p2: interop.Pointer | interop.Reference<any>, p3: number, p4: VTDecodeInfoFlags, p5: any, p6: CMTime, p7: CMTime) => void>, outputMultiImageRefcon: interop.Pointer | interop.Reference<any>): number; | ||
declare function VTDecompressionSessionWaitForAsynchronousFrames(session: any): number; | ||
@@ -118,2 +128,6 @@ | ||
declare function VTIsStereoMVHEVCDecodeSupported(): boolean; | ||
declare function VTIsStereoMVHEVCEncodeSupported(): boolean; | ||
declare function VTMultiPassStorageClose(multiPassStorage: any): number; | ||
@@ -213,4 +227,14 @@ | ||
declare var kVTCompressionPropertyKey_HeroEye: string; | ||
declare var kVTCompressionPropertyKey_HorizontalDisparityAdjustment: string; | ||
declare var kVTCompressionPropertyKey_ICCProfile: string; | ||
declare var kVTCompressionPropertyKey_MVHEVCLeftAndRightViewIDs: string; | ||
declare var kVTCompressionPropertyKey_MVHEVCVideoLayerIDs: string; | ||
declare var kVTCompressionPropertyKey_MVHEVCViewIDs: string; | ||
declare var kVTCompressionPropertyKey_MasteringDisplayColorVolume: string; | ||
@@ -266,2 +290,4 @@ | ||
declare var kVTCompressionPropertyKey_StereoCameraBaseline: string; | ||
declare var kVTCompressionPropertyKey_SupportsBaseFrameQP: string; | ||
@@ -289,2 +315,4 @@ | ||
declare const kVTCouldNotOutputTaggedBufferGroupErr: number; | ||
declare var kVTDecompressionPropertyKey_ContentHasInterframeDependencies: string; | ||
@@ -296,2 +324,4 @@ | ||
declare var kVTDecompressionPropertyKey_GeneratePerFrameHDRDisplayMetadata: string; | ||
declare var kVTDecompressionPropertyKey_MaxOutputPresentationTimeStampOfFramesBeingDecoded: string; | ||
@@ -327,2 +357,4 @@ | ||
declare var kVTDecompressionPropertyKey_RequestedMVHEVCVideoLayerIDs: string; | ||
declare var kVTDecompressionPropertyKey_SuggestedQualityOfServiceTiers: string; | ||
@@ -338,2 +370,4 @@ | ||
declare var kVTDecompressionPropertyKey_UsingHardwareAcceleratedVideoDecoder: string; | ||
declare var kVTDecompressionProperty_DeinterlaceMode_Temporal: string; | ||
@@ -379,2 +413,4 @@ | ||
declare const kVTExtensionDisabledErr: number; | ||
declare const kVTFormatDescriptionChangeNotSupportedErr: number; | ||
@@ -610,4 +646,8 @@ | ||
declare var kVTVideoDecoderSpecification_EnableHardwareAcceleratedVideoDecoder: string; | ||
declare var kVTVideoDecoderSpecification_PreferredDecoderGPURegistryID: string; | ||
declare var kVTVideoDecoderSpecification_RequireHardwareAcceleratedVideoDecoder: string; | ||
declare var kVTVideoDecoderSpecification_RequiredDecoderGPURegistryID: string; | ||
@@ -647,2 +687,4 @@ | ||
declare const kVTVideoEncoderMVHEVCVideoLayerIDsMismatchErr: number; | ||
declare const kVTVideoEncoderMalfunctionErr: number; | ||
@@ -649,0 +691,0 @@ |
@@ -108,2 +108,9 @@ | ||
declare const enum WKCookiePolicy { | ||
Allow = 0, | ||
Disallow = 1 | ||
} | ||
declare const enum WKDataDetectorTypes { | ||
@@ -321,5 +328,9 @@ | ||
getCookiePolicy(completionHandler: (p1: WKCookiePolicy) => void): void; | ||
removeObserver(observer: WKHTTPCookieStoreObserver): void; | ||
setCookieCompletionHandler(cookie: NSHTTPCookie, completionHandler: () => void): void; | ||
setCookiePolicyCompletionHandler(policy: WKCookiePolicy, completionHandler: () => void): void; | ||
} | ||
@@ -336,2 +347,11 @@ | ||
declare const enum WKInactiveSchedulingPolicy { | ||
Suspend = 0, | ||
Throttle = 1, | ||
None = 2 | ||
} | ||
declare const enum WKMediaCaptureState { | ||
@@ -479,2 +499,4 @@ | ||
allowTransparentBackground: boolean; | ||
rect: CGRect; | ||
@@ -504,2 +526,4 @@ | ||
inactiveSchedulingPolicy: WKInactiveSchedulingPolicy; | ||
javaScriptCanOpenWindowsAutomatically: boolean; | ||
@@ -511,2 +535,4 @@ | ||
shouldPrintBackgrounds: boolean; | ||
siteSpecificQuirksModeEnabled: boolean; | ||
@@ -669,2 +695,6 @@ | ||
webViewShowLockdownModeFirstUseMessageCompletionHandler?(webView: WKWebView, message: string, completionHandler: (p1: WKDialogResult) => void): void; | ||
webViewWillDismissEditMenuWithAnimator?(webView: WKWebView, animator: UIEditMenuInteractionAnimating): void; | ||
webViewWillPresentEditMenuWithAnimator?(webView: WKWebView, animator: UIEditMenuInteractionAnimating): void; | ||
} | ||
@@ -827,2 +857,4 @@ declare var WKUIDelegate: { | ||
inspectable: boolean; | ||
interactionState: any; | ||
@@ -941,2 +973,4 @@ | ||
allowsInlinePredictions: boolean; | ||
allowsPictureInPictureMediaPlayback: boolean; | ||
@@ -1021,4 +1055,8 @@ | ||
static dataStoreForIdentifier(identifier: NSUUID): WKWebsiteDataStore; | ||
static defaultDataStore(): WKWebsiteDataStore; | ||
static fetchAllDataStoreIdentifiers(completionHandler: (p1: NSArray<NSUUID>) => void): void; | ||
static new(): WKWebsiteDataStore; // inherited from NSObject | ||
@@ -1028,6 +1066,12 @@ | ||
static removeDataStoreForIdentifierCompletionHandler(identifier: NSUUID, completionHandler: (p1: NSError) => void): void; | ||
readonly httpCookieStore: WKHTTPCookieStore; | ||
readonly identifier: NSUUID; | ||
readonly persistent: boolean; | ||
proxyConfigurations: NSArray<any>; | ||
static readonly supportsSecureCoding: boolean; // inherited from NSSecureCoding | ||
@@ -1056,2 +1100,4 @@ | ||
declare var WKWebsiteDataTypeHashSalt: string; | ||
declare var WKWebsiteDataTypeIndexedDBDatabases: string; | ||
@@ -1061,2 +1107,4 @@ | ||
declare var WKWebsiteDataTypeMediaKeys: string; | ||
declare var WKWebsiteDataTypeMemoryCache: string; | ||
@@ -1066,2 +1114,4 @@ | ||
declare var WKWebsiteDataTypeSearchFieldRecentSearches: string; | ||
declare var WKWebsiteDataTypeServiceWorkerRegistrations: string; | ||
@@ -1068,0 +1118,0 @@ |
@@ -18,4 +18,8 @@ | ||
declare function crc32_z(adler: number, buf: string | interop.Pointer | interop.Reference<any>, len: number): number; | ||
declare function crc32_combine_gen(p1: number): number; | ||
declare function crc32_combine_op(crc1: number, crc2: number, op: number): number; | ||
declare function crc32_z(crc: number, buf: string | interop.Pointer | interop.Reference<any>, len: number): number; | ||
declare function deflate(strm: interop.Pointer | interop.Reference<z_stream>, flush: number): number; | ||
@@ -22,0 +26,0 @@ |
{ | ||
"name": "@nativescript/types-ios", | ||
"version": "8.5.0", | ||
"description": "NativeScript Types for iOS.", | ||
"homepage": "https://nativescript.org", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/NativeScript/NativeScript" | ||
}, | ||
"license": "Apache-2.0" | ||
"name": "@nativescript/types-ios", | ||
"version": "8.6.0", | ||
"description": "NativeScript Types for iOS.", | ||
"homepage": "https://nativescript.org", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/NativeScript/NativeScript" | ||
}, | ||
"license": "Apache-2.0" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
11011754
184
151230