IUIDragInteractionDelegate IUIDragInteractionDelegate Interface

Definition

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

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

Remarks

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

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

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

Methods

GetItemsForBeginningSession(UIDragInteraction, IUIDragSession) GetItemsForBeginningSession(UIDragInteraction, IUIDragSession)

Method that is called to get the items that will begin a drag interaction.

Properties

Handle Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Extension Methods

GetItemsForAddingToSession(IUIDragInteractionDelegate, UIDragInteraction, IUIDragSession, CGPoint) GetItemsForAddingToSession(IUIDragInteractionDelegate, UIDragInteraction, IUIDragSession, CGPoint)

Method that is called to add drag items to a drag session in response to a gesture by the user.

GetPreviewForCancellingItem(IUIDragInteractionDelegate, UIDragInteraction, UIDragItem, UITargetedDragPreview) GetPreviewForCancellingItem(IUIDragInteractionDelegate, UIDragInteraction, UIDragItem, UITargetedDragPreview)

Method that is called for each visible item in a drag session when the user cancels the drag session.

GetPreviewForLiftingItem(IUIDragInteractionDelegate, UIDragInteraction, UIDragItem, IUIDragSession) GetPreviewForLiftingItem(IUIDragInteractionDelegate, UIDragInteraction, UIDragItem, IUIDragSession)

Method that is called to get a targeted drag preview for animating the lift.

GetSessionForAddingItems(IUIDragInteractionDelegate, UIDragInteraction, IUIDragSession[], CGPoint) GetSessionForAddingItems(IUIDragInteractionDelegate, UIDragInteraction, IUIDragSession[], CGPoint)

Method that is called to disambiguate to which session to add items when multiple sessions are active.

PrefersFullSizePreviews(IUIDragInteractionDelegate, UIDragInteraction, IUIDragSession) PrefersFullSizePreviews(IUIDragInteractionDelegate, UIDragInteraction, IUIDragSession)

Method that is called to find out whether the application prefers full size previews in the source view.

SessionAllowsMoveOperation(IUIDragInteractionDelegate, UIDragInteraction, IUIDragSession) SessionAllowsMoveOperation(IUIDragInteractionDelegate, UIDragInteraction, IUIDragSession)

Method that is called to find out if the session allows items to be moved, instead of copied.

SessionDidEnd(IUIDragInteractionDelegate, UIDragInteraction, IUIDragSession, UIDropOperation) SessionDidEnd(IUIDragInteractionDelegate, UIDragInteraction, IUIDragSession, UIDropOperation)

Method that is called when the drag session ends.

SessionDidMove(IUIDragInteractionDelegate, UIDragInteraction, IUIDragSession) SessionDidMove(IUIDragInteractionDelegate, UIDragInteraction, IUIDragSession)

Method that is called when the drag point moves.

SessionDidTransferItems(IUIDragInteractionDelegate, UIDragInteraction, IUIDragSession) SessionDidTransferItems(IUIDragInteractionDelegate, UIDragInteraction, IUIDragSession)

Method that is called after the dropped items have been received.

SessionIsRestrictedToDraggingApplication(IUIDragInteractionDelegate, UIDragInteraction, IUIDragSession) SessionIsRestrictedToDraggingApplication(IUIDragInteractionDelegate, UIDragInteraction, IUIDragSession)

Method that is called to find out if the application only supports drag and drop operations to and from itself.

SessionWillBegin(IUIDragInteractionDelegate, UIDragInteraction, IUIDragSession) SessionWillBegin(IUIDragInteractionDelegate, UIDragInteraction, IUIDragSession)

Method that is called when a session is about to begin.

SessionWillEnd(IUIDragInteractionDelegate, UIDragInteraction, IUIDragSession, UIDropOperation) SessionWillEnd(IUIDragInteractionDelegate, UIDragInteraction, IUIDragSession, UIDropOperation)

Method that is called when a session is about to end.

WillAddItems(IUIDragInteractionDelegate, UIDragInteraction, IUIDragSession, UIDragItem[], UIDragInteraction) WillAddItems(IUIDragInteractionDelegate, UIDragInteraction, IUIDragSession, UIDragItem[], UIDragInteraction)

Method that is called when items are about to be added to the session.

WillAnimateCancel(IUIDragInteractionDelegate, UIDragInteraction, UIDragItem, IUIDragAnimating) WillAnimateCancel(IUIDragInteractionDelegate, UIDragInteraction, UIDragItem, IUIDragAnimating)

Method that is called before the animation of each item in a cancellation begins.

WillAnimateLift(IUIDragInteractionDelegate, UIDragInteraction, IUIDragAnimating, IUIDragSession) WillAnimateLift(IUIDragInteractionDelegate, UIDragInteraction, IUIDragAnimating, IUIDragSession)

Method that is called before each item with a lift preview is about to lift.

Applies to