편집

다음을 통해 공유


IUIDropInteractionDelegate Interface

Definition

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

[Foundation.Protocol(Name="UIDropInteractionDelegate", WrapperType=typeof(UIKit.UIDropInteractionDelegateWrapper))]
[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 IUIDropInteractionDelegate : IDisposable, ObjCRuntime.INativeObject
type IUIDropInteractionDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

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

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

Optional methods (if any) are provided by the UIDropInteractionDelegate_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

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