Share via


IUIDropInteractionDelegate Interface

Definition

Delegate object for a drop interaction.

[Foundation.Protocol(Name="UIDropInteractionDelegate", WrapperType=typeof(UIKit.UIDropInteractionDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CanHandleSession", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDropInteraction), typeof(UIKit.IUIDropSession) }, ReturnType=typeof(System.Boolean), Selector="dropInteraction:canHandleSession:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SessionDidEnter", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDropInteraction), typeof(UIKit.IUIDropSession) }, Selector="dropInteraction:sessionDidEnter:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SessionDidUpdate", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDropInteraction), typeof(UIKit.IUIDropSession) }, ReturnType=typeof(UIKit.UIDropProposal), Selector="dropInteraction:sessionDidUpdate:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SessionDidExit", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDropInteraction), typeof(UIKit.IUIDropSession) }, Selector="dropInteraction:sessionDidExit:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformDrop", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDropInteraction), typeof(UIKit.IUIDropSession) }, Selector="dropInteraction:performDrop:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ConcludeDrop", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDropInteraction), typeof(UIKit.IUIDropSession) }, Selector="dropInteraction:concludeDrop:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SessionDidEnd", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDropInteraction), typeof(UIKit.IUIDropSession) }, Selector="dropInteraction:sessionDidEnd:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetPreviewForDroppingItem", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDropInteraction), typeof(UIKit.UIDragItem), typeof(UIKit.UITargetedDragPreview) }, ReturnType=typeof(UIKit.UITargetedDragPreview), Selector="dropInteraction:previewForDroppingItem:withDefault:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillAnimateDrop", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDropInteraction), typeof(UIKit.UIDragItem), typeof(UIKit.IUIDragAnimating) }, Selector="dropInteraction:item:willAnimateDropWithAnimator:")]
public interface IUIDropInteractionDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UIDropInteractionDelegate", WrapperType=typeof(UIKit.UIDropInteractionDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CanHandleSession", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDropInteraction), typeof(UIKit.IUIDropSession) }, ReturnType=typeof(System.Boolean), Selector="dropInteraction:canHandleSession:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SessionDidEnter", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDropInteraction), typeof(UIKit.IUIDropSession) }, Selector="dropInteraction:sessionDidEnter:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SessionDidUpdate", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDropInteraction), typeof(UIKit.IUIDropSession) }, ReturnType=typeof(UIKit.UIDropProposal), Selector="dropInteraction:sessionDidUpdate:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SessionDidExit", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDropInteraction), typeof(UIKit.IUIDropSession) }, Selector="dropInteraction:sessionDidExit:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformDrop", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDropInteraction), typeof(UIKit.IUIDropSession) }, Selector="dropInteraction:performDrop:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ConcludeDrop", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDropInteraction), typeof(UIKit.IUIDropSession) }, Selector="dropInteraction:concludeDrop:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SessionDidEnd", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDropInteraction), typeof(UIKit.IUIDropSession) }, Selector="dropInteraction:sessionDidEnd:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetPreviewForDroppingItem", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDropInteraction), typeof(UIKit.UIDragItem), typeof(UIKit.UITargetedDragPreview) }, ReturnType=typeof(UIKit.UITargetedDragPreview), Selector="dropInteraction:previewForDroppingItem:withDefault:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillAnimateDrop", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIDropInteraction), typeof(UIKit.UIDragItem), typeof(UIKit.IUIDragAnimating) }, Selector="dropInteraction:item:willAnimateDropWithAnimator:")>]
type IUIDropInteractionDelegate = 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
CanHandleSession(UIDropInteraction, IUIDropSession)

Returns true if the specified interaction can handle the specified session.

ConcludeDrop(UIDropInteraction, IUIDropSession)

Method that is called after the drop is performed and all animations have completed.

GetPreviewForDroppingItem(UIDropInteraction, UIDragItem, UITargetedDragPreview)

Method that is called for each drag item to allow the developer to provide a custom preview.

PerformDrop(UIDropInteraction, IUIDropSession)

Method that is called to consume data from the item providers in the drop session.

SessionDidEnd(UIDropInteraction, IUIDropSession)

Method that is called to allow the developer to release all resources for the completed drop session.

SessionDidEnter(UIDropInteraction, IUIDropSession)

Method that is called when the user drags the drop session into the view for the drop interaction.

SessionDidExit(UIDropInteraction, IUIDropSession)

Method that is called when the user drags the drop session out of the view for the drop interaction.

SessionDidUpdate(UIDropInteraction, IUIDropSession)

Method that is called when the touch point moves into or within the view, or when drag items are added while the touch point is within the view.

WillAnimateDrop(UIDropInteraction, UIDragItem, IUIDragAnimating)

Method that is called for each visible drag item just before the drop is animated.

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
CanHandleSession(IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession)

Returns true if the specified interaction can handle the specified session.

ConcludeDrop(IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession)

Method that is called after the drop is performed and all animations have completed.

GetPreviewForDroppingItem(IUIDropInteractionDelegate, UIDropInteraction, UIDragItem, UITargetedDragPreview)

Method that is called for each drag item to allow the developer to provide a custom preview.

PerformDrop(IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession)

Method that is called to consume data from the item providers in the drop session.

SessionDidEnd(IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession)

Method that is called to allow the developer to release all resources for the completed drop session.

SessionDidEnter(IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession)

Method that is called when the user drags the drop session into the view for the drop interaction.

SessionDidExit(IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession)

Method that is called when the user drags the drop session out of the view for the drop interaction.

SessionDidUpdate(IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession)

Method that is called when the touch point moves into or within the view, or when drag items are added while the touch point is within the view.

WillAnimateDrop(IUIDropInteractionDelegate, UIDropInteraction, UIDragItem, IUIDragAnimating)

Method that is called for each visible drag item just before the drop is animated.

Applies to