Share via


IUIDocumentPickerDelegate Interface

Definition

Delegate object for UIDocumentPickerViewController object. Defines methods called when the user picks a document or cancels.

[Foundation.Protocol(Name="UIDocumentPickerDelegate", WrapperType=typeof(UIKit.UIDocumentPickerDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPickDocument", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentPickerViewController), typeof(Foundation.NSUrl) }, Selector="documentPicker:didPickDocumentAtURL:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPickDocument", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentPickerViewController), typeof(Foundation.NSUrl[]) }, Selector="documentPicker:didPickDocumentsAtURLs:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WasCancelled", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentPickerViewController) }, Selector="documentPickerWasCancelled:")]
public interface IUIDocumentPickerDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UIDocumentPickerDelegate", WrapperType=typeof(UIKit.UIDocumentPickerDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPickDocument", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentPickerViewController), typeof(Foundation.NSUrl) }, Selector="documentPicker:didPickDocumentAtURL:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPickDocument", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentPickerViewController), typeof(Foundation.NSUrl[]) }, Selector="documentPicker:didPickDocumentsAtURLs:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WasCancelled", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentPickerViewController) }, Selector="documentPickerWasCancelled:")>]
type IUIDocumentPickerDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
DidPickDocument(UIDocumentPickerViewController, NSUrl)

Developers should not use this deprecated method. Implement 'DidPickDocument (UIDocumentPickerViewController, NSUrl[])' instead.

DidPickDocument(UIDocumentPickerViewController, NSUrl[])

Developers may implement this method to respond after the user selects documents.

WasCancelled(UIDocumentPickerViewController)

The user dismissed the picker.

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
DidPickDocument(IUIDocumentPickerDelegate, UIDocumentPickerViewController, NSUrl)

Developers should not use this deprecated method. Implement 'DidPickDocument (UIDocumentPickerViewController, NSUrl[])' instead.

DidPickDocument(IUIDocumentPickerDelegate, UIDocumentPickerViewController, NSUrl[])

Developers may implement this method to respond after the user selects documents.

WasCancelled(IUIDocumentPickerDelegate, UIDocumentPickerViewController)

The user dismissed the picker.

Applies to

See also