@@ -177,6 +177,14 @@ interface PHAsset {
177177 [ MacCatalyst ( 15 , 0 ) ]
178178 [ Export ( "hasAdjustments" ) ]
179179 bool HasAdjustments { get ; }
180+
181+ [ TV ( 26 , 0 ) , Mac ( 26 , 0 ) , iOS ( 26 , 0 ) , MacCatalyst ( 26 , 0 ) ]
182+ [ Export ( "contentType" , ArgumentSemantic . Copy ) ]
183+ UTType ContentType { get ; }
184+
185+ [ TV ( 26 , 0 ) , Mac ( 26 , 0 ) , iOS ( 26 , 0 ) , MacCatalyst ( 26 , 0 ) ]
186+ [ Export ( "addedDate" , ArgumentSemantic . Strong ) ]
187+ NSDate AddedDate { get ; }
180188 }
181189
182190 /// <summary>Used within a Photos change block to create, update, or delete <see cref="Photos.PHAsset" /> objects.</summary>
@@ -283,6 +291,10 @@ interface PHAssetResource {
283291 [ Export ( "assetLocalIdentifier" ) ]
284292 string AssetLocalIdentifier { get ; }
285293
294+ [ Deprecated ( PlatformName . iOS , 26 , 0 , message : "Use 'ContentType' instead." ) ]
295+ [ Deprecated ( PlatformName . MacOSX , 26 , 0 , message : "Use 'ContentType' instead." ) ]
296+ [ Deprecated ( PlatformName . TvOS , 26 , 0 , message : "Use 'ContentType' instead." ) ]
297+ [ Deprecated ( PlatformName . MacCatalyst , 26 , 0 , message : "Use 'ContentType' instead." ) ]
286298 [ Export ( "uniformTypeIdentifier" ) ]
287299 string UniformTypeIdentifier { get ; }
288300
@@ -307,6 +319,10 @@ interface PHAssetResource {
307319 [ MacCatalyst ( 16 , 0 ) ]
308320 [ Export ( "pixelHeight" ) ]
309321 nint PixelHeight { get ; }
322+
323+ [ TV ( 26 , 0 ) , Mac ( 26 , 0 ) , iOS ( 26 , 0 ) , MacCatalyst ( 26 , 0 ) ]
324+ [ Export ( "contentType" , ArgumentSemantic . Copy ) ]
325+ UTType ContentType { get ; }
310326 }
311327
312328 /// <summary>Options when creating assets from data resources.</summary>
@@ -318,11 +334,19 @@ interface PHAssetResourceCreationOptions : NSCopying {
318334 [ NullAllowed , Export ( "originalFilename" ) ]
319335 string OriginalFilename { get ; set ; }
320336
337+ [ Deprecated ( PlatformName . iOS , 26 , 0 , message : "Use 'ContentType' instead." ) ]
338+ [ Deprecated ( PlatformName . MacOSX , 26 , 0 , message : "Use 'ContentType' instead." ) ]
339+ [ Deprecated ( PlatformName . TvOS , 26 , 0 , message : "Use 'ContentType' instead." ) ]
340+ [ Deprecated ( PlatformName . MacCatalyst , 26 , 0 , message : "Use 'ContentType' instead." ) ]
321341 [ NullAllowed , Export ( "uniformTypeIdentifier" ) ]
322342 string UniformTypeIdentifier { get ; set ; }
323343
324344 [ Export ( "shouldMoveFile" ) ]
325345 bool ShouldMoveFile { get ; set ; }
346+
347+ [ TV ( 26 , 0 ) , Mac ( 26 , 0 ) , iOS ( 26 , 0 ) , MacCatalyst ( 26 , 0 ) ]
348+ [ NullAllowed , Export ( "contentType" , ArgumentSemantic . Copy ) ]
349+ UTType ContentType { get ; set ; }
326350 }
327351
328352 /// <summary>Options used when requesting to edit an <see cref="Photos.PHAsset" />.</summary>
@@ -854,6 +878,10 @@ interface PHContentEditingInput {
854878 [ NullAllowed ]
855879 CLLocation Location { get ; }
856880
881+ [ Deprecated ( PlatformName . iOS , 26 , 0 , message : "Use 'ContentType' instead." ) ]
882+ [ Deprecated ( PlatformName . MacOSX , 26 , 0 , message : "Use 'ContentType' instead." ) ]
883+ [ Deprecated ( PlatformName . TvOS , 26 , 0 , message : "Use 'ContentType' instead." ) ]
884+ [ Deprecated ( PlatformName . MacCatalyst , 26 , 0 , message : "Use 'ContentType' instead." ) ]
857885 [ Export ( "uniformTypeIdentifier" ) ]
858886 [ NullAllowed ]
859887 string UniformTypeIdentifier { get ; }
@@ -896,6 +924,10 @@ interface PHContentEditingInput {
896924 [ MacCatalyst ( 13 , 1 ) ]
897925 [ Export ( "playbackStyle" , ArgumentSemantic . Assign ) ]
898926 PHAssetPlaybackStyle PlaybackStyle { get ; }
927+
928+ [ TV ( 26 , 0 ) , Mac ( 26 , 0 ) , iOS ( 26 , 0 ) , MacCatalyst ( 26 , 0 ) ]
929+ [ NullAllowed , Export ( "contentType" , ArgumentSemantic . Copy ) ]
930+ UTType ContentType { get ; }
899931 }
900932
901933 /// <summary>Describes the result of editing a <see cref="Photos.PHAsset" />.</summary>
@@ -1233,6 +1265,10 @@ interface PHImageManager {
12331265 [ BaseType ( typeof ( PHImageManager ) ) ]
12341266 interface PHCachingImageManager {
12351267
1268+ [ Deprecated ( PlatformName . iOS , 26 , 0 , message : "Do not use; this property will be removed in a future release." ) ]
1269+ [ Deprecated ( PlatformName . MacOSX , 26 , 0 , message : "Do not use; this property will be removed in a future release." ) ]
1270+ [ Deprecated ( PlatformName . TvOS , 26 , 0 , message : "Do not use; this property will be removed in a future release." ) ]
1271+ [ Deprecated ( PlatformName . MacCatalyst , 26 , 0 , message : "Do not use; this property will be removed in a future release." ) ]
12361272 [ Export ( "allowsCachingHighQualityImages" , ArgumentSemantic . Assign ) ]
12371273 bool AllowsCachingHighQualityImages { get ; set ; }
12381274
0 commit comments