Bewerken

Delen via


IUIDocumentBrowserViewControllerDelegate Interface

Definition

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

[Foundation.Protocol(Name="UIDocumentBrowserViewControllerDelegate", WrapperType=typeof(UIKit.UIDocumentBrowserViewControllerDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IUIDocumentBrowserViewControllerDelegate : IDisposable, ObjCRuntime.INativeObject
type IUIDocumentBrowserViewControllerDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

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

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 UIDocumentBrowserViewControllerDelegate protocol.

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

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Extension Methods

DidImportDocument(IUIDocumentBrowserViewControllerDelegate, UIDocumentBrowserViewController, NSUrl, NSUrl)

Developers may implement this method to respond after a document is imported.

DidPickDocumentsAtUrls(IUIDocumentBrowserViewControllerDelegate, UIDocumentBrowserViewController, NSUrl[])
DidPickDocumentUrls(IUIDocumentBrowserViewControllerDelegate, UIDocumentBrowserViewController, NSUrl[])

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

DidRequestDocumentCreation(IUIDocumentBrowserViewControllerDelegate, UIDocumentBrowserViewController, Action<NSUrl,UIDocumentBrowserImportMode>)

Developers may implement this method to respond to a request to create a new document.

FailedToImportDocument(IUIDocumentBrowserViewControllerDelegate, UIDocumentBrowserViewController, NSUrl, NSError)

Developers may implement this method to respond when the application fails to import a document.

GetApplicationActivities(IUIDocumentBrowserViewControllerDelegate, UIDocumentBrowserViewController, NSUrl[])

Returns an array of custom application activities for an activity view.

WillPresent(IUIDocumentBrowserViewControllerDelegate, UIDocumentBrowserViewController, UIActivityViewController)

Developers may implement this method to prepare for the display of an activity view.

Applies to