Content-Length: 1154057 | pFad | https://github.com/NativeScript/NativeScript/commit/492eef087eefbc3b77c9638d3d7193a9aa976e7b

A7 feat(types): iOS 18 beta 3 · NativeScript/NativeScript@492eef0 · GitHub
Skip to content

Commit 492eef0

Browse files
committedJul 10, 2024
feat(types): iOS 18 beta 3
1 parent 9541b1b commit 492eef0

30 files changed

+39361
-791
lines changed
 

‎packages/types-ios/src/lib/ios/objc-x86_64/objc!AVFoundation.d.ts

+23
Original file line numberDiff line numberDiff line change
@@ -7841,6 +7841,11 @@ declare class AVMediaSelectionOption extends NSObject implements NSCopying {
78417841
*/
78427842
declare var AVMediaTypeAudio: string;
78437843

7844+
/**
7845+
* @since 14.0
7846+
*/
7847+
declare var AVMediaTypeAuxiliaryPicture: string;
7848+
78447849
/**
78457850
* @since 4.0
78467851
*/
@@ -11258,6 +11263,8 @@ declare class AVMetricHLSMediaSegmentRequestEvent extends AVMetricEvent {
1125811263

1125911264
readonly byteRange: NSRange;
1126011265

11266+
readonly indexFileURL: NSURL;
11267+
1126111268
readonly isMapSegment: boolean;
1126211269

1126311270
readonly mediaResourceRequestEvent: AVMetricMediaResourceRequestEvent;
@@ -11443,6 +11450,22 @@ declare class AVMetricPlayerItemVariantSwitchEvent extends AVMetricEvent {
1144311450
readonly toVariant: AVAssetVariant;
1144411451
}
1144511452

11453+
/**
11454+
* @since 18
11455+
*/
11456+
declare class AVMetricPlayerItemVariantSwitchStartEvent extends AVMetricEvent {
11457+
11458+
static alloc(): AVMetricPlayerItemVariantSwitchStartEvent; // inherited from NSObject
11459+
11460+
static new(): AVMetricPlayerItemVariantSwitchStartEvent; // inherited from NSObject
11461+
11462+
readonly fromVariant: AVAssetVariant;
11463+
11464+
readonly loadedTimeRanges: NSArray<NSValue>;
11465+
11466+
readonly toVariant: AVAssetVariant;
11467+
}
11468+
1144611469
/**
1144711470
* @since 13.0
1144811471
*/

‎packages/types-ios/src/lib/ios/objc-x86_64/objc!Accelerate.d.ts

+5
Original file line numberDiff line numberDiff line change
@@ -986,6 +986,11 @@ declare function BNNSGraphGetArgumentCount(graph: bnns_graph_t, _function: strin
986986
*/
987987
declare function BNNSGraphGetArgumentIntents(graph: bnns_graph_t, _function: string | interop.Pointer | interop.Reference<any>, argument_intents_count: number, argument_intents: interop.Pointer | interop.Reference<BNNSGraphArgumentIntent>): number;
988988

989+
/**
990+
* @since 18.0
991+
*/
992+
declare function BNNSGraphGetArgumentInterleaveFactors(graph: bnns_graph_t, _function: string | interop.Pointer | interop.Reference<any>, argument_count: number, argument_interleave: interop.Pointer | interop.Reference<interop.Pointer | interop.Reference<number>>, argument_interleave_counts: interop.Pointer | interop.Reference<number>): number;
993+
989994
/**
990995
* @since 18.0
991996
*/

‎packages/types-ios/src/lib/ios/objc-x86_64/objc!AuthenticationServices.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3447,7 +3447,7 @@ declare class ASSettingsHelper extends NSObject {
34473447

34483448
static openVerificationCodeAppSettingsWithCompletionHandler(completionHandler: (p1: NSError) => void): void;
34493449

3450-
static requestCredentialProviderExtensionEnablementWithCompletionHandler(completionHandler: (p1: boolean) => void): void;
3450+
static requestToTurnOnCredentialProviderExtensionWithCompletionHandler(completionHandler: (p1: boolean) => void): void;
34513451
}
34523452

34533453
/**

‎packages/types-ios/src/lib/ios/objc-x86_64/objc!BrowserEngineKit.d.ts

+10
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ declare const enum BEAccessibilityPressedState {
4545
Mixed = 3
4646
}
4747

48+
/**
49+
* @since 18.0
50+
*/
51+
declare var BEAccessibilitySelectionChangedNotification: number;
52+
4853
/**
4954
* @since 18.0
5055
*/
@@ -70,6 +75,11 @@ declare var BEAccessibilityTraitReadOnly: number;
7075
*/
7176
declare var BEAccessibilityTraitVisited: number;
7277

78+
/**
79+
* @since 18.0
80+
*/
81+
declare var BEAccessibilityValueChangedNotification: number;
82+
7383
/**
7484
* @since 17.4
7585
*/

‎packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreAudioTypes.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -946,6 +946,8 @@ declare const kAudioFormatAMR: number;
946946

947947
declare const kAudioFormatAMR_WB: number;
948948

949+
declare const kAudioFormatAPAC: number;
950+
949951
declare const kAudioFormatAppleIMA4: number;
950952

951953
declare const kAudioFormatAppleLossless: number;

‎packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreML.d.ts

+5
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,11 @@ declare class MLModelAsset extends NSObject {
713713

714714
static new(): MLModelAsset; // inherited from NSObject
715715

716+
/**
717+
* @since 18.0
718+
*/
719+
functionNamesWithCompletionHandler(handler: (p1: NSArray<string>, p2: NSError) => void): void;
720+
716721
/**
717722
* @since 18.0
718723
*/

‎packages/types-ios/src/lib/ios/objc-x86_64/objc!CoreMedia.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -2839,6 +2839,8 @@ declare const kCMMPEG2VideoProfile_XF: number;
28392839

28402840
declare const kCMMediaType_Audio: number;
28412841

2842+
declare const kCMMediaType_AuxiliaryPicture: number;
2843+
28422844
declare const kCMMediaType_ClosedCaption: number;
28432845

28442846
declare const kCMMediaType_Metadata: number;

‎packages/types-ios/src/lib/ios/objc-x86_64/objc!Foundation.d.ts

+5
Original file line numberDiff line numberDiff line change
@@ -13788,6 +13788,11 @@ declare class NSTermOfAddress extends NSObject implements NSCopying, NSSecureCod
1378813788

1378913789
static alloc(): NSTermOfAddress; // inherited from NSObject
1379013790

13791+
/**
13792+
* @since 18.0
13793+
*/
13794+
static currentUser(): NSTermOfAddress;
13795+
1379113796
static feminine(): NSTermOfAddress;
1379213797

1379313798
static localizedForLanguageIdentifierWithPronouns(language: string, pronouns: NSArray<NSMorphologyPronoun> | NSMorphologyPronoun[]): NSTermOfAddress;

‎packages/types-ios/src/lib/ios/objc-x86_64/objc!HomeKit.d.ts

+61
Original file line numberDiff line numberDiff line change
@@ -1037,6 +1037,11 @@ declare var HMCharacteristicPropertyHidden: string;
10371037
*/
10381038
declare var HMCharacteristicPropertyReadable: string;
10391039

1040+
/**
1041+
* @since 18.0
1042+
*/
1043+
declare var HMCharacteristicPropertyRequiresAuthorizationData: string;
1044+
10401045
/**
10411046
* @since 8.0
10421047
*/
@@ -1673,6 +1678,11 @@ declare var HMCharacteristicTypeTargetHumidifierDehumidifierState: string;
16731678
*/
16741679
declare var HMCharacteristicTypeTargetLockMechanismState: string;
16751680

1681+
/**
1682+
* @since 18.0
1683+
*/
1684+
declare var HMCharacteristicTypeTargetMediaState: string;
1685+
16761686
/**
16771687
* @since 9.0
16781688
*/
@@ -1733,6 +1743,16 @@ declare var HMCharacteristicTypeVolatileOrganicCompoundDensity: string;
17331743
*/
17341744
declare var HMCharacteristicTypeVolume: string;
17351745

1746+
/**
1747+
* @since 18.0
1748+
*/
1749+
declare var HMCharacteristicTypeVolumeControlType: string;
1750+
1751+
/**
1752+
* @since 18.0
1753+
*/
1754+
declare var HMCharacteristicTypeVolumeSelector: string;
1755+
17361756
/**
17371757
* @since 18.0
17381758
*/
@@ -2431,6 +2451,18 @@ declare const enum HMCharacteristicValueTargetLockMechanismState {
24312451
Secured = 1
24322452
}
24332453

2454+
/**
2455+
* @since 18.0
2456+
*/
2457+
declare const enum HMCharacteristicValueTargetMediaState {
2458+
2459+
Play = 0,
2460+
2461+
Pause = 1,
2462+
2463+
Stop = 2
2464+
}
2465+
24342466
/**
24352467
* @since 9.0
24362468
*/
@@ -2489,6 +2521,30 @@ declare const enum HMCharacteristicValueValveType {
24892521
WaterFaucet = 3
24902522
}
24912523

2524+
/**
2525+
* @since 18.0
2526+
*/
2527+
declare const enum HMCharacteristicValueVolumeControlType {
2528+
2529+
None = 0,
2530+
2531+
Relative = 1,
2532+
2533+
RelativeWithCurrent = 2,
2534+
2535+
Absolute = 3
2536+
}
2537+
2538+
/**
2539+
* @since 18.0
2540+
*/
2541+
declare const enum HMCharacteristicValueVolumeSelector {
2542+
2543+
VolumeIncrement = 0,
2544+
2545+
VolumeDecrement = 1
2546+
}
2547+
24922548
/**
24932549
* @since 18.0
24942550
*/
@@ -3498,6 +3554,11 @@ declare class HMService extends NSObject {
34983554
*/
34993555
readonly localizedDescription: string;
35003556

3557+
/**
3558+
* @since 18.0
3559+
*/
3560+
readonly matterEndpointID: number;
3561+
35013562
readonly name: string;
35023563

35033564
/**

‎packages/types-ios/src/lib/ios/objc-x86_64/objc!Matter.d.ts

+84-1
Original file line numberDiff line numberDiff line change
@@ -6105,6 +6105,46 @@ declare const enum MTRAttributeIDType {
61056105

61066106
AttributeIDTypeClusterWiFiNetworkManagementAttributeClusterRevisionID = 65533,
61076107

6108+
AttributeIDTypeClusterThreadBorderRouterManagementAttributeBorderRouterNameID = 0,
6109+
6110+
AttributeIDTypeClusterThreadBorderRouterManagementAttributeBorderAgentIDID = 1,
6111+
6112+
AttributeIDTypeClusterThreadBorderRouterManagementAttributeThreadVersionID = 2,
6113+
6114+
AttributeIDTypeClusterThreadBorderRouterManagementAttributeInterfaceEnabledID = 3,
6115+
6116+
AttributeIDTypeClusterThreadBorderRouterManagementAttributeActiveDatasetTimestampID = 5,
6117+
6118+
AttributeIDTypeClusterThreadBorderRouterManagementAttributeGeneratedCommandListID = 65528,
6119+
6120+
AttributeIDTypeClusterThreadBorderRouterManagementAttributeAcceptedCommandListID = 65529,
6121+
6122+
AttributeIDTypeClusterThreadBorderRouterManagementAttributeEventListID = 65530,
6123+
6124+
AttributeIDTypeClusterThreadBorderRouterManagementAttributeAttributeListID = 65531,
6125+
6126+
AttributeIDTypeClusterThreadBorderRouterManagementAttributeFeatureMapID = 65532,
6127+
6128+
AttributeIDTypeClusterThreadBorderRouterManagementAttributeClusterRevisionID = 65533,
6129+
6130+
AttributeIDTypeClusterThreadNetworkDirectoryAttributePreferredExtendedPanIDID = 0,
6131+
6132+
AttributeIDTypeClusterThreadNetworkDirectoryAttributeThreadNetworksID = 1,
6133+
6134+
AttributeIDTypeClusterThreadNetworkDirectoryAttributeThreadNetworkTableSizeID = 2,
6135+
6136+
AttributeIDTypeClusterThreadNetworkDirectoryAttributeGeneratedCommandListID = 65528,
6137+
6138+
AttributeIDTypeClusterThreadNetworkDirectoryAttributeAcceptedCommandListID = 65529,
6139+
6140+
AttributeIDTypeClusterThreadNetworkDirectoryAttributeEventListID = 65530,
6141+
6142+
AttributeIDTypeClusterThreadNetworkDirectoryAttributeAttributeListID = 65531,
6143+
6144+
AttributeIDTypeClusterThreadNetworkDirectoryAttributeFeatureMapID = 65532,
6145+
6146+
AttributeIDTypeClusterThreadNetworkDirectoryAttributeClusterRevisionID = 65533,
6147+
61086148
ClusterWakeOnLanAttributeMACAddressID = 0,
61096149

61106150
ClusterWakeOnLanAttributeGeneratedCommandListID = 65528,
@@ -65727,6 +65767,10 @@ declare const enum MTRClusterIDType {
6572765767

6572865768
IDTypeWiFiNetworkManagementID = 1105,
6572965769

65770+
IDTypeThreadBorderRouterManagementID = 1106,
65771+
65772+
IDTypeThreadNetworkDirectoryID = 1107,
65773+
6573065774
IDTypeWakeOnLANID = 1283,
6573165775

6573265776
IDTypeChannelID = 1284,
@@ -75722,6 +75766,24 @@ declare const enum MTRCommandIDType {
7572275766

7572375767
CommandIDTypeClusterWiFiNetworkManagementCommandNetworkPassphraseResponseID = 1,
7572475768

75769+
CommandIDTypeClusterThreadBorderRouterManagementCommandGetActiveDatasetRequestID = 0,
75770+
75771+
CommandIDTypeClusterThreadBorderRouterManagementCommandGetPendingDatasetRequestID = 1,
75772+
75773+
CommandIDTypeClusterThreadBorderRouterManagementCommandDatasetResponseID = 3,
75774+
75775+
CommandIDTypeClusterThreadBorderRouterManagementCommandSetActiveDatasetRequestID = 4,
75776+
75777+
CommandIDTypeClusterThreadBorderRouterManagementCommandSetPendingDatasetRequestID = 5,
75778+
75779+
CommandIDTypeClusterThreadNetworkDirectoryCommandAddNetworkID = 0,
75780+
75781+
CommandIDTypeClusterThreadNetworkDirectoryCommandRemoveNetworkID = 1,
75782+
75783+
CommandIDTypeClusterThreadNetworkDirectoryCommandGetOperationalDatasetID = 2,
75784+
75785+
CommandIDTypeClusterThreadNetworkDirectoryCommandOperationalDatasetResponseID = 3,
75786+
7572575787
ClusterChannelCommandChangeChannelID = 0,
7572675788

7572775789
ClusterChannelCommandChangeChannelResponseID = 1,
@@ -76837,6 +76899,9 @@ declare class MTRDevice extends NSObject {
7683776899
*/
7683876900
readonly estimatedStartTime: Date;
7683976901

76902+
/**
76903+
* @since 17.6
76904+
*/
7684076905
readonly estimatedSubscriptionLatency: number;
7684176906

7684276907
/**
@@ -76846,6 +76911,10 @@ declare class MTRDevice extends NSObject {
7684676911

7684776912
readonly state: MTRDeviceState;
7684876913

76914+
addDelegateQueue(delegate: MTRDeviceDelegate, queue: NSObject & OS_dispatch_queue): void;
76915+
76916+
addDelegateQueueInterestedPathsForAttributesInterestedPathsForEvents(delegate: MTRDeviceDelegate, queue: NSObject & OS_dispatch_queue, interestedPathsForAttributes: NSArray<any> | any[], interestedPathsForEvents: NSArray<any> | any[]): void;
76917+
7684976918
/**
7685076919
* @since 17.6
7685176920
*/
@@ -76879,6 +76948,8 @@ declare class MTRDevice extends NSObject {
7687976948

7688076949
readAttributeWithEndpointIDClusterIDAttributeIDParams(endpointID: number, clusterID: number, attributeID: number, params: MTRReadParams): NSDictionary<string, any>;
7688176950

76951+
removeDelegate(delegate: MTRDeviceDelegate): void;
76952+
7688276953
setDelegateQueue(delegate: MTRDeviceDelegate, queue: NSObject & OS_dispatch_queue): void;
7688376954

7688476955
writeAttributeWithEndpointIDClusterIDAttributeIDValueExpectedValueIntervalTimedWriteTimeout(endpointID: number, clusterID: number, attributeID: number, value: any, expectedValueInterval: number, timeout: number): void;
@@ -77337,6 +77408,9 @@ declare class MTRDeviceControllerParameters extends MTRDeviceControllerAbstractP
7733777408

7733877409
certificationDeclarationCertificates: NSArray<NSData>;
7733977410

77411+
/**
77412+
* @since 17.6
77413+
*/
7734077414
concurrentSubscriptionEstablishmentsAllowedOnThread: number;
7734177415

7734277416
productAttestationAuthorityCertificates: NSArray<NSData>;
@@ -77579,6 +77653,9 @@ declare const enum MTRDeviceState {
7757977653
Unreachable = 2
7758077654
}
7758177655

77656+
/**
77657+
* @since 17.6
77658+
*/
7758277659
declare class MTRDeviceStorageBehaviorConfiguration extends NSObject implements NSCopying {
7758377660

7758477661
static alloc(): MTRDeviceStorageBehaviorConfiguration; // inherited from NSObject
@@ -80881,6 +80958,8 @@ declare const enum MTREventIDType {
8088180958

8088280959
EventIDTypeClusterPumpConfigurationAndControlEventTurbineOperationID = 16,
8088380960

80961+
EventIDTypeClusterThreadNetworkDirectoryEventNetworkChangedID = 0,
80962+
8088480963
EventIDTypeClusterTargetNavigatorEventTargetUpdatedID = 0,
8088580964

8088680965
EventIDTypeClusterMediaPlaybackEventStateChangedID = 0,
@@ -88930,6 +89009,8 @@ declare class MTRServerAttribute extends NSObject {
8893089009

8893189010
static new(): MTRServerAttribute; // inherited from NSObject
8893289011

89012+
static newFeatureMapAttributeWithInitialValue(value: number): MTRServerAttribute;
89013+
8893389014
readonly attributeID: number;
8893489015

8893589016
readonly requiredReadPrivilege: MTRAccessControlEntryPrivilege;
@@ -89781,7 +89862,9 @@ declare const enum MTRSwitchFeature {
8978189862

8978289863
MomentarySwitchLongPress = 8,
8978389864

89784-
MomentarySwitchMultiPress = 16
89865+
MomentarySwitchMultiPress = 16,
89866+
89867+
ActionSwitch = 32
8978589868
}
8978689869

8978789870
/**

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/NativeScript/NativeScript/commit/492eef087eefbc3b77c9638d3d7193a9aa976e7b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy