@nativescript/types-ios
Advanced tools
Comparing version
@@ -80,2 +80,10 @@ /** | ||
/** | ||
* Converts a CString to a JavaScript string. | ||
* @param cString A pointer to a CString. | ||
* @param lengthInBytes The length of the string in bytes. UTF-8 characters may be more than one byte. If not provided the string is assumed to be null-terminated. | ||
* @returns A JavaScript string with length <= lengthInBytes. | ||
*/ | ||
function stringFromCString(cString: Pointer | Reference<number>, lengthInBytes?: number): string; | ||
/** | ||
* A type that wraps a pointer and allows read/write operations on its value. | ||
@@ -82,0 +90,0 @@ */ |
@@ -24,2 +24,3 @@ /// <reference path="runtime.d.ts" /> | ||
/// <reference path="objc-x86_64/objc!BackgroundTasks.d.ts" /> | ||
/// <reference path="objc-x86_64/objc!BrowserEngineKit.d.ts" /> | ||
/// <reference path="objc-x86_64/objc!BusinessChat.d.ts" /> | ||
@@ -163,2 +164,3 @@ /// <reference path="objc-x86_64/objc!CFNetwork.d.ts" /> | ||
/// <reference path="objc-x86_64/objc!WidgetKit.d.ts" /> | ||
/// <reference path="objc-x86_64/objc!XPC.d.ts" /> | ||
/// <reference path="objc-x86_64/objc!_Builtin_intrinsics.d.ts" /> | ||
@@ -165,0 +167,0 @@ /// <reference path="objc-x86_64/objc!asl.d.ts" /> |
@@ -14,3 +14,3 @@ | ||
interface AAAccessControlEntry { | ||
tag: acl_tag_t; | ||
tag: number; | ||
perms: number; | ||
@@ -17,0 +17,0 @@ flags: number; |
@@ -11,2 +11,77 @@ | ||
declare class AVCaptureEvent extends NSObject { | ||
static alloc(): AVCaptureEvent; // inherited from NSObject | ||
static new(): AVCaptureEvent; // inherited from NSObject | ||
readonly phase: AVCaptureEventPhase; | ||
} | ||
declare class AVCaptureEventInteraction extends NSObject implements UIInteraction { | ||
static alloc(): AVCaptureEventInteraction; // inherited from NSObject | ||
static new(): AVCaptureEventInteraction; // inherited from NSObject | ||
enabled: boolean; | ||
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 view: UIView; // inherited from UIInteraction | ||
readonly // inherited from NSObjectProtocol | ||
constructor(o: { eventHandler: (p1: AVCaptureEvent) => void; }); | ||
constructor(o: { primaryEventHandler: (p1: AVCaptureEvent) => void; secondaryEventHandler: (p1: AVCaptureEvent) => void; }); | ||
class(): typeof NSObject; | ||
conformsToProtocol(aProtocol: any /* Protocol */): boolean; | ||
didMoveToView(view: UIView): void; | ||
initWithEventHandler(handler: (p1: AVCaptureEvent) => void): this; | ||
initWithPrimaryEventHandlerSecondaryEventHandler(primaryHandler: (p1: AVCaptureEvent) => void, secondaryHandler: (p1: AVCaptureEvent) => void): this; | ||
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; | ||
willMoveToView(view: UIView): void; | ||
} | ||
declare const enum AVCaptureEventPhase { | ||
Began = 0, | ||
Ended = 1, | ||
Cancelled = 2 | ||
} | ||
declare class AVInterstitialTimeRange extends NSObject implements NSCopying, NSSecureCoding { | ||
@@ -13,0 +88,0 @@ |
declare function ColorSyncAPIVersion(): number; | ||
declare const enum ColorSyncAlphaInfo { | ||
@@ -3,0 +5,0 @@ |
@@ -812,3 +812,5 @@ | ||
Unsatisfied = 2 | ||
Unsatisfied = 2, | ||
Unmonitored = 3 | ||
} | ||
@@ -815,0 +817,0 @@ |
@@ -84,2 +84,41 @@ | ||
declare class MLComputePlan extends NSObject { | ||
static alloc(): MLComputePlan; // inherited from NSObject | ||
static loadContentsOfURLConfigurationCompletionHandler(url: NSURL, configuration: MLModelConfiguration, handler: (p1: MLComputePlan, p2: NSError) => void): void; | ||
static loadModelAssetConfigurationCompletionHandler(asset: MLModelAsset, configuration: MLModelConfiguration, handler: (p1: MLComputePlan, p2: NSError) => void): void; | ||
static new(): MLComputePlan; // inherited from NSObject | ||
readonly modelStructure: MLModelStructure; | ||
computeDeviceUsageForMLProgramOperation(operation: MLModelStructureProgramOperation): MLComputePlanDeviceUsage; | ||
computeDeviceUsageForNeuralNetworkLayer(layer: MLModelStructureNeuralNetworkLayer): MLComputePlanDeviceUsage; | ||
estimatedCostOfMLProgramOperation(operation: MLModelStructureProgramOperation): MLComputePlanCost; | ||
} | ||
declare class MLComputePlanCost extends NSObject { | ||
static alloc(): MLComputePlanCost; // inherited from NSObject | ||
static new(): MLComputePlanCost; // inherited from NSObject | ||
readonly weight: number; | ||
} | ||
declare class MLComputePlanDeviceUsage extends NSObject { | ||
static alloc(): MLComputePlanDeviceUsage; // inherited from NSObject | ||
static new(): MLComputePlanDeviceUsage; // inherited from NSObject | ||
readonly preferredComputeDevice: MLComputeDeviceProtocol; | ||
readonly supportedComputeDevices: NSArray<MLComputeDeviceProtocol>; | ||
} | ||
declare const enum MLComputeUnits { | ||
@@ -552,2 +591,4 @@ | ||
optimizationHints: MLOptimizationHints; | ||
parameters: NSDictionary<MLParameterKey, any>; | ||
@@ -634,2 +675,147 @@ | ||
declare class MLModelStructure extends NSObject { | ||
static alloc(): MLModelStructure; // inherited from NSObject | ||
static loadContentsOfURLCompletionHandler(url: NSURL, handler: (p1: MLModelStructure, p2: NSError) => void): void; | ||
static loadModelAssetCompletionHandler(asset: MLModelAsset, handler: (p1: MLModelStructure, p2: NSError) => void): void; | ||
static new(): MLModelStructure; // inherited from NSObject | ||
readonly neuralNetwork: MLModelStructureNeuralNetwork; | ||
readonly pipeline: MLModelStructurePipeline; | ||
readonly program: MLModelStructureProgram; | ||
} | ||
declare class MLModelStructureNeuralNetwork extends NSObject { | ||
static alloc(): MLModelStructureNeuralNetwork; // inherited from NSObject | ||
static new(): MLModelStructureNeuralNetwork; // inherited from NSObject | ||
readonly layers: NSArray<MLModelStructureNeuralNetworkLayer>; | ||
} | ||
declare class MLModelStructureNeuralNetworkLayer extends NSObject { | ||
static alloc(): MLModelStructureNeuralNetworkLayer; // inherited from NSObject | ||
static new(): MLModelStructureNeuralNetworkLayer; // inherited from NSObject | ||
readonly inputNames: NSArray<string>; | ||
readonly name: string; | ||
readonly outputNames: NSArray<string>; | ||
readonly type: string; | ||
} | ||
declare class MLModelStructurePipeline extends NSObject { | ||
static alloc(): MLModelStructurePipeline; // inherited from NSObject | ||
static new(): MLModelStructurePipeline; // inherited from NSObject | ||
readonly subModelNames: NSArray<string>; | ||
readonly subModels: NSArray<MLModelStructure>; | ||
} | ||
declare class MLModelStructureProgram extends NSObject { | ||
static alloc(): MLModelStructureProgram; // inherited from NSObject | ||
static new(): MLModelStructureProgram; // inherited from NSObject | ||
readonly functions: NSDictionary<string, MLModelStructureProgramFunction>; | ||
} | ||
declare class MLModelStructureProgramArgument extends NSObject { | ||
static alloc(): MLModelStructureProgramArgument; // inherited from NSObject | ||
static new(): MLModelStructureProgramArgument; // inherited from NSObject | ||
readonly bindings: NSArray<MLModelStructureProgramBinding>; | ||
} | ||
declare class MLModelStructureProgramBinding extends NSObject { | ||
static alloc(): MLModelStructureProgramBinding; // inherited from NSObject | ||
static new(): MLModelStructureProgramBinding; // inherited from NSObject | ||
readonly name: string; | ||
readonly value: MLModelStructureProgramValue; | ||
} | ||
declare class MLModelStructureProgramBlock extends NSObject { | ||
static alloc(): MLModelStructureProgramBlock; // inherited from NSObject | ||
static new(): MLModelStructureProgramBlock; // inherited from NSObject | ||
readonly inputs: NSArray<MLModelStructureProgramNamedValueType>; | ||
readonly operations: NSArray<MLModelStructureProgramOperation>; | ||
readonly outputNames: NSArray<string>; | ||
} | ||
declare class MLModelStructureProgramFunction extends NSObject { | ||
static alloc(): MLModelStructureProgramFunction; // inherited from NSObject | ||
static new(): MLModelStructureProgramFunction; // inherited from NSObject | ||
readonly block: MLModelStructureProgramBlock; | ||
readonly inputs: NSArray<MLModelStructureProgramNamedValueType>; | ||
} | ||
declare class MLModelStructureProgramNamedValueType extends NSObject { | ||
static alloc(): MLModelStructureProgramNamedValueType; // inherited from NSObject | ||
static new(): MLModelStructureProgramNamedValueType; // inherited from NSObject | ||
readonly name: string; | ||
readonly type: MLModelStructureProgramValueType; | ||
} | ||
declare class MLModelStructureProgramOperation extends NSObject { | ||
static alloc(): MLModelStructureProgramOperation; // inherited from NSObject | ||
static new(): MLModelStructureProgramOperation; // inherited from NSObject | ||
readonly blocks: NSArray<MLModelStructureProgramBlock>; | ||
readonly inputs: NSDictionary<string, MLModelStructureProgramArgument>; | ||
readonly operatorName: string; | ||
readonly outputs: NSArray<MLModelStructureProgramNamedValueType>; | ||
} | ||
declare class MLModelStructureProgramValue extends NSObject { | ||
static alloc(): MLModelStructureProgramValue; // inherited from NSObject | ||
static new(): MLModelStructureProgramValue; // inherited from NSObject | ||
} | ||
declare class MLModelStructureProgramValueType extends NSObject { | ||
static alloc(): MLModelStructureProgramValueType; // inherited from NSObject | ||
static new(): MLModelStructureProgramValueType; // inherited from NSObject | ||
} | ||
declare var MLModelVersionStringKey: string; | ||
@@ -821,2 +1007,21 @@ | ||
declare class MLOptimizationHints extends NSObject implements NSCopying, NSSecureCoding { | ||
static alloc(): MLOptimizationHints; // inherited from NSObject | ||
static new(): MLOptimizationHints; // inherited from NSObject | ||
reshapeFrequency: MLReshapeFrequencyHint; | ||
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 MLParameterDescription extends NSObject implements NSSecureCoding { | ||
@@ -891,2 +1096,9 @@ | ||
declare const enum MLReshapeFrequencyHint { | ||
Frequent = 0, | ||
Infrequent = 1 | ||
} | ||
declare class MLSequence extends NSObject implements NSSecureCoding { | ||
@@ -893,0 +1105,0 @@ |
@@ -326,4 +326,2 @@ | ||
constructor(o: { name: string; protectionClass: string; bundleIdentifier: string; options: number; }); | ||
beginIndexBatch(): void; | ||
@@ -348,4 +346,2 @@ | ||
initWithNameProtectionClass(name: string, protectionClass: string): this; | ||
initWithNameProtectionClassBundleIdentifierOptions(name: string, protectionClass: string, bundleIdentifier: string, options: number): this; | ||
} | ||
@@ -833,6 +829,2 @@ | ||
initWithCoder(coder: NSCoder): this; | ||
score(): number; | ||
suggestionDataSources(): NSArray<any>; | ||
} | ||
@@ -839,0 +831,0 @@ |
@@ -397,2 +397,6 @@ | ||
declare var kCVImageBufferLogTransferFunctionKey: string; | ||
declare var kCVImageBufferLogTransferFunction_AppleLog: string; | ||
declare var kCVImageBufferMasteringDisplayColorVolumeKey: string; | ||
@@ -399,0 +403,0 @@ |
@@ -42,2 +42,4 @@ | ||
declare function dispatch_allow_send_signals(preserve_signum: number): number; | ||
declare function dispatch_apply(iterations: number, queue: interop.Pointer | interop.Reference<any>, block: (p1: number) => void): void; | ||
@@ -44,0 +46,0 @@ |
@@ -207,3 +207,9 @@ | ||
DomainDisabled = -2011 | ||
DomainDisabled = -2011, | ||
ProviderDomainTemporarilyUnavailable = -2012, | ||
ProviderDomainNotFound = -2013, | ||
ApplicationExtensionNotFound = -2014 | ||
} | ||
@@ -210,0 +216,0 @@ |
@@ -9,2 +9,23 @@ | ||
interface GCAxis2DInput extends NSObjectProtocol { | ||
analog: boolean; | ||
canWrap: boolean; | ||
lastValueLatency: number; | ||
lastValueTimestamp: number; | ||
sources: NSSet<GCPhysicalInputSource>; | ||
value: GCPoint2; | ||
valueDidChangeHandler: (p1: GCPhysicalInputElement, p2: GCAxis2DInput, p3: GCPoint2) => void; | ||
} | ||
declare var GCAxis2DInput: { | ||
prototype: GCAxis2DInput; | ||
}; | ||
interface GCAxisElement extends GCPhysicalInputElement { | ||
@@ -579,2 +600,4 @@ | ||
xyAxes: GCAxis2DInput; | ||
yAxis: GCAxisInput; | ||
@@ -922,2 +945,6 @@ } | ||
declare function GCInputBackLeftButton(position: number): string; | ||
declare function GCInputBackRightButton(position: number): string; | ||
declare var GCInputButtonA: string; | ||
@@ -955,2 +982,4 @@ | ||
declare var GCInputLeftBumper: string; | ||
declare var GCInputLeftShoulder: string; | ||
@@ -972,2 +1001,4 @@ | ||
declare var GCInputRightBumper: string; | ||
declare var GCInputRightShoulder: string; | ||
@@ -1921,2 +1952,10 @@ | ||
interface GCPoint2 { | ||
x: number; | ||
y: number; | ||
} | ||
declare var GCPoint2: interop.StructType<GCPoint2>; | ||
declare var GCPoint2Zero: GCPoint2; | ||
interface GCPressedStateInput extends NSObjectProtocol { | ||
@@ -2148,1 +2187,3 @@ | ||
declare function NSDataFromGCMicroGamepadSnapshotData(snapshotData: interop.Pointer | interop.Reference<GCMicroGamepadSnapshotData>): NSData; | ||
declare function NSStringFromGCPoint2(point: GCPoint2): string; |
@@ -365,2 +365,8 @@ | ||
ICloudUnavailable = 35, | ||
LockdownMode = 36, | ||
AppUnlisted = 37, | ||
FriendListDescriptionMissing = 100, | ||
@@ -952,4 +958,8 @@ | ||
readonly playerProperties: NSDictionary<GKPlayer, NSDictionary<string, any>>; | ||
readonly players: NSArray<GKPlayer>; | ||
readonly properties: NSDictionary<string, any>; | ||
chooseBestHostPlayerWithCompletionHandler(completionHandler: (p1: string) => void): void; | ||
@@ -1019,2 +1029,8 @@ | ||
properties: NSDictionary<string, any>; | ||
queueName: string; | ||
recipientProperties: NSDictionary<GKPlayer, NSDictionary<string, any>>; | ||
recipientResponseHandler: (p1: GKPlayer, p2: GKInviteRecipientResponse) => void; | ||
@@ -1043,2 +1059,15 @@ | ||
declare class GKMatchedPlayers extends NSObject { | ||
static alloc(): GKMatchedPlayers; // inherited from NSObject | ||
static new(): GKMatchedPlayers; // inherited from NSObject | ||
readonly playerProperties: NSDictionary<GKPlayer, NSDictionary<string, any>>; | ||
readonly players: NSArray<GKPlayer>; | ||
readonly properties: NSDictionary<string, any>; | ||
} | ||
declare class GKMatchmaker extends NSObject { | ||
@@ -1064,2 +1093,4 @@ | ||
findMatchedPlayersWithCompletionHandler(request: GKMatchRequest, completionHandler: (p1: GKMatchedPlayers, p2: NSError) => void): void; | ||
findPlayersForHostedMatchRequestWithCompletionHandler(request: GKMatchRequest, completionHandler: (p1: NSArray<string>, p2: NSError) => void): void; | ||
@@ -1077,2 +1108,4 @@ | ||
queryQueueActivityWithCompletionHandler(queueName: string, completionHandler: (p1: number, p2: NSError) => void): void; | ||
startBrowsingForNearbyPlayersWithHandler(reachableHandler: (p1: GKPlayer, p2: boolean) => void): void; | ||
@@ -1136,2 +1169,4 @@ | ||
matchmakerViewControllerGetMatchPropertiesForRecipientWithCompletionHandler?(viewController: GKMatchmakerViewController, recipient: GKPlayer, completionHandler: (p1: NSDictionary<string, any>) => void): void; | ||
matchmakerViewControllerHostedPlayerDidAccept?(viewController: GKMatchmakerViewController, player: GKPlayer): void; | ||
@@ -1372,2 +1407,4 @@ | ||
readonly leaderboardEntry: GKLeaderboardEntry; | ||
readonly score: GKScore; | ||
@@ -1374,0 +1411,0 @@ } |
@@ -1552,3 +1552,5 @@ | ||
AccessoryIsSuspended = 103 | ||
AccessoryIsSuspended = 103, | ||
PartialCommunicationFailure = 104 | ||
} | ||
@@ -1555,0 +1557,0 @@ |
@@ -183,2 +183,4 @@ | ||
declare function CGImageSourceSetAllowableTypes(allowableTypes: NSArray<any> | any[]): number; | ||
declare const enum CGImageSourceStatus { | ||
@@ -1553,4 +1555,8 @@ | ||
declare var kCGImagePropertyTIFFXPosition: string; | ||
declare var kCGImagePropertyTIFFXResolution: string; | ||
declare var kCGImagePropertyTIFFYPosition: string; | ||
declare var kCGImagePropertyTIFFYResolution: string; | ||
@@ -1557,0 +1563,0 @@ |
@@ -219,2 +219,20 @@ | ||
declare const enum IOSurfaceMemoryLedgerFlags { | ||
kIOSurfaceMemoryLedgerFlagNoFootprint = 1 | ||
} | ||
declare const enum IOSurfaceMemoryLedgerTags { | ||
kIOSurfaceMemoryLedgerTagDefault = 1, | ||
kIOSurfaceMemoryLedgerTagNetwork = 2, | ||
kIOSurfaceMemoryLedgerTagMedia = 3, | ||
kIOSurfaceMemoryLedgerTagGraphics = 4, | ||
kIOSurfaceMemoryLedgerTagNeural = 5 | ||
} | ||
declare var IOSurfacePropertyAllocSizeKey: string; | ||
@@ -281,2 +299,4 @@ | ||
declare function IOSurfaceSetOwnershipIdentity(buffer: IOSurface, task_id_token: number, newLedgerTag: number, newLedgerOptions: number): number; | ||
declare function IOSurfaceSetPurgeable(buffer: IOSurface, newState: number, oldState: interop.Pointer | interop.Reference<number>): number; | ||
@@ -283,0 +303,0 @@ |
@@ -347,2 +347,13 @@ | ||
interface dylib_use_command { | ||
cmd: number; | ||
cmdsize: number; | ||
nameoff: number; | ||
marker: number; | ||
current_version: number; | ||
compat_version: number; | ||
flags: number; | ||
} | ||
declare var dylib_use_command: interop.StructType<dylib_use_command>; | ||
interface dysymtab_command { | ||
@@ -349,0 +360,0 @@ cmd: number; |
@@ -403,11 +403,2 @@ | ||
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 { | ||
@@ -2026,2 +2017,4 @@ | ||
excludeDeviceCommunication: boolean; | ||
excludeLocalNetworks: boolean; | ||
@@ -2028,0 +2021,0 @@ |
@@ -111,3 +111,5 @@ | ||
VersionLatest = 2 | ||
Version3 = 3, | ||
VersionLatest = 3 | ||
} | ||
@@ -114,0 +116,0 @@ |
@@ -114,2 +114,4 @@ | ||
incomingPushResultForChannelManagerChannelUUIDPushPayload(channelManager: PTChannelManager, channelUUID: NSUUID, pushPayload: NSDictionary<string, any>): PTPushResult; | ||
incomingServiceUpdatePushForChannelManagerChannelUUIDPushPayloadIsHighPriorityRemainingHighPriorityBudgetWithCompletionHandler?(channelManager: PTChannelManager, channelUUID: NSUUID, pushPayload: NSDictionary<string, any>, isHighPriority: boolean, remainingHighPriorityBudget: number, completion: () => void): void; | ||
} | ||
@@ -116,0 +118,0 @@ declare var PTChannelManagerDelegate: { |
@@ -1032,4 +1032,2 @@ | ||
static batch(): void; | ||
static begin(): void; | ||
@@ -1036,0 +1034,0 @@ |
interface SFAddToHomeScreenActivityItem extends NSObjectProtocol { | ||
URL: NSURL; | ||
iconItemProvider?: NSItemProvider; | ||
title: string; | ||
} | ||
declare var SFAddToHomeScreenActivityItem: { | ||
prototype: SFAddToHomeScreenActivityItem; | ||
}; | ||
declare const enum SFAuthenticationError { | ||
@@ -3,0 +16,0 @@ |
@@ -250,2 +250,105 @@ | ||
declare class SRElectrocardiogramData extends NSObject implements NSCopying, NSSecureCoding { | ||
static alloc(): SRElectrocardiogramData; // inherited from NSObject | ||
static new(): SRElectrocardiogramData; // inherited from NSObject | ||
readonly flags: SRElectrocardiogramDataFlags; | ||
readonly value: NSMeasurement<NSUnitElectricPotentialDifference>; | ||
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 SRElectrocardiogramDataFlags { | ||
None = 0, | ||
SignalInvalid = 1, | ||
CrownTouched = 2 | ||
} | ||
declare const enum SRElectrocardiogramLead { | ||
RightArmMinusLeftArm = 1, | ||
LeftArmMinusRightArm = 2 | ||
} | ||
declare class SRElectrocardiogramSample extends NSObject implements NSCopying, NSSecureCoding { | ||
static alloc(): SRElectrocardiogramSample; // inherited from NSObject | ||
static new(): SRElectrocardiogramSample; // inherited from NSObject | ||
readonly data: NSArray<SRElectrocardiogramData>; | ||
readonly date: Date; | ||
readonly frequency: NSMeasurement<NSUnitFrequency>; | ||
readonly lead: SRElectrocardiogramLead; | ||
readonly session: SRElectrocardiogramSession; | ||
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 SRElectrocardiogramSession extends NSObject implements NSCopying, NSSecureCoding { | ||
static alloc(): SRElectrocardiogramSession; // inherited from NSObject | ||
static new(): SRElectrocardiogramSession; // inherited from NSObject | ||
readonly identifier: string; | ||
readonly sessionGuidance: SRElectrocardiogramSessionGuidance; | ||
readonly state: SRElectrocardiogramSessionState; | ||
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 SRElectrocardiogramSessionGuidance { | ||
Guided = 1, | ||
Unguided = 2 | ||
} | ||
declare const enum SRElectrocardiogramSessionState { | ||
Begin = 1, | ||
Active = 2, | ||
End = 3 | ||
} | ||
declare const enum SRErrorCode { | ||
@@ -667,2 +770,113 @@ | ||
declare class SRPhotoplethysmogramAccelerometerSample extends NSObject implements NSCopying, NSSecureCoding { | ||
static alloc(): SRPhotoplethysmogramAccelerometerSample; // inherited from NSObject | ||
static new(): SRPhotoplethysmogramAccelerometerSample; // inherited from NSObject | ||
readonly nanosecondsSinceStart: number; | ||
readonly samplingFrequency: NSMeasurement<NSUnitFrequency>; | ||
readonly x: NSMeasurement<NSUnitAcceleration>; | ||
readonly y: NSMeasurement<NSUnitAcceleration>; | ||
readonly z: NSMeasurement<NSUnitAcceleration>; | ||
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 SRPhotoplethysmogramOpticalSample extends NSObject implements NSCopying, NSSecureCoding { | ||
static alloc(): SRPhotoplethysmogramOpticalSample; // inherited from NSObject | ||
static new(): SRPhotoplethysmogramOpticalSample; // inherited from NSObject | ||
readonly activePhotodiodeIndexes: NSIndexSet; | ||
readonly backgroundNoise: number; | ||
readonly backgroundNoiseOffset: number; | ||
readonly conditions: NSArray<string>; | ||
readonly effectiveWavelength: NSMeasurement<NSUnitLength>; | ||
readonly emitter: number; | ||
readonly nanosecondsSinceStart: number; | ||
readonly nominalWavelength: NSMeasurement<NSUnitLength>; | ||
readonly normalizedReflectance: number; | ||
readonly pinkNoise: number; | ||
readonly samplingFrequency: NSMeasurement<NSUnitFrequency>; | ||
readonly signalIdentifier: number; | ||
readonly whiteNoise: 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 var SRPhotoplethysmogramOpticalSampleConditionSignalSaturation: string; | ||
declare var SRPhotoplethysmogramOpticalSampleConditionUnreliableNoise: string; | ||
declare class SRPhotoplethysmogramSample extends NSObject implements NSCopying, NSSecureCoding { | ||
static alloc(): SRPhotoplethysmogramSample; // inherited from NSObject | ||
static new(): SRPhotoplethysmogramSample; // inherited from NSObject | ||
readonly accelerometerSamples: NSArray<SRPhotoplethysmogramAccelerometerSample>; | ||
readonly nanosecondsSinceStart: number; | ||
readonly opticalSamples: NSArray<SRPhotoplethysmogramOpticalSample>; | ||
readonly startDate: Date; | ||
readonly temperature: NSMeasurement<NSUnitTemperature>; | ||
readonly usage: NSArray<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 SRPhotoplethysmogramSampleUsageBackgroundSystem: string; | ||
declare var SRPhotoplethysmogramSampleUsageDeepBreathing: string; | ||
declare var SRPhotoplethysmogramSampleUsageForegroundBloodOxygen: string; | ||
declare var SRPhotoplethysmogramSampleUsageForegroundHeartRate: string; | ||
declare var SRSensorAccelerometer: string; | ||
@@ -676,2 +890,4 @@ | ||
declare var SRSensorElectrocardiogram: string; | ||
declare var SRSensorFaceMetrics: string; | ||
@@ -695,2 +911,4 @@ | ||
declare var SRSensorPhotoplethysmogram: string; | ||
declare class SRSensorReader extends NSObject { | ||
@@ -809,2 +1027,4 @@ | ||
readonly timeSinceAudioStart: number; | ||
readonly timestamp: Date; | ||
@@ -811,0 +1031,0 @@ |
@@ -23,8 +23,2 @@ | ||
declare var SFAnalysisContextTagLeftContext: string; | ||
declare var SFAnalysisContextTagRightContext: string; | ||
declare var SFAnalysisContextTagSelectedText: string; | ||
declare class SFSpeechAudioBufferRecognitionRequest extends SFSpeechRecognitionRequest { | ||
@@ -369,446 +363,1 @@ | ||
} | ||
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; | ||
} |
@@ -130,2 +130,17 @@ | ||
declare class VSAppleSubscription extends NSObject { | ||
static alloc(): VSAppleSubscription; // inherited from NSObject | ||
static new(): VSAppleSubscription; // inherited from NSObject | ||
customerID: string; | ||
productCodes: NSArray<string>; | ||
constructor(o: { customerID: string; productCodes: NSArray<string> | string[]; }); | ||
initWithCustomerIDProductCodes(customerID: string, productCodes: NSArray<string> | string[]): this; | ||
} | ||
declare var VSCheckAccessOptionPrompt: string; | ||
@@ -216,2 +231,4 @@ | ||
appleSubscription: VSAppleSubscription; | ||
authenticationData: string; | ||
@@ -218,0 +235,0 @@ |
@@ -190,2 +190,4 @@ | ||
declare var kVTCompressionPropertyKey_CalculateMeanSquaredError: string; | ||
declare var kVTCompressionPropertyKey_CleanAperture: string; | ||
@@ -223,2 +225,6 @@ | ||
declare var kVTCompressionPropertyKey_HasLeftStereoEyeView: string; | ||
declare var kVTCompressionPropertyKey_HasRightStereoEyeView: string; | ||
declare var kVTCompressionPropertyKey_HeroEye: string; | ||
@@ -228,2 +234,4 @@ | ||
declare var kVTCompressionPropertyKey_HorizontalFieldOfView: string; | ||
declare var kVTCompressionPropertyKey_ICCProfile: string; | ||
@@ -297,2 +305,4 @@ | ||
declare var kVTCompressionPropertyKey_UsingHardwareAcceleratedVideoEncoder: string; | ||
declare var kVTCompressionPropertyKey_VideoEncoderPixelBufferAttributes: string; | ||
@@ -608,4 +618,12 @@ | ||
declare var kVTSampleAttachmentKey_QualityMetrics: string; | ||
declare var kVTSampleAttachmentKey_RequireLTRAcknowledgementToken: string; | ||
declare var kVTSampleAttachmentQualityMetricsKey_ChromaBlueMeanSquaredError: string; | ||
declare var kVTSampleAttachmentQualityMetricsKey_ChromaRedMeanSquaredError: string; | ||
declare var kVTSampleAttachmentQualityMetricsKey_LumaMeanSquaredError: string; | ||
declare var kVTScalingMode_CropSourceToCleanAperture: string; | ||
@@ -687,2 +705,4 @@ | ||
declare var kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder: string; | ||
declare var kVTVideoEncoderSpecification_EnableLowLatencyRateControl: string; | ||
@@ -694,2 +714,4 @@ | ||
declare var kVTVideoEncoderSpecification_RequireHardwareAcceleratedVideoEncoder: string; | ||
declare var kVTVideoEncoderSpecification_RequiredEncoderGPURegistryID: string; |
{ | ||
"name": "@nativescript/types-ios", | ||
"version": "8.6.1", | ||
"version": "8.7.0-rc.0", | ||
"description": "NativeScript Types for iOS.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://nativescript.org", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
11199918
1.71%186
1.09%153894
1.76%1
Infinity%