net9.0-ios17.2
namespace FileProvider
{
    [Advice("Implementation must expose selector 'initWithDomain:' with '.ctor (NSFileProviderDomain)'.")]
    [Protocol(Name = "NSFileProviderReplicatedExtension", WrapperType = typeof(NSFileProviderReplicatedExtensionWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "Invalidate", Selector = "invalidate")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ImportDidFinish", ParameterBlockProxy = new[] { typeof(NIDAction) }, ParameterByRef = new[] { false }, ParameterType = new[] { typeof(Action) }, Selector = "importDidFinishWithCompletionHandler:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "MaterializedItemsDidChange", ParameterBlockProxy = new[] { typeof(NIDAction) }, ParameterByRef = new[] { false }, ParameterType = new[] { typeof(Action) }, Selector = "materializedItemsDidChangeWithCompletionHandler:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "PendingItemsDidChange", ParameterBlockProxy = new[] { typeof(NIDAction) }, ParameterByRef = new[] { false }, ParameterType = new[] { typeof(Action) }, Selector = "pendingItemsDidChangeWithCompletionHandler:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetItem", ParameterBlockProxy = new[] { null, null, typeof(NIDActionArity2V77) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(string), typeof(NSFileProviderRequest), typeof(Action<INSFileProviderItem, NSError>) }, ReturnType = typeof(NSProgress), Selector = "itemForIdentifier:request:completionHandler:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "CreateItem", ParameterBlockProxy = new[] { null, null, null, null, null, typeof(NIDNSFileProviderCreateOrModifyItemCompletionHandler) }, ParameterByRef = new[] { false, false, false, false, false, false }, ParameterType = new[] { typeof(INSFileProviderItem), typeof(NSFileProviderItemFields), typeof(NSUrl), typeof(NSFileProviderCreateItemOptions), typeof(NSFileProviderRequest), typeof(NSFileProviderCreateOrModifyItemCompletionHandler) }, ReturnType = typeof(NSProgress), Selector = "createItemBasedOnTemplate:fields:contents:options:request:completionHandler:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "FetchContents", ParameterBlockProxy = new[] { null, null, null, typeof(NIDNSFileProviderFetchContentsCompletionHandler) }, ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(string), typeof(NSFileProviderItemVersion), typeof(NSFileProviderRequest), typeof(NSFileProviderFetchContentsCompletionHandler) }, ReturnType = typeof(NSProgress), Selector = "fetchContentsForItemWithIdentifier:version:request:completionHandler:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "ModifyItem", ParameterBlockProxy = new[] { null, null, null, null, null, null, typeof(NIDNSFileProviderCreateOrModifyItemCompletionHandler) }, ParameterByRef = new[] { false, false, false, false, false, false, false }, ParameterType = new[] { typeof(INSFileProviderItem), typeof(NSFileProviderItemVersion), typeof(NSFileProviderItemFields), typeof(NSUrl), typeof(NSFileProviderModifyItemOptions), typeof(NSFileProviderRequest), typeof(NSFileProviderCreateOrModifyItemCompletionHandler) }, ReturnType = typeof(NSProgress), Selector = "modifyItem:baseVersion:changedFields:contents:options:request:completionHandler:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "DeleteItem", ParameterBlockProxy = new[] { null, null, null, null, typeof(NIDActionArity1V0) }, ParameterByRef = new[] { false, false, false, false, false }, ParameterType = new[] { typeof(string), typeof(NSFileProviderItemVersion), typeof(NSFileProviderDeleteItemOptions), typeof(NSFileProviderRequest), typeof(Action<NSError>) }, ReturnType = typeof(NSProgress), Selector = "deleteItemWithIdentifier:baseVersion:options:request:completionHandler:")]
    [SupportedOSPlatform("macos11.0")]
    [SupportedOSPlatform("ios16.0")]
    [UnsupportedOSPlatform("maccatalyst")]
    public interface INSFileProviderReplicatedExtension : INSFileProviderEnumerating, INativeObject, IDisposable
    {
        [BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
        [Export("deleteItemWithIdentifier:baseVersion:options:request:completionHandler:")]
        [Preserve(Conditional = true)]
        NSProgress! DeleteItem(string! identifier, NSFileProviderItemVersion! version, NSFileProviderDeleteItemOptions options, NSFileProviderRequest! request, [BlockProxy(typeof(NIDActionArity1V0))] Action<NSError!>! completionHandler);
    }
}
.NET 6.07.08.09.0
Information specific to net9.0
Platforms This API is only available when you target a specific platform:
iOS 10.010.110.210.311.011.111.211.311.412.012.112.212.312.413.013.113.213.313.413.513.614.014.114.214.314.414.515.015.215.416.016.116.216.417.017.2
macOS 10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2
Information specific to net9.0-ios17.2
Assembly

Microsoft.iOS , Version=17.2.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This API is only supported on the following platforms:

  • iOS >= 16
  • Mac Catalyst 0 - 16
  • macOS >= 11
  • Built-in API
  • Package-provided API

11/13/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙