iOS Guides | Samples

Foundation.INSItemProviderWriting

Interface used by NSItemProvider for retrieving data from an object.

See Also: INSItemProviderWriting

Syntax

[Foundation.Protocol(Name="NSItemProviderWriting", WrapperType=typeof(Foundation.NSItemProviderWritingWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetItemProviderVisibilityForTypeIdentifier", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], ReturnType=typeof(Foundation.NSItemProviderRepresentationVisibility), Selector="itemProviderVisibilityForRepresentationWithTypeIdentifier:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="LoadData", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], ReturnType=typeof(Foundation.NSProgress), Selector="loadDataWithTypeIdentifier:forItemProviderCompletionHandler:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="writableTypeIdentifiersForItemProvider", IsProperty=true, IsRequired=true, IsStatic=true, Name="WritableTypeIdentifiers", PropertyType=typeof(System.String[]), Selector="writableTypeIdentifiersForItemProvider")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="writableTypeIdentifiersForItemProvider", IsProperty=true, IsRequired=false, IsStatic=false, Name="WritableTypeIdentifiersForItemProvider", PropertyType=typeof(System.String[]), Selector="writableTypeIdentifiersForItemProvider")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface INSItemProviderWriting : INativeObject, IDisposable

Requirements

Namespace: Foundation
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0

The members of Foundation.INSItemProviderWriting are listed below.

Public Methods

LoadData(String, Action<NSData, NSError>) : NSProgress
Implement this method to customize the loading of data by an NSItemProvider.