iOS Guides | Samples

MonoTouch.UIKit.IUIDocumentPickerDelegate

Interface representing the required methods (if any) of the protocol UIDocumentPickerDelegate.

See Also: IUIDocumentPickerDelegate

Syntax

[MonoTouch.Foundation.Protocol(Name="UIDocumentPickerDelegate", WrapperType=typeof(MonoTouch.UIKit.UIDocumentPickerDelegateWrapper))]
[MonoTouch.Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidPickDocument", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], Selector="documentPicker:didPickDocumentAtURL:")]
[MonoTouch.Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPickDocument", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], Selector="documentPicker:didPickDocumentsAtURLs:")]
[MonoTouch.Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WasCancelled", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], Selector="documentPickerWasCancelled:")]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 8, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.WatchOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.TvOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public interface IUIDocumentPickerDelegate : INativeObject, IDisposable

Remarks

This interface contains the required methods (if any) from the protocol defined by UIDocumentPickerDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the UIDocumentPickerDelegate protocol.

Optional methods (if any) are provided by the UIDocumentPickerDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.IUIDocumentPickerDelegate are listed below.

Public Methods

DidPickDocument(UIDocumentPickerViewController, NSUrl)
Informs delegate that a destination or document has been selected.