mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 10:01:08 +08:00
feat(ios): types for latest 16.2 sdk (#10253)
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nativescript/types-android",
|
||||
"version": "8.4.0",
|
||||
"version": "8.5.0",
|
||||
"description": "NativeScript Types for Android.",
|
||||
"homepage": "https://nativescript.org",
|
||||
"repository": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nativescript/types-ios",
|
||||
"version": "8.4.0",
|
||||
"version": "8.5.0",
|
||||
"description": "NativeScript Types for iOS.",
|
||||
"homepage": "https://nativescript.org",
|
||||
"repository": {
|
||||
|
1
packages/types-ios/src/lib/ios/ios.d.ts
vendored
1
packages/types-ios/src/lib/ios/ios.d.ts
vendored
@ -120,7 +120,6 @@
|
||||
/// <reference path="objc-x86_64/objc!PencilKit.d.ts" />
|
||||
/// <reference path="objc-x86_64/objc!Photos.d.ts" />
|
||||
/// <reference path="objc-x86_64/objc!PhotosUI.d.ts" />
|
||||
/// <reference path="objc-x86_64/objc!Pods_iostypingsprj.d.ts" />
|
||||
/// <reference path="objc-x86_64/objc!ProximityReader.d.ts" />
|
||||
/// <reference path="objc-x86_64/objc!PushKit.d.ts" />
|
||||
/// <reference path="objc-x86_64/objc!PushToTalk.d.ts" />
|
||||
|
@ -1067,7 +1067,11 @@ declare class GKMatchmaker extends NSObject {
|
||||
|
||||
startBrowsingForNearbyPlayersWithReachableHandler(reachableHandler: (p1: string, p2: boolean) => void): void;
|
||||
|
||||
startGroupActivityWithPlayerHandler(handler: (p1: GKPlayer) => void): void;
|
||||
|
||||
stopBrowsingForNearbyPlayers(): void;
|
||||
|
||||
stopGroupActivity(): void;
|
||||
}
|
||||
|
||||
declare class GKMatchmakerViewController extends UINavigationController {
|
||||
|
@ -499,6 +499,62 @@ declare const enum INAmountType {
|
||||
StatementBalance = 6
|
||||
}
|
||||
|
||||
declare class INAnswerCallIntent extends INIntent {
|
||||
|
||||
static alloc(): INAnswerCallIntent; // inherited from NSObject
|
||||
|
||||
static new(): INAnswerCallIntent; // inherited from NSObject
|
||||
|
||||
constructor(o: { audioRoute: INCallAudioRoute; callIdentifier: string; });
|
||||
|
||||
initWithAudioRouteCallIdentifier(audioRoute: INCallAudioRoute, callIdentifier: string): this;
|
||||
}
|
||||
|
||||
interface INAnswerCallIntentHandling extends NSObjectProtocol {
|
||||
|
||||
confirmAnswerCallCompletion?(intent: INAnswerCallIntent, completion: (p1: INAnswerCallIntentResponse) => void): void;
|
||||
|
||||
handleAnswerCallCompletion(intent: INAnswerCallIntent, completion: (p1: INAnswerCallIntentResponse) => void): void;
|
||||
}
|
||||
declare var INAnswerCallIntentHandling: {
|
||||
|
||||
prototype: INAnswerCallIntentHandling;
|
||||
};
|
||||
|
||||
declare var INAnswerCallIntentIdentifier: string;
|
||||
|
||||
declare class INAnswerCallIntentResponse extends INIntentResponse {
|
||||
|
||||
static alloc(): INAnswerCallIntentResponse; // inherited from NSObject
|
||||
|
||||
static new(): INAnswerCallIntentResponse; // inherited from NSObject
|
||||
|
||||
callRecords: NSArray<INCallRecord>;
|
||||
|
||||
readonly code: INAnswerCallIntentResponseCode;
|
||||
|
||||
constructor(o: { code: INAnswerCallIntentResponseCode; userActivity: NSUserActivity; });
|
||||
|
||||
initWithCodeUserActivity(code: INAnswerCallIntentResponseCode, userActivity: NSUserActivity): this;
|
||||
}
|
||||
|
||||
declare const enum INAnswerCallIntentResponseCode {
|
||||
|
||||
Unspecified = 0,
|
||||
|
||||
Ready = 1,
|
||||
|
||||
ContinueInApp = 2,
|
||||
|
||||
InProgress = 3,
|
||||
|
||||
Success = 4,
|
||||
|
||||
Failure = 5,
|
||||
|
||||
FailureRequiringAppLaunch = 6
|
||||
}
|
||||
|
||||
declare class INAppendToNoteIntent extends INIntent {
|
||||
|
||||
static alloc(): INAppendToNoteIntent; // inherited from NSObject
|
||||
@ -3150,6 +3206,60 @@ declare const enum INGetVisualCodeIntentResponseCode {
|
||||
FailureAppConfigurationRequired = 7
|
||||
}
|
||||
|
||||
declare class INHangUpCallIntent extends INIntent {
|
||||
|
||||
static alloc(): INHangUpCallIntent; // inherited from NSObject
|
||||
|
||||
static new(): INHangUpCallIntent; // inherited from NSObject
|
||||
|
||||
constructor(o: { callIdentifier: string; });
|
||||
|
||||
initWithCallIdentifier(callIdentifier: string): this;
|
||||
}
|
||||
|
||||
interface INHangUpCallIntentHandling extends NSObjectProtocol {
|
||||
|
||||
confirmHangUpCallCompletion?(intent: INHangUpCallIntent, completion: (p1: INHangUpCallIntentResponse) => void): void;
|
||||
|
||||
handleHangUpCallCompletion(intent: INHangUpCallIntent, completion: (p1: INHangUpCallIntentResponse) => void): void;
|
||||
}
|
||||
declare var INHangUpCallIntentHandling: {
|
||||
|
||||
prototype: INHangUpCallIntentHandling;
|
||||
};
|
||||
|
||||
declare var INHangUpCallIntentIdentifier: string;
|
||||
|
||||
declare class INHangUpCallIntentResponse extends INIntentResponse {
|
||||
|
||||
static alloc(): INHangUpCallIntentResponse; // inherited from NSObject
|
||||
|
||||
static new(): INHangUpCallIntentResponse; // inherited from NSObject
|
||||
|
||||
readonly code: INHangUpCallIntentResponseCode;
|
||||
|
||||
constructor(o: { code: INHangUpCallIntentResponseCode; userActivity: NSUserActivity; });
|
||||
|
||||
initWithCodeUserActivity(code: INHangUpCallIntentResponseCode, userActivity: NSUserActivity): this;
|
||||
}
|
||||
|
||||
declare const enum INHangUpCallIntentResponseCode {
|
||||
|
||||
Unspecified = 0,
|
||||
|
||||
Ready = 1,
|
||||
|
||||
InProgress = 2,
|
||||
|
||||
Success = 3,
|
||||
|
||||
Failure = 4,
|
||||
|
||||
FailureRequiringAppLaunch = 5,
|
||||
|
||||
FailureNoCallToHangUp = 6
|
||||
}
|
||||
|
||||
declare class INImage extends NSObject implements NSCopying, NSSecureCoding {
|
||||
|
||||
static alloc(): INImage; // inherited from NSObject
|
||||
|
@ -7250,6 +7250,8 @@ declare class MTRBaseClusterTestCluster extends MTRCluster {
|
||||
|
||||
static readAttributeVendorIdWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: number, queue: NSObject, completionHandler: (p1: number, p2: NSError) => void): void;
|
||||
|
||||
static readAttributeWriteOnlyInt8uWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: number, queue: NSObject, completionHandler: (p1: number, p2: NSError) => void): void;
|
||||
|
||||
constructor(o: { device: MTRBaseDevice; endpoint: number; queue: NSObject; });
|
||||
|
||||
initWithDeviceEndpointQueue(device: MTRBaseDevice, endpoint: number, queue: NSObject): this;
|
||||
@ -7426,6 +7428,8 @@ declare class MTRBaseClusterTestCluster extends MTRCluster {
|
||||
|
||||
readAttributeVendorIdWithCompletionHandler(completionHandler: (p1: number, p2: NSError) => void): void;
|
||||
|
||||
readAttributeWriteOnlyInt8uWithCompletionHandler(completionHandler: (p1: number, p2: NSError) => void): void;
|
||||
|
||||
simpleStructEchoRequestWithParamsCompletionHandler(params: MTRTestClusterClusterSimpleStructEchoRequestParams, completionHandler: (p1: MTRTestClusterClusterSimpleStructResponseParams, p2: NSError) => void): void;
|
||||
|
||||
subscribeAttributeAcceptedCommandListWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: number, maxInterval: number, params: MTRSubscribeParams, subscriptionEstablishedHandler: () => void, reportHandler: (p1: NSArray<any>, p2: NSError) => void): void;
|
||||
@ -7600,6 +7604,8 @@ declare class MTRBaseClusterTestCluster extends MTRCluster {
|
||||
|
||||
subscribeAttributeVendorIdWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: number, maxInterval: number, params: MTRSubscribeParams, subscriptionEstablishedHandler: () => void, reportHandler: (p1: number, p2: NSError) => void): void;
|
||||
|
||||
subscribeAttributeWriteOnlyInt8uWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: number, maxInterval: number, params: MTRSubscribeParams, subscriptionEstablishedHandler: () => void, reportHandler: (p1: number, p2: NSError) => void): void;
|
||||
|
||||
testAddArgumentsWithParamsCompletionHandler(params: MTRTestClusterClusterTestAddArgumentsParams, completionHandler: (p1: MTRTestClusterClusterTestAddArgumentsResponseParams, p2: NSError) => void): void;
|
||||
|
||||
testComplexNullableOptionalRequestWithParamsCompletionHandler(params: MTRTestClusterClusterTestComplexNullableOptionalRequestParams, completionHandler: (p1: MTRTestClusterClusterTestComplexNullableOptionalResponseParams, p2: NSError) => void): void;
|
||||
@ -7975,6 +7981,10 @@ declare class MTRBaseClusterTestCluster extends MTRCluster {
|
||||
writeAttributeVendorIdWithValueCompletionHandler(value: number, completionHandler: (p1: NSError) => void): void;
|
||||
|
||||
writeAttributeVendorIdWithValueParamsCompletionHandler(value: number, params: MTRWriteParams, completionHandler: (p1: NSError) => void): void;
|
||||
|
||||
writeAttributeWriteOnlyInt8uWithValueCompletionHandler(value: number, completionHandler: (p1: NSError) => void): void;
|
||||
|
||||
writeAttributeWriteOnlyInt8uWithValueParamsCompletionHandler(value: number, params: MTRWriteParams, completionHandler: (p1: NSError) => void): void;
|
||||
}
|
||||
|
||||
declare class MTRBaseClusterThermostat extends MTRCluster {
|
||||
@ -9470,6 +9480,8 @@ declare class MTRBaseDevice extends NSObject {
|
||||
|
||||
invokeCommandWithEndpointIdClusterIdCommandIdCommandFieldsTimedInvokeTimeoutClientQueueCompletion(endpointId: number, clusterId: number, commandId: number, commandFields: any, timeoutMs: number, clientQueue: NSObject, completion: (p1: NSArray<NSDictionary<string, any>>, p2: NSError) => void): void;
|
||||
|
||||
openCommissioningWindowWithSetupPasscodeDiscriminatorDurationQueueCompletion(setupPasscode: number, discriminator: number, duration: number, queue: NSObject, completion: (p1: MTRSetupPayload, p2: NSError) => void): void;
|
||||
|
||||
readAttributeWithEndpointIdClusterIdAttributeIdParamsClientQueueCompletion(endpointId: number, clusterId: number, attributeId: number, params: MTRReadParams, clientQueue: NSObject, completion: (p1: NSArray<NSDictionary<string, any>>, p2: NSError) => void): void;
|
||||
|
||||
subscribeAttributeWithEndpointIdClusterIdAttributeIdMinIntervalMaxIntervalParamsClientQueueReportHandlerSubscriptionEstablished(endpointId: number, clusterId: number, attributeId: number, minInterval: number, maxInterval: number, params: MTRSubscribeParams, clientQueue: NSObject, reportHandler: (p1: NSArray<NSDictionary<string, any>>, p2: NSError) => void, subscriptionEstablishedHandler: () => void): void;
|
||||
@ -10154,6 +10166,8 @@ declare const enum MTRClusterAttributeIDType {
|
||||
|
||||
PulseWidthModulationAttributeClusterRevisionID = 65533,
|
||||
|
||||
DescriptorAttributeDeviceTypeListID = 0,
|
||||
|
||||
DescriptorAttributeDeviceListID = 0,
|
||||
|
||||
DescriptorAttributeServerListID = 1,
|
||||
@ -12228,6 +12242,8 @@ declare const enum MTRClusterAttributeIDType {
|
||||
|
||||
TestClusterAttributeNullableRangeRestrictedInt16sID = 16425,
|
||||
|
||||
TestClusterAttributeWriteOnlyInt8uID = 16426,
|
||||
|
||||
TestClusterAttributeGeneratedCommandListID = 65528,
|
||||
|
||||
TestClusterAttributeAcceptedCommandListID = 65529,
|
||||
@ -15945,6 +15961,8 @@ declare class MTRClusterTestCluster extends MTRCluster {
|
||||
|
||||
readAttributeVendorIdWithParams(params: MTRReadParams): NSDictionary<string, any>;
|
||||
|
||||
readAttributeWriteOnlyInt8uWithParams(params: MTRReadParams): NSDictionary<string, any>;
|
||||
|
||||
simpleStructEchoRequestWithParamsExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRTestClusterClusterSimpleStructEchoRequestParams, expectedDataValueDictionaries: NSArray<NSDictionary<string, any>> | NSDictionary<string, any>[], expectedValueIntervalMs: number, completionHandler: (p1: MTRTestClusterClusterSimpleStructResponseParams, p2: NSError) => void): void;
|
||||
|
||||
testAddArgumentsWithParamsExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRTestClusterClusterTestAddArgumentsParams, expectedDataValueDictionaries: NSArray<NSDictionary<string, any>> | NSDictionary<string, any>[], expectedValueIntervalMs: number, completionHandler: (p1: MTRTestClusterClusterTestAddArgumentsResponseParams, p2: NSError) => void): void;
|
||||
@ -16322,6 +16340,10 @@ declare class MTRClusterTestCluster extends MTRCluster {
|
||||
writeAttributeVendorIdWithValueExpectedValueInterval(dataValueDictionary: NSDictionary<string, any>, expectedValueIntervalMs: number): void;
|
||||
|
||||
writeAttributeVendorIdWithValueExpectedValueIntervalParams(dataValueDictionary: NSDictionary<string, any>, expectedValueIntervalMs: number, params: MTRWriteParams): void;
|
||||
|
||||
writeAttributeWriteOnlyInt8uWithValueExpectedValueInterval(dataValueDictionary: NSDictionary<string, any>, expectedValueIntervalMs: number): void;
|
||||
|
||||
writeAttributeWriteOnlyInt8uWithValueExpectedValueIntervalParams(dataValueDictionary: NSDictionary<string, any>, expectedValueIntervalMs: number, params: MTRWriteParams): void;
|
||||
}
|
||||
|
||||
declare class MTRClusterThermostat extends MTRCluster {
|
||||
@ -17805,6 +17827,19 @@ declare class MTRDescriptorClusterDeviceType extends NSObject implements NSCopyi
|
||||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any;
|
||||
}
|
||||
|
||||
declare class MTRDescriptorClusterDeviceTypeStruct extends NSObject implements NSCopying {
|
||||
|
||||
static alloc(): MTRDescriptorClusterDeviceTypeStruct; // inherited from NSObject
|
||||
|
||||
static new(): MTRDescriptorClusterDeviceTypeStruct; // inherited from NSObject
|
||||
|
||||
revision: number;
|
||||
|
||||
type: number;
|
||||
|
||||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any;
|
||||
}
|
||||
|
||||
declare class MTRDevice extends NSObject {
|
||||
|
||||
static alloc(): MTRDevice; // inherited from NSObject
|
||||
@ -17817,6 +17852,8 @@ declare class MTRDevice extends NSObject {
|
||||
|
||||
invokeCommandWithEndpointIDClusterIDCommandIDCommandFieldsExpectedValuesExpectedValueIntervalTimedInvokeTimeoutClientQueueCompletion(endpointID: number, clusterID: number, commandID: number, commandFields: any, expectedValues: NSArray<NSDictionary<string, any>> | NSDictionary<string, any>[], expectedValueInterval: number, timeout: number, clientQueue: NSObject, completion: (p1: NSArray<NSDictionary<string, any>>, p2: NSError) => void): void;
|
||||
|
||||
openCommissioningWindowWithSetupPasscodeDiscriminatorDurationQueueCompletion(setupPasscode: number, discriminator: number, duration: number, queue: NSObject, completion: (p1: MTRSetupPayload, p2: NSError) => void): void;
|
||||
|
||||
readAttributeWithEndpointIDClusterIDAttributeIDParams(endpointID: number, clusterID: number, attributeID: number, params: MTRReadParams): NSDictionary<string, any>;
|
||||
|
||||
setDelegateQueue(delegate: MTRDeviceDelegate, queue: NSObject): void;
|
||||
@ -17898,6 +17935,8 @@ declare class MTRDeviceController extends NSObject {
|
||||
|
||||
setPairingDelegateQueue(delegate: MTRDevicePairingDelegate, queue: NSObject): void;
|
||||
|
||||
setupCommissioningSessionWithPayloadNewNodeIDError(payload: MTRSetupPayload, newNodeID: number): boolean;
|
||||
|
||||
shutdown(): void;
|
||||
|
||||
stopDevicePairingError(deviceID: number): boolean;
|
||||
@ -20875,6 +20914,13 @@ declare class MTRMediaPlaybackClusterStopPlaybackParams extends NSObject impleme
|
||||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any;
|
||||
}
|
||||
|
||||
declare const enum MTRMediaPlaybackFeature {
|
||||
|
||||
AdvancedSeek = 1,
|
||||
|
||||
VariableSpeed = 2
|
||||
}
|
||||
|
||||
declare const enum MTRMediaPlaybackPlaybackState {
|
||||
|
||||
Playing = 0,
|
||||
@ -22729,8 +22775,12 @@ declare class MTRSetupPayload extends NSObject implements NSSecureCoding {
|
||||
|
||||
static generateRandomPIN(): number;
|
||||
|
||||
static generateRandomSetupPasscode(): number;
|
||||
|
||||
static new(): MTRSetupPayload; // inherited from NSObject
|
||||
|
||||
static setupPayloadWithOnboardingPayloadError(onboardingPayload: string): MTRSetupPayload;
|
||||
|
||||
commissioningFlow: MTRCommissioningFlow;
|
||||
|
||||
discriminator: number;
|
||||
@ -22753,13 +22803,19 @@ declare class MTRSetupPayload extends NSObject implements NSSecureCoding {
|
||||
|
||||
constructor(o: { coder: NSCoder; }); // inherited from NSCoding
|
||||
|
||||
constructor(o: { setupPasscode: number; discriminator: number; });
|
||||
|
||||
encodeWithCoder(coder: NSCoder): void;
|
||||
|
||||
getAllOptionalVendorData(): NSArray<MTROptionalQRCodeInfo>;
|
||||
|
||||
initWithCoder(coder: NSCoder): this;
|
||||
|
||||
initWithSetupPasscodeDiscriminator(setupPasscode: number, discriminator: number): this;
|
||||
|
||||
manualEntryCode(): string;
|
||||
|
||||
qrCodeString(): string;
|
||||
}
|
||||
|
||||
declare var MTRSignedIntegerValueType: string;
|
||||
@ -22916,6 +22972,19 @@ declare class MTRSwitchClusterSwitchLatchedEvent extends NSObject implements NSC
|
||||
copyWithZone(zone: interop.Pointer | interop.Reference<any>): any;
|
||||
}
|
||||
|
||||
declare const enum MTRSwitchFeature {
|
||||
|
||||
LatchingSwitch = 1,
|
||||
|
||||
MomentarySwitch = 2,
|
||||
|
||||
MomentarySwitchRelease = 4,
|
||||
|
||||
MomentarySwitchLongPress = 8,
|
||||
|
||||
MomentarySwitchMultiPress = 16
|
||||
}
|
||||
|
||||
declare class MTRTargetNavigatorClusterNavigateTargetParams extends NSObject implements NSCopying {
|
||||
|
||||
static alloc(): MTRTargetNavigatorClusterNavigateTargetParams; // inherited from NSObject
|
||||
|
@ -481,6 +481,10 @@ declare class MPSGraph extends NSObject {
|
||||
|
||||
runWithMTLCommandQueueFeedsTargetTensorsTargetOperations(commandQueue: MTLCommandQueue, feeds: NSDictionary<MPSGraphTensor, MPSGraphTensorData>, targetTensors: NSArray<MPSGraphTensor> | MPSGraphTensor[], targetOperations: NSArray<MPSGraphOperation> | MPSGraphOperation[]): NSDictionary<MPSGraphTensor, MPSGraphTensorData>;
|
||||
|
||||
sampleGridWithSourceTensorCoordinateTensorLayoutNormalizeCoordinatesRelativeCoordinatesAlignCornersPaddingModeNearestRoundingModeConstantValueName(source: MPSGraphTensor, coordinates: MPSGraphTensor, layout: MPSGraphTensorNamedDataLayout, normalizeCoordinates: boolean, relativeCoordinates: boolean, alignCorners: boolean, paddingMode: MPSGraphPaddingMode, nearestRoundingMode: MPSGraphResizeNearestRoundingMode, constantValue: number, name: string): MPSGraphTensor;
|
||||
|
||||
sampleGridWithSourceTensorCoordinateTensorLayoutNormalizeCoordinatesRelativeCoordinatesAlignCornersPaddingModeSamplingModeConstantValueName(source: MPSGraphTensor, coordinates: MPSGraphTensor, layout: MPSGraphTensorNamedDataLayout, normalizeCoordinates: boolean, relativeCoordinates: boolean, alignCorners: boolean, paddingMode: MPSGraphPaddingMode, samplingMode: MPSGraphResizeMode, constantValue: number, name: string): MPSGraphTensor;
|
||||
|
||||
scatterAlongAxisTensorWithDataTensorUpdatesTensorIndicesTensorModeName(axisTensor: MPSGraphTensor, dataTensor: MPSGraphTensor, updatesTensor: MPSGraphTensor, indicesTensor: MPSGraphTensor, mode: MPSGraphScatterMode, name: string): MPSGraphTensor;
|
||||
|
||||
scatterAlongAxisTensorWithUpdatesTensorIndicesTensorShapeModeName(axisTensor: MPSGraphTensor, updatesTensor: MPSGraphTensor, indicesTensor: MPSGraphTensor, shape: NSArray<number> | number[], mode: MPSGraphScatterMode, name: string): MPSGraphTensor;
|
||||
|
@ -11,7 +11,7 @@ declare class NativeScriptUtils extends NSObject {
|
||||
|
||||
static getImageDataFormatQuality(image: UIImage, format: string, quality: number): NSData;
|
||||
|
||||
static getSystemFontWeightItalicSymbolicTraits(size: number, weight: number, italic: boolean, symbolicTraits: number): UIFont;
|
||||
static getSystemFontWeightItalicSymbolicTraits(size: number, weight: number, italic: boolean, symbolicTraits: UIFontDescriptorSymbolicTraits): UIFont;
|
||||
|
||||
static new(): NativeScriptUtils; // inherited from NSObject
|
||||
|
||||
|
@ -1,4 +0,0 @@
|
||||
|
||||
declare var Pods_iostypingsprjVersionNumber: number;
|
||||
|
||||
declare var Pods_iostypingsprjVersionString: interop.Reference<number>;
|
@ -57,6 +57,8 @@ declare class SRApplicationUsage extends NSObject {
|
||||
|
||||
readonly reportApplicationIdentifier: string;
|
||||
|
||||
readonly supplementalCategories: NSArray<SRSupplementalCategory>;
|
||||
|
||||
readonly textInputSessions: NSArray<SRTextInputSession>;
|
||||
|
||||
readonly usageTime: number;
|
||||
@ -315,6 +317,8 @@ declare class SRKeyboardMetrics extends NSObject {
|
||||
|
||||
readonly longWordTouchDownUp: NSArray<SRKeyboardProbabilityMetric<NSUnitDuration>>;
|
||||
|
||||
readonly longWordTouchUpDown: NSArray<SRKeyboardProbabilityMetric<NSUnitDuration>>;
|
||||
|
||||
readonly longWordUpErrorDistance: NSArray<SRKeyboardProbabilityMetric<NSUnitLength>>;
|
||||
|
||||
readonly pathErrorDistanceRatio: NSArray<number>;
|
||||
@ -407,6 +411,8 @@ declare class SRKeyboardMetrics extends NSObject {
|
||||
|
||||
readonly touchDownUp: SRKeyboardProbabilityMetric<NSUnitDuration>;
|
||||
|
||||
readonly touchUpDown: SRKeyboardProbabilityMetric<NSUnitDuration>;
|
||||
|
||||
readonly typingSpeed: number;
|
||||
|
||||
readonly upErrorDistance: SRKeyboardProbabilityMetric<NSUnitLength>;
|
||||
@ -625,6 +631,25 @@ declare var SRSensorTelephonySpeechMetrics: string;
|
||||
|
||||
declare var SRSensorVisits: string;
|
||||
|
||||
declare class SRSupplementalCategory extends NSObject implements NSCopying, NSSecureCoding {
|
||||
|
||||
static alloc(): SRSupplementalCategory; // inherited from NSObject
|
||||
|
||||
static new(): SRSupplementalCategory; // inherited from NSObject
|
||||
|
||||
readonly identifier: 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 SRTextInputSession extends NSObject {
|
||||
|
||||
static alloc(): SRTextInputSession; // inherited from NSObject
|
||||
|
@ -5835,7 +5835,9 @@ declare const enum UICalendarViewDecorationSize {
|
||||
|
||||
interface UICalendarViewDelegate extends NSObjectProtocol {
|
||||
|
||||
calendarViewDecorationForDateComponents(calendarView: UICalendarView, dateComponents: NSDateComponents): UICalendarViewDecoration;
|
||||
calendarViewDecorationForDateComponents?(calendarView: UICalendarView, dateComponents: NSDateComponents): UICalendarViewDecoration;
|
||||
|
||||
calendarViewDidChangeVisibleDateComponentsFrom?(calendarView: UICalendarView, previousDateComponents: NSDateComponents): void;
|
||||
}
|
||||
declare var UICalendarViewDelegate: {
|
||||
|
||||
@ -24087,7 +24089,7 @@ declare class UIView extends UIResponder implements CALayerDelegate, NSCoding, U
|
||||
|
||||
layoutSubviews(): void;
|
||||
|
||||
nativeScriptSetFormattedTextDecorationAndTransform(details: NSDictionary<any, any>): void;
|
||||
nativeScriptSetFormattedTextDecorationAndTransformLetterSpacingLineHeight(details: NSDictionary<any, any>, letterSpacing: number, lineHeight: number): void;
|
||||
|
||||
nativeScriptSetTextDecorationAndTransformTextDecorationLetterSpacingLineHeight(text: string, textDecoration: string, letterSpacing: number, lineHeight: number): void;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nativescript/types-minimal",
|
||||
"version": "8.4.0",
|
||||
"version": "8.5.0",
|
||||
"description": "NativeScript 'Minimal' Types for only the latest Android and iOS sdks.",
|
||||
"homepage": "https://nativescript.org",
|
||||
"repository": {
|
||||
|
@ -5835,7 +5835,9 @@ declare const enum UICalendarViewDecorationSize {
|
||||
|
||||
interface UICalendarViewDelegate extends NSObjectProtocol {
|
||||
|
||||
calendarViewDecorationForDateComponents(calendarView: UICalendarView, dateComponents: NSDateComponents): UICalendarViewDecoration;
|
||||
calendarViewDecorationForDateComponents?(calendarView: UICalendarView, dateComponents: NSDateComponents): UICalendarViewDecoration;
|
||||
|
||||
calendarViewDidChangeVisibleDateComponentsFrom?(calendarView: UICalendarView, previousDateComponents: NSDateComponents): void;
|
||||
}
|
||||
declare var UICalendarViewDelegate: {
|
||||
|
||||
@ -24087,7 +24089,7 @@ declare class UIView extends UIResponder implements CALayerDelegate, NSCoding, U
|
||||
|
||||
layoutSubviews(): void;
|
||||
|
||||
nativeScriptSetFormattedTextDecorationAndTransform(details: NSDictionary<any, any>): void;
|
||||
nativeScriptSetFormattedTextDecorationAndTransformLetterSpacingLineHeight(details: NSDictionary<any, any>, letterSpacing: number, lineHeight: number): void;
|
||||
|
||||
nativeScriptSetTextDecorationAndTransformTextDecorationLetterSpacingLineHeight(text: string, textDecoration: string, letterSpacing: number, lineHeight: number): void;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@nativescript/types",
|
||||
"version": "8.4.0",
|
||||
"version": "8.5.0",
|
||||
"description": "NativeScript Types for all supported platforms.",
|
||||
"homepage": "https://nativescript.org",
|
||||
"repository": {
|
||||
@ -12,7 +12,7 @@
|
||||
],
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@nativescript/types-ios": "~8.4.0",
|
||||
"@nativescript/types-android": "~8.4.0"
|
||||
"@nativescript/types-ios": "~8.5.0",
|
||||
"@nativescript/types-android": "~8.5.0"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user