IUIDocumentBrowserViewControllerDelegate Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Handles user interactions with a document browser.
[Foundation.Protocol(Name="UIDocumentBrowserViewControllerDelegate", WrapperType=typeof(UIKit.UIDocumentBrowserViewControllerDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPickDocumentUrls", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(Foundation.NSUrl[]) }, Selector="documentBrowser:didPickDocumentURLs:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidRequestDocumentCreation", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity2V171) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(System.Action<Foundation.NSUrl,UIKit.UIDocumentBrowserImportMode>) }, Selector="documentBrowser:didRequestDocumentCreationWithHandler:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidImportDocument", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(Foundation.NSUrl), typeof(Foundation.NSUrl) }, Selector="documentBrowser:didImportDocumentAtURL:toDestinationURL:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="FailedToImportDocument", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(Foundation.NSUrl), typeof(Foundation.NSError) }, Selector="documentBrowser:failedToImportDocumentAtURL:error:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetApplicationActivities", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(Foundation.NSUrl[]) }, ReturnType=typeof(UIKit.UIActivity[]), Selector="documentBrowser:applicationActivitiesForDocumentURLs:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillPresent", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(UIKit.UIActivityViewController) }, Selector="documentBrowser:willPresentActivityViewController:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPickDocumentsAtUrls", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(Foundation.NSUrl[]) }, Selector="documentBrowser:didPickDocumentsAtURLs:")]
public interface IUIDocumentBrowserViewControllerDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="UIDocumentBrowserViewControllerDelegate", WrapperType=typeof(UIKit.UIDocumentBrowserViewControllerDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPickDocumentUrls", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(Foundation.NSUrl[]) }, Selector="documentBrowser:didPickDocumentURLs:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidImportDocument", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(Foundation.NSUrl), typeof(Foundation.NSUrl) }, Selector="documentBrowser:didImportDocumentAtURL:toDestinationURL:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="FailedToImportDocument", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(Foundation.NSUrl), typeof(Foundation.NSError) }, Selector="documentBrowser:failedToImportDocumentAtURL:error:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetApplicationActivities", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(Foundation.NSUrl[]) }, ReturnType=typeof(UIKit.UIActivity[]), Selector="documentBrowser:applicationActivitiesForDocumentURLs:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillPresent", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(UIKit.UIActivityViewController) }, Selector="documentBrowser:willPresentActivityViewController:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPickDocumentsAtUrls", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(Foundation.NSUrl[]) }, Selector="documentBrowser:didPickDocumentsAtURLs:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidRequestDocumentCreation", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity2V164) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(System.Action<Foundation.NSUrl,UIKit.UIDocumentBrowserImportMode>) }, Selector="documentBrowser:didRequestDocumentCreationWithHandler:")]
public interface IUIDocumentBrowserViewControllerDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UIDocumentBrowserViewControllerDelegate", WrapperType=typeof(UIKit.UIDocumentBrowserViewControllerDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPickDocumentUrls", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(Foundation.NSUrl[]) }, Selector="documentBrowser:didPickDocumentURLs:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidRequestDocumentCreation", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity2V171) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(System.Action<Foundation.NSUrl,UIKit.UIDocumentBrowserImportMode>) }, Selector="documentBrowser:didRequestDocumentCreationWithHandler:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidImportDocument", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(Foundation.NSUrl), typeof(Foundation.NSUrl) }, Selector="documentBrowser:didImportDocumentAtURL:toDestinationURL:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="FailedToImportDocument", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(Foundation.NSUrl), typeof(Foundation.NSError) }, Selector="documentBrowser:failedToImportDocumentAtURL:error:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetApplicationActivities", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(Foundation.NSUrl[]) }, ReturnType=typeof(UIKit.UIActivity[]), Selector="documentBrowser:applicationActivitiesForDocumentURLs:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillPresent", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(UIKit.UIActivityViewController) }, Selector="documentBrowser:willPresentActivityViewController:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPickDocumentsAtUrls", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(Foundation.NSUrl[]) }, Selector="documentBrowser:didPickDocumentsAtURLs:")>]
type IUIDocumentBrowserViewControllerDelegate = interface
interface INativeObject
interface IDisposable
[<Foundation.Protocol(Name="UIDocumentBrowserViewControllerDelegate", WrapperType=typeof(UIKit.UIDocumentBrowserViewControllerDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPickDocumentUrls", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(Foundation.NSUrl[]) }, Selector="documentBrowser:didPickDocumentURLs:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidImportDocument", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(Foundation.NSUrl), typeof(Foundation.NSUrl) }, Selector="documentBrowser:didImportDocumentAtURL:toDestinationURL:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="FailedToImportDocument", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(Foundation.NSUrl), typeof(Foundation.NSError) }, Selector="documentBrowser:failedToImportDocumentAtURL:error:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetApplicationActivities", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(Foundation.NSUrl[]) }, ReturnType=typeof(UIKit.UIActivity[]), Selector="documentBrowser:applicationActivitiesForDocumentURLs:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillPresent", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(UIKit.UIActivityViewController) }, Selector="documentBrowser:willPresentActivityViewController:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidPickDocumentsAtUrls", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(Foundation.NSUrl[]) }, Selector="documentBrowser:didPickDocumentsAtURLs:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidRequestDocumentCreation", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity2V164) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentBrowserViewController), typeof(System.Action<Foundation.NSUrl,UIKit.UIDocumentBrowserImportMode>) }, Selector="documentBrowser:didRequestDocumentCreationWithHandler:")>]
type IUIDocumentBrowserViewControllerDelegate = 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 |
|---|---|
| DidImportDocument(UIDocumentBrowserViewController, NSUrl, NSUrl) |
Developers may implement this method to respond after a document is imported. |
| DidPickDocumentsAtUrls(UIDocumentBrowserViewController, NSUrl[]) | |
| DidPickDocumentUrls(UIDocumentBrowserViewController, NSUrl[]) |
Developers may implement this method to respond after the user selects document URLs. |
| DidRequestDocumentCreation(UIDocumentBrowserViewController, Action<NSUrl,UIDocumentBrowserImportMode>) |
Developers may implement this method to respond to a request to create a new document. |
| FailedToImportDocument(UIDocumentBrowserViewController, NSUrl, NSError) |
Developers may implement this method to respond when the application fails to import a document. |
| GetApplicationActivities(UIDocumentBrowserViewController, NSUrl[]) |
Returns an array of custom application activities for an activity view. |
| WillPresent(UIDocumentBrowserViewController, UIActivityViewController) |
Developers may implement this method to prepare for the display of an activity view. |