[FileProvider] Updates for Xcode14 beta4 (#15777)
Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
This commit is contained in:
Родитель
aad82206ba
Коммит
9309bf2f9d
|
@ -1,4 +1,4 @@
|
|||
#if MONOMAC
|
||||
#if MONOMAC || IOS
|
||||
|
||||
#nullable enable
|
||||
|
||||
|
@ -10,10 +10,10 @@ namespace FileProvider {
|
|||
|
||||
#if NET
|
||||
[SupportedOSPlatform ("macos12.0")]
|
||||
[UnsupportedOSPlatform ("ios")]
|
||||
[SupportedOSPlatform ("ios16.0")]
|
||||
[UnsupportedOSPlatform ("maccatalyst")]
|
||||
#else
|
||||
[NoiOS]
|
||||
[iOS (16,0)]
|
||||
[NoMacCatalyst]
|
||||
[Mac (12,0)]
|
||||
#endif
|
||||
|
|
|
@ -190,13 +190,17 @@ namespace FileProvider {
|
|||
UnsyncedEdits = -2007,
|
||||
NonEvictable = -2008,
|
||||
VersionNoLongerAvailable = -2009,
|
||||
ExcludedFromSync = -2010,
|
||||
DomainDisabled = -2011,
|
||||
}
|
||||
|
||||
[NoiOS, Mac (12,0), NoMacCatalyst]
|
||||
[iOS (16,0), Mac (12,0), NoMacCatalyst]
|
||||
[Native]
|
||||
public enum NSFileProviderDomainRemovalMode : long {
|
||||
RemoveAll = 0,
|
||||
[NoiOS, NoMacCatalyst]
|
||||
PreserveDirtyUserData = 1,
|
||||
[NoiOS, NoMacCatalyst]
|
||||
PreserveDownloadedUserData = 2,
|
||||
}
|
||||
|
||||
|
@ -241,7 +245,7 @@ namespace FileProvider {
|
|||
[Field ("NSFileProviderWorkingSetContainerItemIdentifier")]
|
||||
NSString WorkingSetContainer { get; }
|
||||
|
||||
[NoiOS]
|
||||
[iOS (16,0)]
|
||||
[Field ("NSFileProviderTrashContainerItemIdentifier")]
|
||||
NSString TrashContainer { get; }
|
||||
}
|
||||
|
@ -285,6 +289,18 @@ namespace FileProvider {
|
|||
StrictVersioning = 1uL << 0,
|
||||
}
|
||||
|
||||
[Native]
|
||||
[iOS (16,0), Mac (13,0), NoWatch, NoTV, NoMacCatalyst]
|
||||
public enum NSFileProviderContentPolicy : long
|
||||
{
|
||||
Inherited,
|
||||
[NoiOS, NoMacCatalyst]
|
||||
DownloadLazily,
|
||||
DownloadLazilyAndEvictOnRemoteUpdate,
|
||||
[NoiOS, NoMacCatalyst]
|
||||
DownloadEagerlyAndKeepDownloaded,
|
||||
}
|
||||
|
||||
[iOS (11,0)]
|
||||
[Mac (11,0)]
|
||||
[NoMacCatalyst]
|
||||
|
@ -319,7 +335,7 @@ namespace FileProvider {
|
|||
[Export ("initWithIdentifier:displayName:pathRelativeToDocumentStorage:")]
|
||||
NativeHandle Constructor (string identifier, string displayName, string pathRelativeToDocumentStorage);
|
||||
|
||||
[NoiOS]
|
||||
[iOS (16,0)]
|
||||
[Export ("initWithIdentifier:displayName:")]
|
||||
NativeHandle Constructor (string identifier, string displayName);
|
||||
|
||||
|
@ -337,7 +353,7 @@ namespace FileProvider {
|
|||
[Export ("disconnected")]
|
||||
bool Disconnected { [Bind ("isDisconnected")] get; }
|
||||
|
||||
[NoiOS]
|
||||
[iOS (16,0)]
|
||||
[Export ("userEnabled")]
|
||||
bool UserEnabled { get; }
|
||||
|
||||
|
@ -346,18 +362,26 @@ namespace FileProvider {
|
|||
bool Hidden { [Bind ("isHidden")] get; set; }
|
||||
|
||||
[NoMacCatalyst]
|
||||
[NoWatch, NoTV, NoiOS, Mac (11,3)]
|
||||
[NoWatch, NoTV, iOS (16,0), Mac (11,3)]
|
||||
[Export ("testingModes", ArgumentSemantic.Assign)]
|
||||
NSFileProviderDomainTestingModes TestingModes { get; set; }
|
||||
|
||||
[NoiOS]
|
||||
[iOS (16,0)]
|
||||
[Notification]
|
||||
[Field ("NSFileProviderDomainDidChange")]
|
||||
NSString DidChange { get; }
|
||||
|
||||
[NoWatch, NoTV, NoiOS, Mac (12, 0), NoMacCatalyst]
|
||||
[NoWatch, NoTV, iOS (16,0), Mac (12, 0), NoMacCatalyst]
|
||||
[NullAllowed, Export ("backingStoreIdentity")]
|
||||
NSData BackingStoreIdentity { get; }
|
||||
|
||||
[NoWatch, NoTV, NoMacCatalyst, Mac (13, 0), iOS (16, 0)]
|
||||
[Export ("replicated")]
|
||||
bool Replicated { [Bind ("isReplicated")] get; }
|
||||
|
||||
[NoWatch, NoTV, NoMacCatalyst, NoiOS, Mac (13, 0)]
|
||||
[Export ("supportsSyncingTrash")]
|
||||
bool SupportsSyncingTrash { get; set; }
|
||||
}
|
||||
|
||||
interface INSFileProviderEnumerationObserver { }
|
||||
|
@ -381,7 +405,7 @@ namespace FileProvider {
|
|||
void FinishEnumerating (NSError error);
|
||||
|
||||
[Mac (11,0)]
|
||||
[NoiOS]
|
||||
[iOS (16,0)]
|
||||
[Export ("suggestedPageSize")]
|
||||
nint GetSuggestedPageSize ();
|
||||
}
|
||||
|
@ -411,7 +435,7 @@ namespace FileProvider {
|
|||
void FinishEnumerating (NSError error);
|
||||
|
||||
[Mac (11,0)]
|
||||
[NoiOS]
|
||||
[iOS (16,0)]
|
||||
[Export ("suggestedBatchSize")]
|
||||
nint GetSuggestedBatchSize ();
|
||||
}
|
||||
|
@ -559,27 +583,29 @@ namespace FileProvider {
|
|||
[Export ("userInfo")]
|
||||
NSDictionary GetUserInfo ();
|
||||
|
||||
[NoiOS, NoMacCatalyst]
|
||||
[iOS (16,0), NoMacCatalyst]
|
||||
[Export ("fileSystemFlags")]
|
||||
NSFileProviderFileSystemFlags FileSystemFlags { get; }
|
||||
|
||||
[NoiOS]
|
||||
[iOS (16,0)]
|
||||
[Export ("extendedAttributes", ArgumentSemantic.Strong)]
|
||||
NSDictionary<NSString, NSData> ExtendedAttributes { get; }
|
||||
|
||||
[NoiOS]
|
||||
[iOS (16,0)]
|
||||
[NullAllowed, Export ("itemVersion", ArgumentSemantic.Strong)]
|
||||
NSFileProviderItemVersion ItemVersion { get; }
|
||||
|
||||
[NoiOS]
|
||||
[iOS (16,0)]
|
||||
[NullAllowed, Export ("symlinkTargetPath")]
|
||||
string SymlinkTargetPath { get; }
|
||||
|
||||
#if MONOMAC
|
||||
[NoiOS, Mac (12, 0), NoMacCatalyst]
|
||||
[iOS (16,0), Mac (12, 0), NoMacCatalyst]
|
||||
[Export ("typeAndCreator")]
|
||||
NSFileProviderTypeAndCreator TypeAndCreator { get; }
|
||||
#endif
|
||||
|
||||
[NoWatch, NoTV, NoMacCatalyst, Mac (13, 0), iOS (16, 0)]
|
||||
[Export ("contentPolicy")]
|
||||
NSFileProviderContentPolicy ContentPolicy { get; }
|
||||
}
|
||||
|
||||
[iOS (11,0)]
|
||||
|
@ -645,65 +671,65 @@ namespace FileProvider {
|
|||
[return: NullAllowed]
|
||||
NSFileProviderManager FromDomain (NSFileProviderDomain domain);
|
||||
|
||||
[NoiOS]
|
||||
[iOS (16,0)]
|
||||
[Static]
|
||||
[Async (ResultTypeName = "NSFileProviderGetIdentifierResult")]
|
||||
[Export ("getIdentifierForUserVisibleFileAtURL:completionHandler:")]
|
||||
void GetIdentifierForUserVisibleFile (NSUrl url, NSFileProviderGetIdentifierHandler completionHandler);
|
||||
|
||||
[NoiOS]
|
||||
[iOS (16,0)]
|
||||
[Async]
|
||||
[Export ("getUserVisibleURLForItemIdentifier:completionHandler:")]
|
||||
void GetUserVisibleUrl (NSString itemIdentifier, Action<NSUrl, NSError> completionHandler);
|
||||
|
||||
[NoiOS]
|
||||
[iOS (16,0)]
|
||||
[Export ("temporaryDirectoryURLWithError:")]
|
||||
[return: NullAllowed]
|
||||
NSUrl GetTemporaryDirectoryUrl ([NullAllowed] out NSError error);
|
||||
|
||||
[NoiOS]
|
||||
[iOS (16,0)]
|
||||
[Async]
|
||||
[Export ("signalErrorResolved:completionHandler:")]
|
||||
void SignalErrorResolved (NSError error, Action<NSError> completionHandler);
|
||||
|
||||
[Unavailable (PlatformName.MacCatalyst)]
|
||||
[NoWatch, NoTV, NoiOS, Mac (11,3)]
|
||||
[NoWatch, NoTV, iOS (16,0), Mac (11,3)]
|
||||
[Export ("globalProgressForKind:")]
|
||||
NSProgress GetGlobalProgress (NSString kind); // NSString intended.
|
||||
|
||||
[Unavailable (PlatformName.MacCatalyst)]
|
||||
[NoWatch, NoTV, NoiOS, Mac (11,3)]
|
||||
[NoWatch, NoTV, iOS (16,0), Mac (11,3)]
|
||||
[Field ("NSFileProviderMaterializedSetDidChange")]
|
||||
[Notification]
|
||||
NSString MaterializedSetDidChange { get; }
|
||||
|
||||
[Unavailable (PlatformName.MacCatalyst)]
|
||||
[NoWatch, NoTV, NoiOS, Mac (11,3)]
|
||||
[NoWatch, NoTV, iOS (16,0), Mac (11,3)]
|
||||
[Field ("NSFileProviderPendingSetDidChange")]
|
||||
[Notification]
|
||||
NSString PendingSetDidChange { get; }
|
||||
|
||||
#region Import (NSFileProviderManager)
|
||||
[NoiOS]
|
||||
[iOS (16,0)]
|
||||
[Static]
|
||||
[Async]
|
||||
[Export ("importDomain:fromDirectoryAtURL:completionHandler:")]
|
||||
void Import (NSFileProviderDomain domain, NSUrl url, Action<NSError> completionHandler);
|
||||
|
||||
[NoiOS]
|
||||
[iOS (16,0)]
|
||||
[Async]
|
||||
[Export ("reimportItemsBelowItemWithIdentifier:completionHandler:")]
|
||||
void ReimportItemsBelowItem (NSString itemIdentifier, Action<NSError> completionHandler);
|
||||
#endregion
|
||||
|
||||
#region MaterializedSet (NSFileProviderManager)
|
||||
[NoiOS]
|
||||
[iOS (16,0)]
|
||||
[Export ("enumeratorForMaterializedItems")]
|
||||
INSFileProviderEnumerator GetMaterializedItemsEnumerator ();
|
||||
#endregion
|
||||
|
||||
#region Eviction (NSFileProviderManager)
|
||||
[NoiOS]
|
||||
[iOS (16,0)]
|
||||
[Export ("evictItemWithIdentifier:completionHandler:")]
|
||||
[Async]
|
||||
void EvictItem (NSString itemIdentifier, Action<NSError> completionHandler);
|
||||
|
@ -722,7 +748,7 @@ namespace FileProvider {
|
|||
#endregion
|
||||
|
||||
#region Barrier (NSFileProviderManager)
|
||||
[NoiOS]
|
||||
[iOS (16,0)]
|
||||
[Async]
|
||||
[Export ("waitForChangesOnItemsBelowItemWithIdentifier:completionHandler:")]
|
||||
void WaitForChangesOnItemsBelowItem (string itemIdentifier, Action<NSError> completionHandler);
|
||||
|
@ -736,36 +762,50 @@ namespace FileProvider {
|
|||
#endregion
|
||||
|
||||
[Unavailable (PlatformName.MacCatalyst)]
|
||||
[NoWatch, NoTV, NoiOS, Mac (11,3)]
|
||||
[NoWatch, NoTV, iOS (16,0), Mac (11,3)]
|
||||
[Export ("enumeratorForPendingItems")]
|
||||
INSFileProviderPendingSetEnumerator GetEnumeratorForPendingItems ();
|
||||
|
||||
// From NSFileProviderManager (TestingModeInteractive) Category
|
||||
|
||||
[Unavailable (PlatformName.MacCatalyst)]
|
||||
[NoWatch, NoTV, NoiOS, Mac (11,3)]
|
||||
[NoWatch, NoTV, iOS (16,0), Mac (11,3)]
|
||||
[Export ("listAvailableTestingOperationsWithError:")]
|
||||
[return: NullAllowed]
|
||||
INSFileProviderTestingOperation[] ListAvailableTestingOperations ([NullAllowed] out NSError error);
|
||||
|
||||
[Unavailable (PlatformName.MacCatalyst)]
|
||||
[NoWatch, NoTV, NoiOS, Mac (11,3)]
|
||||
[NoWatch, NoTV, Mac (11,3), iOS (16,0)]
|
||||
[Export ("runTestingOperations:error:")]
|
||||
[return: NullAllowed]
|
||||
NSDictionary<INSFileProviderTestingOperation, NSError> GetRunTestingOperations (INSFileProviderTestingOperation[] operations, [NullAllowed] out NSError error);
|
||||
|
||||
[NoiOS, Mac (12,0), NoMacCatalyst]
|
||||
[iOS (16,0), Mac (12,0), NoMacCatalyst]
|
||||
[Async (ResultTypeName = "NSFileProviderRemoveDomainResult")]
|
||||
[Static]
|
||||
[Export ("removeDomain:mode:completionHandler:")]
|
||||
void RemoveDomain (NSFileProviderDomain domain, NSFileProviderDomainRemovalMode mode, Action<NSUrl, NSError> completionHandler);
|
||||
|
||||
[Async]
|
||||
[iOS (16,0), Mac (13,0), NoWatch, NoTV, NoMacCatalyst]
|
||||
[Export ("getServiceWithName:itemIdentifier:completionHandler:")]
|
||||
void GetService (string serviceName, string itemIdentifier, Action<NSFileProviderService, NSError> completionHandler);
|
||||
|
||||
[Async]
|
||||
[NoWatch, NoTV, NoMacCatalyst, Mac (13,0), iOS (16,0)]
|
||||
[Export ("requestModificationOfFields:forItemWithIdentifier:options:completionHandler:")]
|
||||
void RequestModification (NSFileProviderItemFields fields, string itemIdentifier, NSFileProviderModifyItemOptions options, Action<NSError> completionHandler);
|
||||
|
||||
[Async]
|
||||
[NoWatch, NoTV, NoMacCatalyst, NoiOS, Mac (13,0)]
|
||||
[Export ("requestDownloadForItemWithIdentifier:requestedRange:completionHandler:")]
|
||||
void RequestDownload (string itemIdentifier, NSRange rangeToMaterialize, Action<NSError> completionHandler);
|
||||
}
|
||||
|
||||
interface INSFileProviderPendingSetEnumerator { }
|
||||
|
||||
[NoMacCatalyst]
|
||||
[NoWatch, NoTV, NoiOS, Mac (11,3)]
|
||||
[NoWatch, NoTV, iOS (16,0), Mac (11,3)]
|
||||
[Protocol]
|
||||
interface NSFileProviderPendingSetEnumerator : NSFileProviderEnumerator {
|
||||
|
||||
|
@ -776,6 +816,11 @@ namespace FileProvider {
|
|||
[Abstract]
|
||||
[Export ("refreshInterval")]
|
||||
double RefreshInterval { get; }
|
||||
|
||||
[NoWatch, NoTV, NoMacCatalyst, Mac (13, 0), iOS (16, 0)]
|
||||
[Abstract]
|
||||
[Export ("maximumSizeReached")]
|
||||
bool MaximumSizeReached { [Bind ("isMaximumSizeReached")] get; }
|
||||
}
|
||||
|
||||
// typedef NSString *NSFileProviderDomainIdentifier NS_EXTENSIBLE_STRING_ENUM
|
||||
|
@ -797,11 +842,14 @@ namespace FileProvider {
|
|||
[Export ("makeListenerEndpointAndReturnError:")]
|
||||
[return: NullAllowed]
|
||||
NSXpcListenerEndpoint MakeListenerEndpoint (out NSError error);
|
||||
|
||||
[NoWatch, NoTV, NoMacCatalyst, Mac (13, 0), iOS (16, 0)]
|
||||
[Export ("restricted")]
|
||||
bool Restricted { [Bind ("isRestricted")] get; }
|
||||
}
|
||||
|
||||
[Mac (11,0)]
|
||||
[Mac (11,0), iOS (16,0)]
|
||||
[Unavailable (PlatformName.MacCatalyst)][Advice ("This API is not available when using Catalyst on macOS.")]
|
||||
[NoiOS]
|
||||
[BaseType (typeof(NSObject))]
|
||||
interface NSFileProviderItemVersion {
|
||||
|
||||
|
@ -814,15 +862,14 @@ namespace FileProvider {
|
|||
[Export ("metadataVersion")]
|
||||
NSData MetadataVersion { get; }
|
||||
|
||||
[NoWatch, NoTV, NoMacCatalyst, NoiOS, Mac (12,0)]
|
||||
[NoWatch, NoTV, NoMacCatalyst, iOS (16,0), Mac (12,0)]
|
||||
[Static]
|
||||
[Export ("beforeFirstSyncComponent")]
|
||||
NSData BeforeFirstSyncComponent { get; }
|
||||
}
|
||||
|
||||
[Mac (11,0)]
|
||||
[Mac (11,0), iOS (16,0)]
|
||||
[Unavailable (PlatformName.MacCatalyst)][Advice ("This API is not available when using Catalyst on macOS.")]
|
||||
[NoiOS]
|
||||
[Native][Flags]
|
||||
enum NSFileProviderCreateItemOptions : ulong {
|
||||
None = 0,
|
||||
|
@ -830,27 +877,24 @@ namespace FileProvider {
|
|||
DeletionConflicted = 2,
|
||||
}
|
||||
|
||||
[Mac (11,0)]
|
||||
[Mac (11,0), iOS (16,0)]
|
||||
[Unavailable (PlatformName.MacCatalyst)][Advice ("This API is not available when using Catalyst on macOS.")]
|
||||
[NoiOS]
|
||||
[Native][Flags]
|
||||
enum NSFileProviderDeleteItemOptions : ulong {
|
||||
None = 0,
|
||||
Recursive = 1,
|
||||
}
|
||||
|
||||
[Mac (11,0)]
|
||||
[Mac (11,0), iOS (16,0)]
|
||||
[Unavailable (PlatformName.MacCatalyst)][Advice ("This API is not available when using Catalyst on macOS.")]
|
||||
[NoiOS]
|
||||
[Native][Flags]
|
||||
enum NSFileProviderModifyItemOptions : ulong {
|
||||
None = 0,
|
||||
MayAlreadyExist = 1,
|
||||
}
|
||||
|
||||
[Mac (11,0)]
|
||||
[Mac (11,0), iOS (16,0)]
|
||||
[Unavailable (PlatformName.MacCatalyst)][Advice ("This API is not available when using Catalyst on macOS.")]
|
||||
[NoiOS]
|
||||
[Native][Flags]
|
||||
enum NSFileProviderItemFields : ulong {
|
||||
Contents = 1uL << 0,
|
||||
|
@ -888,9 +932,8 @@ namespace FileProvider {
|
|||
PathExtensionHidden = 1uL << 4,
|
||||
}
|
||||
|
||||
[Mac (11,0)]
|
||||
[Mac (11,0), iOS (16,0)]
|
||||
[Unavailable (PlatformName.MacCatalyst)][Advice ("This API is not available when using Catalyst on macOS.")]
|
||||
[NoiOS]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface NSFileProviderRequest {
|
||||
|
||||
|
@ -904,7 +947,7 @@ namespace FileProvider {
|
|||
[Export ("requestingExecutable", ArgumentSemantic.Copy)]
|
||||
NSUrl RequestingExecutable { get; }
|
||||
|
||||
[NoWatch, NoTV, NoiOS, Mac (11,3)]
|
||||
[NoWatch, NoTV, iOS (16,0), Mac (11,3)]
|
||||
[NoMacCatalyst]
|
||||
[NullAllowed, Export ("domainVersion")]
|
||||
NSFileProviderDomainVersion DomainVersion { get; }
|
||||
|
@ -912,7 +955,7 @@ namespace FileProvider {
|
|||
|
||||
[Mac (11,0)]
|
||||
[Unavailable (PlatformName.MacCatalyst)][Advice ("This API is not available when using Catalyst on macOS.")]
|
||||
[NoiOS]
|
||||
[iOS (16,0)]
|
||||
[Protocol]
|
||||
interface NSFileProviderCustomAction {
|
||||
|
||||
|
@ -925,7 +968,7 @@ namespace FileProvider {
|
|||
|
||||
[Mac (11,0)]
|
||||
[Unavailable (PlatformName.MacCatalyst)][Advice ("This API is not available when using Catalyst on macOS.")]
|
||||
[NoiOS]
|
||||
[iOS (16,0)]
|
||||
[Protocol]
|
||||
interface NSFileProviderEnumerating {
|
||||
|
||||
|
@ -937,7 +980,7 @@ namespace FileProvider {
|
|||
|
||||
[Mac (11,0)]
|
||||
[Unavailable (PlatformName.MacCatalyst)][Advice ("This API is not available when using Catalyst on macOS.")]
|
||||
[NoiOS]
|
||||
[iOS (16,0)]
|
||||
[Protocol]
|
||||
interface NSFileProviderIncrementalContentFetching {
|
||||
|
||||
|
@ -948,7 +991,7 @@ namespace FileProvider {
|
|||
|
||||
[Mac (11,0)]
|
||||
[Unavailable (PlatformName.MacCatalyst)][Advice ("This API is not available when using Catalyst on macOS.")]
|
||||
[NoiOS]
|
||||
[iOS (16,0)]
|
||||
[Protocol]
|
||||
interface NSFileProviderServicing {
|
||||
|
||||
|
@ -959,7 +1002,7 @@ namespace FileProvider {
|
|||
|
||||
[Mac (11,0)]
|
||||
[Unavailable (PlatformName.MacCatalyst)][Advice ("This API is not available when using Catalyst on macOS.")]
|
||||
[NoiOS]
|
||||
[iOS (16,0)]
|
||||
[Protocol]
|
||||
interface NSFileProviderThumbnailing {
|
||||
|
||||
|
@ -985,7 +1028,7 @@ namespace FileProvider {
|
|||
|
||||
[Mac (11,0)]
|
||||
[Unavailable (PlatformName.MacCatalyst)]
|
||||
[NoiOS]
|
||||
[iOS (16,0)]
|
||||
[Protocol]
|
||||
[Advice ("Implementation must expose selector 'initWithDomain:' with '.ctor (NSFileProviderDomain)'.")]
|
||||
interface NSFileProviderReplicatedExtension : NSFileProviderEnumerating {
|
||||
|
@ -1027,7 +1070,7 @@ namespace FileProvider {
|
|||
void MaterializedItemsDidChange (Action completionHandler);
|
||||
|
||||
[NoMacCatalyst]
|
||||
[NoWatch, NoTV, NoiOS, Mac (11,3)]
|
||||
[NoWatch, NoTV, iOS (16,0), Mac (11,3)]
|
||||
[Export ("pendingItemsDidChangeWithCompletionHandler:")]
|
||||
void PendingItemsDidChange (Action completionHandler);
|
||||
}
|
||||
|
@ -1035,7 +1078,7 @@ namespace FileProvider {
|
|||
interface INSFileProviderDomainState { }
|
||||
|
||||
[NoMacCatalyst]
|
||||
[NoWatch, NoTV, NoiOS, Mac (11,3)]
|
||||
[NoWatch, NoTV, iOS (16,0), Mac (11,3)]
|
||||
[Protocol]
|
||||
interface NSFileProviderDomainState {
|
||||
|
||||
|
@ -1057,7 +1100,7 @@ namespace FileProvider {
|
|||
}
|
||||
|
||||
[NoMacCatalyst]
|
||||
[NoWatch, NoTV, NoiOS, Mac (11,3)]
|
||||
[NoWatch, NoTV, iOS (16,0), Mac (11,3)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor]
|
||||
interface NSFileProviderDomainVersion : NSSecureCoding {
|
||||
|
@ -1070,7 +1113,7 @@ namespace FileProvider {
|
|||
}
|
||||
|
||||
[NoMacCatalyst]
|
||||
[NoWatch, NoTV, NoiOS, Mac (11,3)]
|
||||
[NoWatch, NoTV, iOS (16,0), Mac (11,3)]
|
||||
[Native]
|
||||
public enum NSFileProviderTestingOperationType : long {
|
||||
Ingestion = 0,
|
||||
|
@ -1086,7 +1129,7 @@ namespace FileProvider {
|
|||
interface INSFileProviderTestingOperation : global::ObjCRuntime.INativeObject { }
|
||||
|
||||
[NoMacCatalyst]
|
||||
[NoWatch, NoTV, NoiOS, Mac (11,3)]
|
||||
[NoWatch, NoTV, iOS (16,0), Mac (11,3)]
|
||||
[Protocol]
|
||||
interface NSFileProviderTestingOperation {
|
||||
|
||||
|
@ -1136,7 +1179,7 @@ namespace FileProvider {
|
|||
}
|
||||
|
||||
[NoMacCatalyst]
|
||||
[NoWatch, NoTV, NoiOS, Mac (11,3)]
|
||||
[NoWatch, NoTV, iOS (16,0), Mac (11,3)]
|
||||
[Native]
|
||||
public enum NSFileProviderTestingOperationSide : ulong {
|
||||
Disk = 0,
|
||||
|
@ -1146,7 +1189,7 @@ namespace FileProvider {
|
|||
interface INSFileProviderTestingIngestion { }
|
||||
|
||||
[NoMacCatalyst]
|
||||
[NoWatch, NoTV, NoiOS, Mac (11,3)]
|
||||
[NoWatch, NoTV, iOS (16,0), Mac (11,3)]
|
||||
[Protocol]
|
||||
interface NSFileProviderTestingIngestion : NSFileProviderTestingOperation {
|
||||
|
||||
|
@ -1165,7 +1208,7 @@ namespace FileProvider {
|
|||
|
||||
interface INSFileProviderTestingLookup { }
|
||||
|
||||
[NoWatch, NoTV, NoiOS, Mac (11,3)]
|
||||
[NoWatch, NoTV, iOS (16,0), NoMacCatalyst, Mac (11,3)]
|
||||
[Protocol]
|
||||
interface NSFileProviderTestingLookup : NSFileProviderTestingOperation {
|
||||
|
||||
|
@ -1180,7 +1223,7 @@ namespace FileProvider {
|
|||
|
||||
interface INSFileProviderTestingCreation { }
|
||||
|
||||
[NoWatch, NoTV, NoiOS, Mac (11,3)]
|
||||
[NoWatch, NoTV, iOS (16,0), NoMacCatalyst, Mac (11,3)]
|
||||
[Protocol]
|
||||
interface NSFileProviderTestingCreation : NSFileProviderTestingOperation {
|
||||
|
||||
|
@ -1200,7 +1243,7 @@ namespace FileProvider {
|
|||
interface INSFileProviderTestingModification { }
|
||||
|
||||
[NoMacCatalyst]
|
||||
[NoWatch, NoTV, NoiOS, Mac (11,3)]
|
||||
[NoWatch, NoTV, iOS (16,0), Mac (11,3)]
|
||||
[Protocol]
|
||||
interface NSFileProviderTestingModification : NSFileProviderTestingOperation {
|
||||
|
||||
|
@ -1232,7 +1275,7 @@ namespace FileProvider {
|
|||
interface INSFileProviderTestingDeletion { }
|
||||
|
||||
[NoMacCatalyst]
|
||||
[NoWatch, NoTV, NoiOS, Mac (11,3)]
|
||||
[NoWatch, NoTV, iOS (16,0), Mac (11,3)]
|
||||
[Protocol]
|
||||
interface NSFileProviderTestingDeletion : NSFileProviderTestingOperation {
|
||||
|
||||
|
@ -1260,7 +1303,7 @@ namespace FileProvider {
|
|||
interface INSFileProviderTestingContentFetch { }
|
||||
|
||||
[NoMacCatalyst]
|
||||
[NoWatch, NoTV, NoiOS, Mac (11,3)]
|
||||
[NoWatch, NoTV, iOS (16,0), Mac (11,3)]
|
||||
[Protocol]
|
||||
interface NSFileProviderTestingContentFetch : NSFileProviderTestingOperation {
|
||||
|
||||
|
@ -1276,7 +1319,7 @@ namespace FileProvider {
|
|||
interface INSFileProviderTestingChildrenEnumeration { }
|
||||
|
||||
[NoMacCatalyst]
|
||||
[NoWatch, NoTV, NoiOS, Mac (11,3)]
|
||||
[NoWatch, NoTV, iOS (16,0), Mac (11,3)]
|
||||
[Protocol]
|
||||
interface NSFileProviderTestingChildrenEnumeration : NSFileProviderTestingOperation {
|
||||
|
||||
|
@ -1292,7 +1335,7 @@ namespace FileProvider {
|
|||
interface INSFileProviderTestingCollisionResolution { }
|
||||
|
||||
[NoMacCatalyst]
|
||||
[NoWatch, NoTV, NoiOS, Mac (11,3)]
|
||||
[NoWatch, NoTV, iOS (16,0), Mac (11,3)]
|
||||
[Protocol]
|
||||
interface NSFileProviderTestingCollisionResolution : NSFileProviderTestingOperation {
|
||||
|
||||
|
@ -1329,5 +1372,4 @@ namespace FileProvider {
|
|||
[Export ("fetchPartialContentsForItemWithIdentifier:version:request:minimalRange:aligningTo:options:completionHandler:")]
|
||||
NSProgress FetchPartialContents (string itemIdentifier, NSFileProviderItemVersion requestedVersion, NSFileProviderRequest request, NSRange requestedRange, nuint alignment, NSFileProviderFetchContentsOptions options, NSFileProviderPartialContentFetchingCompletionHandler completionHandler);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -4306,7 +4306,7 @@ namespace Foundation
|
|||
[Export ("fileProviderErrorForNonExistentItemWithIdentifier:")]
|
||||
NSError GetFileProviderError (string nonExistentItemIdentifier);
|
||||
|
||||
[NoiOS]
|
||||
[iOS (16,0)]
|
||||
[Mac (11,0)]
|
||||
[NoMacCatalyst][NoTV][NoWatch]
|
||||
[Static]
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# In the compat file as obsoleted in iOS 14
|
||||
!missing-protocol! NSFileProviderItemDecorating not bound
|
||||
|
||||
# Not found in the headers or web docs
|
||||
!missing-selector! NSFileProviderManager::waitForNSFileProviderManagerWithCompletionHandler: not bound
|
|
@ -1,77 +0,0 @@
|
|||
!missing-enum! NSFileProviderContentPolicy not bound
|
||||
!missing-enum! NSFileProviderCreateItemOptions not bound
|
||||
!missing-enum! NSFileProviderDeleteItemOptions not bound
|
||||
!missing-enum! NSFileProviderDomainRemovalMode not bound
|
||||
!missing-enum! NSFileProviderItemFields not bound
|
||||
!missing-enum! NSFileProviderModifyItemOptions not bound
|
||||
!missing-enum! NSFileProviderTestingOperationSide not bound
|
||||
!missing-enum! NSFileProviderTestingOperationType not bound
|
||||
!missing-enum-value! NSFileProviderError native value NSFileProviderErrorDomainDisabled = -2011 not bound
|
||||
!missing-enum-value! NSFileProviderError native value NSFileProviderErrorExcludedFromSync = -2010 not bound
|
||||
!missing-field! NSFileProviderDomainDidChange not bound
|
||||
!missing-field! NSFileProviderMaterializedSetDidChange not bound
|
||||
!missing-field! NSFileProviderPendingSetDidChange not bound
|
||||
!missing-field! NSFileProviderTrashContainerItemIdentifier not bound
|
||||
!missing-protocol! NSFileProviderCustomAction not bound
|
||||
!missing-protocol! NSFileProviderDomainState not bound
|
||||
!missing-protocol! NSFileProviderEnumerating not bound
|
||||
!missing-protocol! NSFileProviderIncrementalContentFetching not bound
|
||||
!missing-protocol! NSFileProviderItemDecorating not bound
|
||||
!missing-protocol! NSFileProviderPendingSetEnumerator not bound
|
||||
!missing-protocol! NSFileProviderReplicatedExtension not bound
|
||||
!missing-protocol! NSFileProviderServicing not bound
|
||||
!missing-protocol! NSFileProviderTestingChildrenEnumeration not bound
|
||||
!missing-protocol! NSFileProviderTestingCollisionResolution not bound
|
||||
!missing-protocol! NSFileProviderTestingContentFetch not bound
|
||||
!missing-protocol! NSFileProviderTestingCreation not bound
|
||||
!missing-protocol! NSFileProviderTestingDeletion not bound
|
||||
!missing-protocol! NSFileProviderTestingIngestion not bound
|
||||
!missing-protocol! NSFileProviderTestingLookup not bound
|
||||
!missing-protocol! NSFileProviderTestingModification not bound
|
||||
!missing-protocol! NSFileProviderTestingOperation not bound
|
||||
!missing-protocol! NSFileProviderThumbnailing not bound
|
||||
!missing-protocol-member! NSFileProviderChangeObserver::suggestedBatchSize not found
|
||||
!missing-protocol-member! NSFileProviderEnumerationObserver::suggestedPageSize not found
|
||||
!missing-protocol-member! NSFileProviderItem::contentPolicy not found
|
||||
!missing-protocol-member! NSFileProviderItem::extendedAttributes not found
|
||||
!missing-protocol-member! NSFileProviderItem::fileSystemFlags not found
|
||||
!missing-protocol-member! NSFileProviderItem::itemVersion not found
|
||||
!missing-protocol-member! NSFileProviderItem::symlinkTargetPath not found
|
||||
!missing-protocol-member! NSFileProviderItem::typeAndCreator not found
|
||||
!missing-protocol-member! NSFileProviderServiceSource::isRestricted not found
|
||||
!missing-selector! +NSError::fileProviderErrorForRejectedDeletionOfItem: not bound
|
||||
!missing-selector! +NSFileProviderItemVersion::beforeFirstSyncComponent not bound
|
||||
!missing-selector! +NSFileProviderManager::getIdentifierForUserVisibleFileAtURL:completionHandler: not bound
|
||||
!missing-selector! +NSFileProviderManager::importDomain:fromDirectoryAtURL:completionHandler: not bound
|
||||
!missing-selector! +NSFileProviderManager::removeDomain:mode:completionHandler: not bound
|
||||
!missing-selector! NSFileProviderDomain::backingStoreIdentity not bound
|
||||
!missing-selector! NSFileProviderDomain::initWithIdentifier:displayName: not bound
|
||||
!missing-selector! NSFileProviderDomain::isReplicated not bound
|
||||
!missing-selector! NSFileProviderDomain::setTestingModes: not bound
|
||||
!missing-selector! NSFileProviderDomain::testingModes not bound
|
||||
!missing-selector! NSFileProviderDomain::userEnabled not bound
|
||||
!missing-selector! NSFileProviderDomainVersion::compare: not bound
|
||||
!missing-selector! NSFileProviderDomainVersion::next not bound
|
||||
!missing-selector! NSFileProviderItemVersion::contentVersion not bound
|
||||
!missing-selector! NSFileProviderItemVersion::initWithContentVersion:metadataVersion: not bound
|
||||
!missing-selector! NSFileProviderItemVersion::metadataVersion not bound
|
||||
!missing-selector! NSFileProviderManager::enumeratorForMaterializedItems not bound
|
||||
!missing-selector! NSFileProviderManager::enumeratorForPendingItems not bound
|
||||
!missing-selector! NSFileProviderManager::evictItemWithIdentifier:completionHandler: not bound
|
||||
!missing-selector! NSFileProviderManager::getServiceWithName:itemIdentifier:completionHandler: not bound
|
||||
!missing-selector! NSFileProviderManager::getUserVisibleURLForItemIdentifier:completionHandler: not bound
|
||||
!missing-selector! NSFileProviderManager::globalProgressForKind: not bound
|
||||
!missing-selector! NSFileProviderManager::listAvailableTestingOperationsWithError: not bound
|
||||
!missing-selector! NSFileProviderManager::reimportItemsBelowItemWithIdentifier:completionHandler: not bound
|
||||
!missing-selector! NSFileProviderManager::requestModificationOfFields:forItemWithIdentifier:options:completionHandler: not bound
|
||||
!missing-selector! NSFileProviderManager::runTestingOperations:error: not bound
|
||||
!missing-selector! NSFileProviderManager::signalErrorResolved:completionHandler: not bound
|
||||
!missing-selector! NSFileProviderManager::temporaryDirectoryURLWithError: not bound
|
||||
!missing-selector! NSFileProviderManager::waitForChangesOnItemsBelowItemWithIdentifier:completionHandler: not bound
|
||||
!missing-selector! NSFileProviderManager::waitForNSFileProviderManagerWithCompletionHandler: not bound
|
||||
!missing-selector! NSFileProviderRequest::domainVersion not bound
|
||||
!missing-selector! NSFileProviderRequest::isFileViewerRequest not bound
|
||||
!missing-selector! NSFileProviderRequest::isSystemRequest not bound
|
||||
!missing-type! NSFileProviderDomainVersion not bound
|
||||
!missing-type! NSFileProviderItemVersion not bound
|
||||
!missing-type! NSFileProviderRequest not bound
|
|
@ -1,12 +0,0 @@
|
|||
!missing-enum! NSFileProviderContentPolicy not bound
|
||||
!missing-enum-value! NSFileProviderError native value NSFileProviderErrorDomainDisabled = -2011 not bound
|
||||
!missing-enum-value! NSFileProviderError native value NSFileProviderErrorExcludedFromSync = -2010 not bound
|
||||
!missing-protocol-member! NSFileProviderItem::contentPolicy not found
|
||||
!missing-protocol-member! NSFileProviderServiceSource::isRestricted not found
|
||||
!missing-selector! NSFileProviderDomain::isReplicated not bound
|
||||
!missing-selector! NSFileProviderDomain::setSupportsSyncingTrash: not bound
|
||||
!missing-selector! NSFileProviderDomain::supportsSyncingTrash not bound
|
||||
!missing-selector! NSFileProviderManager::getServiceWithName:itemIdentifier:completionHandler: not bound
|
||||
!missing-selector! NSFileProviderManager::requestDownloadForItemWithIdentifier:requestedRange:completionHandler: not bound
|
||||
!missing-selector! NSFileProviderManager::requestModificationOfFields:forItemWithIdentifier:options:completionHandler: not bound
|
||||
!missing-protocol-member! NSFileProviderPendingSetEnumerator::isMaximumSizeReached not found
|
|
@ -1,2 +1,8 @@
|
|||
# In the compat file as obsoleted in iOS 14
|
||||
!missing-protocol! NSFileProviderItemDecorating not bound
|
||||
|
||||
## this was _demoted_ to `@optional` when the property was deprecated in iOS 14 SDK
|
||||
!incorrect-protocol-member! NSFileProviderItem::typeIdentifier is OPTIONAL and should NOT be abstract
|
||||
|
||||
# Not found in the headers or web docs
|
||||
!missing-selector! NSFileProviderManager::waitForNSFileProviderManagerWithCompletionHandler: not bound
|
||||
|
|
|
@ -1,77 +0,0 @@
|
|||
!missing-enum! NSFileProviderContentPolicy not bound
|
||||
!missing-enum! NSFileProviderCreateItemOptions not bound
|
||||
!missing-enum! NSFileProviderDeleteItemOptions not bound
|
||||
!missing-enum! NSFileProviderDomainRemovalMode not bound
|
||||
!missing-enum! NSFileProviderItemFields not bound
|
||||
!missing-enum! NSFileProviderModifyItemOptions not bound
|
||||
!missing-enum! NSFileProviderTestingOperationSide not bound
|
||||
!missing-enum! NSFileProviderTestingOperationType not bound
|
||||
!missing-enum-value! NSFileProviderError native value NSFileProviderErrorDomainDisabled = -2011 not bound
|
||||
!missing-enum-value! NSFileProviderError native value NSFileProviderErrorExcludedFromSync = -2010 not bound
|
||||
!missing-field! NSFileProviderDomainDidChange not bound
|
||||
!missing-field! NSFileProviderMaterializedSetDidChange not bound
|
||||
!missing-field! NSFileProviderPendingSetDidChange not bound
|
||||
!missing-field! NSFileProviderTrashContainerItemIdentifier not bound
|
||||
!missing-protocol! NSFileProviderCustomAction not bound
|
||||
!missing-protocol! NSFileProviderDomainState not bound
|
||||
!missing-protocol! NSFileProviderEnumerating not bound
|
||||
!missing-protocol! NSFileProviderIncrementalContentFetching not bound
|
||||
!missing-protocol! NSFileProviderItemDecorating not bound
|
||||
!missing-protocol! NSFileProviderPendingSetEnumerator not bound
|
||||
!missing-protocol! NSFileProviderReplicatedExtension not bound
|
||||
!missing-protocol! NSFileProviderServicing not bound
|
||||
!missing-protocol! NSFileProviderTestingChildrenEnumeration not bound
|
||||
!missing-protocol! NSFileProviderTestingCollisionResolution not bound
|
||||
!missing-protocol! NSFileProviderTestingContentFetch not bound
|
||||
!missing-protocol! NSFileProviderTestingCreation not bound
|
||||
!missing-protocol! NSFileProviderTestingDeletion not bound
|
||||
!missing-protocol! NSFileProviderTestingIngestion not bound
|
||||
!missing-protocol! NSFileProviderTestingLookup not bound
|
||||
!missing-protocol! NSFileProviderTestingModification not bound
|
||||
!missing-protocol! NSFileProviderTestingOperation not bound
|
||||
!missing-protocol! NSFileProviderThumbnailing not bound
|
||||
!missing-protocol-member! NSFileProviderChangeObserver::suggestedBatchSize not found
|
||||
!missing-protocol-member! NSFileProviderEnumerationObserver::suggestedPageSize not found
|
||||
!missing-protocol-member! NSFileProviderItem::contentPolicy not found
|
||||
!missing-protocol-member! NSFileProviderItem::extendedAttributes not found
|
||||
!missing-protocol-member! NSFileProviderItem::fileSystemFlags not found
|
||||
!missing-protocol-member! NSFileProviderItem::itemVersion not found
|
||||
!missing-protocol-member! NSFileProviderItem::symlinkTargetPath not found
|
||||
!missing-protocol-member! NSFileProviderItem::typeAndCreator not found
|
||||
!missing-protocol-member! NSFileProviderServiceSource::isRestricted not found
|
||||
!missing-selector! +NSError::fileProviderErrorForRejectedDeletionOfItem: not bound
|
||||
!missing-selector! +NSFileProviderItemVersion::beforeFirstSyncComponent not bound
|
||||
!missing-selector! +NSFileProviderManager::getIdentifierForUserVisibleFileAtURL:completionHandler: not bound
|
||||
!missing-selector! +NSFileProviderManager::importDomain:fromDirectoryAtURL:completionHandler: not bound
|
||||
!missing-selector! +NSFileProviderManager::removeDomain:mode:completionHandler: not bound
|
||||
!missing-selector! NSFileProviderDomain::backingStoreIdentity not bound
|
||||
!missing-selector! NSFileProviderDomain::initWithIdentifier:displayName: not bound
|
||||
!missing-selector! NSFileProviderDomain::isReplicated not bound
|
||||
!missing-selector! NSFileProviderDomain::setTestingModes: not bound
|
||||
!missing-selector! NSFileProviderDomain::testingModes not bound
|
||||
!missing-selector! NSFileProviderDomain::userEnabled not bound
|
||||
!missing-selector! NSFileProviderDomainVersion::compare: not bound
|
||||
!missing-selector! NSFileProviderDomainVersion::next not bound
|
||||
!missing-selector! NSFileProviderItemVersion::contentVersion not bound
|
||||
!missing-selector! NSFileProviderItemVersion::initWithContentVersion:metadataVersion: not bound
|
||||
!missing-selector! NSFileProviderItemVersion::metadataVersion not bound
|
||||
!missing-selector! NSFileProviderManager::enumeratorForMaterializedItems not bound
|
||||
!missing-selector! NSFileProviderManager::enumeratorForPendingItems not bound
|
||||
!missing-selector! NSFileProviderManager::evictItemWithIdentifier:completionHandler: not bound
|
||||
!missing-selector! NSFileProviderManager::getServiceWithName:itemIdentifier:completionHandler: not bound
|
||||
!missing-selector! NSFileProviderManager::getUserVisibleURLForItemIdentifier:completionHandler: not bound
|
||||
!missing-selector! NSFileProviderManager::globalProgressForKind: not bound
|
||||
!missing-selector! NSFileProviderManager::listAvailableTestingOperationsWithError: not bound
|
||||
!missing-selector! NSFileProviderManager::reimportItemsBelowItemWithIdentifier:completionHandler: not bound
|
||||
!missing-selector! NSFileProviderManager::requestModificationOfFields:forItemWithIdentifier:options:completionHandler: not bound
|
||||
!missing-selector! NSFileProviderManager::runTestingOperations:error: not bound
|
||||
!missing-selector! NSFileProviderManager::signalErrorResolved:completionHandler: not bound
|
||||
!missing-selector! NSFileProviderManager::temporaryDirectoryURLWithError: not bound
|
||||
!missing-selector! NSFileProviderManager::waitForChangesOnItemsBelowItemWithIdentifier:completionHandler: not bound
|
||||
!missing-selector! NSFileProviderManager::waitForNSFileProviderManagerWithCompletionHandler: not bound
|
||||
!missing-selector! NSFileProviderRequest::domainVersion not bound
|
||||
!missing-selector! NSFileProviderRequest::isFileViewerRequest not bound
|
||||
!missing-selector! NSFileProviderRequest::isSystemRequest not bound
|
||||
!missing-type! NSFileProviderDomainVersion not bound
|
||||
!missing-type! NSFileProviderItemVersion not bound
|
||||
!missing-type! NSFileProviderRequest not bound
|
|
@ -1,12 +0,0 @@
|
|||
!missing-enum! NSFileProviderContentPolicy not bound
|
||||
!missing-enum-value! NSFileProviderError native value NSFileProviderErrorDomainDisabled = -2011 not bound
|
||||
!missing-enum-value! NSFileProviderError native value NSFileProviderErrorExcludedFromSync = -2010 not bound
|
||||
!missing-protocol-member! NSFileProviderItem::contentPolicy not found
|
||||
!missing-protocol-member! NSFileProviderServiceSource::isRestricted not found
|
||||
!missing-selector! NSFileProviderDomain::isReplicated not bound
|
||||
!missing-selector! NSFileProviderDomain::setSupportsSyncingTrash: not bound
|
||||
!missing-selector! NSFileProviderDomain::supportsSyncingTrash not bound
|
||||
!missing-selector! NSFileProviderManager::getServiceWithName:itemIdentifier:completionHandler: not bound
|
||||
!missing-selector! NSFileProviderManager::requestDownloadForItemWithIdentifier:requestedRange:completionHandler: not bound
|
||||
!missing-selector! NSFileProviderManager::requestModificationOfFields:forItemWithIdentifier:options:completionHandler: not bound
|
||||
!missing-protocol-member! NSFileProviderPendingSetEnumerator::isMaximumSizeReached not found
|
Загрузка…
Ссылка в новой задаче