Share via


IUIDocumentInteractionControllerDelegate Interface

Definition

A class used to receive notifications from the UIDocumentInteractionController class.

[Foundation.Protocol(Name="UIDocumentInteractionControllerDelegate", WrapperType=typeof(UIKit.UIDocumentInteractionControllerDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CanPerformAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentInteractionController), typeof(ObjCRuntime.Selector) }, ReturnType=typeof(System.Boolean), Selector="documentInteractionController:canPerformAction:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentInteractionController), typeof(ObjCRuntime.Selector) }, ReturnType=typeof(System.Boolean), Selector="documentInteractionController:performAction:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidEndSendingToApplication", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentInteractionController), typeof(System.String) }, Selector="documentInteractionController:didEndSendingToApplication:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillBeginSendingToApplication", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentInteractionController), typeof(System.String) }, Selector="documentInteractionController:willBeginSendingToApplication:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidDismissOpenInMenu", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentInteractionController) }, Selector="documentInteractionControllerDidDismissOpenInMenu:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidDismissOptionsMenu", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentInteractionController) }, Selector="documentInteractionControllerDidDismissOptionsMenu:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidEndPreview", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentInteractionController) }, Selector="documentInteractionControllerDidEndPreview:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="RectangleForPreview", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentInteractionController) }, ReturnType=typeof(CoreGraphics.CGRect), Selector="documentInteractionControllerRectForPreview:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ViewControllerForPreview", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentInteractionController) }, ReturnType=typeof(UIKit.UIViewController), Selector="documentInteractionControllerViewControllerForPreview:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ViewForPreview", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentInteractionController) }, ReturnType=typeof(UIKit.UIView), Selector="documentInteractionControllerViewForPreview:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillBeginPreview", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentInteractionController) }, Selector="documentInteractionControllerWillBeginPreview:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillPresentOpenInMenu", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentInteractionController) }, Selector="documentInteractionControllerWillPresentOpenInMenu:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillPresentOptionsMenu", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentInteractionController) }, Selector="documentInteractionControllerWillPresentOptionsMenu:")]
public interface IUIDocumentInteractionControllerDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UIDocumentInteractionControllerDelegate", WrapperType=typeof(UIKit.UIDocumentInteractionControllerDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CanPerformAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentInteractionController), typeof(ObjCRuntime.Selector) }, ReturnType=typeof(System.Boolean), Selector="documentInteractionController:canPerformAction:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformAction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentInteractionController), typeof(ObjCRuntime.Selector) }, ReturnType=typeof(System.Boolean), Selector="documentInteractionController:performAction:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidEndSendingToApplication", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentInteractionController), typeof(System.String) }, Selector="documentInteractionController:didEndSendingToApplication:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillBeginSendingToApplication", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentInteractionController), typeof(System.String) }, Selector="documentInteractionController:willBeginSendingToApplication:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidDismissOpenInMenu", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentInteractionController) }, Selector="documentInteractionControllerDidDismissOpenInMenu:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidDismissOptionsMenu", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentInteractionController) }, Selector="documentInteractionControllerDidDismissOptionsMenu:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidEndPreview", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentInteractionController) }, Selector="documentInteractionControllerDidEndPreview:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="RectangleForPreview", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentInteractionController) }, ReturnType=typeof(CoreGraphics.CGRect), Selector="documentInteractionControllerRectForPreview:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ViewControllerForPreview", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentInteractionController) }, ReturnType=typeof(UIKit.UIViewController), Selector="documentInteractionControllerViewControllerForPreview:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ViewForPreview", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentInteractionController) }, ReturnType=typeof(UIKit.UIView), Selector="documentInteractionControllerViewForPreview:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillBeginPreview", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentInteractionController) }, Selector="documentInteractionControllerWillBeginPreview:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillPresentOpenInMenu", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentInteractionController) }, Selector="documentInteractionControllerWillPresentOpenInMenu:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillPresentOptionsMenu", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIDocumentInteractionController) }, Selector="documentInteractionControllerWillPresentOptionsMenu:")>]
type IUIDocumentInteractionControllerDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

Application developers can override methods in this class in order to support different types of interaction with files on the device.

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
CanPerformAction(UIDocumentInteractionController, Selector)

Developers should not use this deprecated method, which determines whether the specified controller should support the specified action.

DidDismissOpenInMenu(UIDocumentInteractionController)

Indicates that the controller has dismissed its "Open In..." menu.

DidDismissOptionsMenu(UIDocumentInteractionController)

Indicates that the controller has dismissed its "Options" menu.

DidEndPreview(UIDocumentInteractionController)

Indicates that the controller has ended its document preview.

DidEndSendingToApplication(UIDocumentInteractionController, String)

Indicates that the controller's document has been handed off to the specified application.

PerformAction(UIDocumentInteractionController, Selector)

Developers should not use this deprecated method.

RectangleForPreview(UIDocumentInteractionController)

The RectangleF used as the starting point for animating the display of a document preview.

ViewControllerForPreview(UIDocumentInteractionController)

The UIViewController that provides the document preview.

ViewForPreview(UIDocumentInteractionController)

The UIView to use as the starting point for the animation preview. If null, the preview fades into place.

WillBeginPreview(UIDocumentInteractionController)

Indicates that document preview is about to start.

WillBeginSendingToApplication(UIDocumentInteractionController, String)

Indicates that the controller's document is about to be handed off to the specified application.

WillPresentOpenInMenu(UIDocumentInteractionController)

Indicates that the "Open In..." menu is about to be presented to the app user.

WillPresentOptionsMenu(UIDocumentInteractionController)

Indicates that the "Options" menu is about to be presented to the app user.

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
CanPerformAction(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController, Selector)

Developers should not use this deprecated method, which determines whether the specified controller should support the specified action.

DidDismissOpenInMenu(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

Indicates that the controller has dismissed its "Open In..." menu.

DidDismissOptionsMenu(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

Indicates that the controller has dismissed its "Options" menu.

DidEndPreview(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

Indicates that the controller has ended its document preview.

DidEndSendingToApplication(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController, String)

Indicates that the controller's document has been handed off to the specified application.

PerformAction(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController, Selector)

Developers should not use this deprecated method.

RectangleForPreview(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

The RectangleF used as the starting point for animating the display of a document preview.

ViewControllerForPreview(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

The UIViewController that provides the document preview.

ViewForPreview(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

The UIView to use as the starting point for the animation preview. If null, the preview fades into place.

WillBeginPreview(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

Indicates that document preview is about to start.

WillBeginSendingToApplication(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController, String)

Indicates that the controller's document is about to be handed off to the specified application.

WillPresentOpenInMenu(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

Indicates that the "Open In..." menu is about to be presented to the app user.

WillPresentOptionsMenu(IUIDocumentInteractionControllerDelegate, UIDocumentInteractionController)

Indicates that the "Options" menu is about to be presented to the app user.

Applies to

See also