net9.0-ios17.2
namespace UIKit
{
    [Protocol(Name = "UIDragInteractionDelegate", WrapperType = typeof(UIDragInteractionDelegateWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillAnimateLift", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(IUIDragAnimating), typeof(IUIDragSession) }, Selector = "dragInteraction:willAnimateLiftWithAnimator:session:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SessionWillBegin", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(IUIDragSession) }, Selector = "dragInteraction:sessionWillBegin:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SessionDidMove", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(IUIDragSession) }, Selector = "dragInteraction:sessionDidMove:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SessionWillEnd", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(IUIDragSession), typeof(UIDropOperation) }, Selector = "dragInteraction:session:willEndWithOperation:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SessionDidEnd", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(IUIDragSession), typeof(UIDropOperation) }, Selector = "dragInteraction:session:didEndWithOperation:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SessionDidTransferItems", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(IUIDragSession) }, Selector = "dragInteraction:sessionDidTransferItems:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillAddItems", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(IUIDragSession), typeof(UIDragItem[]), typeof(UIDragInteraction) }, Selector = "dragInteraction:session:willAddItems:forInteraction:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillAnimateCancel", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(UIDragItem), typeof(IUIDragAnimating) }, Selector = "dragInteraction:item:willAnimateCancelWithAnimator:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetItemsForBeginningSession", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(IUIDragSession) }, ReturnType = typeof(UIDragItem[]), Selector = "dragInteraction:itemsForBeginningSession:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetPreviewForLiftingItem", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(UIDragItem), typeof(IUIDragSession) }, ReturnType = typeof(UITargetedDragPreview), Selector = "dragInteraction:previewForLiftingItem:session:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SessionAllowsMoveOperation", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(IUIDragSession) }, ReturnType = typeof(bool), Selector = "dragInteraction:sessionAllowsMoveOperation:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SessionIsRestrictedToDraggingApplication", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(IUIDragSession) }, ReturnType = typeof(bool), Selector = "dragInteraction:sessionIsRestrictedToDraggingApplication:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "PrefersFullSizePreviews", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(IUIDragSession) }, ReturnType = typeof(bool), Selector = "dragInteraction:prefersFullSizePreviewsForSession:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetItemsForAddingToSession", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(IUIDragSession), typeof(CGPoint) }, ReturnType = typeof(UIDragItem[]), Selector = "dragInteraction:itemsForAddingToSession:withTouchAtPoint:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetSessionForAddingItems", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(IUIDragSession[]), typeof(CGPoint) }, ReturnType = typeof(IUIDragSession), Selector = "dragInteraction:sessionForAddingItems:withTouchAtPoint:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetPreviewForCancellingItem", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(UIDragItem), typeof(UITargetedDragPreview) }, ReturnType = typeof(UITargetedDragPreview), Selector = "dragInteraction:previewForCancellingItem:withDefault:")]
    [SupportedOSPlatform("maccatalyst")]
    [SupportedOSPlatform("ios")]
    [UnsupportedOSPlatform("tvos")]
    public interface IUIDragInteractionDelegate : INativeObject, IDisposable
    {
        [BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
        [Export("dragInteraction:itemsForBeginningSession:")]
        [Preserve(Conditional = true)]
        UIDragItem![]! GetItemsForBeginningSession(UIDragInteraction! interaction, IUIDragSession! session);
    }
}
Assembly Microsoft.iOS , Version=17.0.0.0, PublicKeyToken=84e04ff9cfb79065
.NET 6.07.08.09.0
Platform Specific Frameworks
net9.0-ios 10.010.110.210.311.011.111.211.311.412.012.112.212.312.413.013.113.213.313.413.513.614.014.114.214.314.414.515.015.215.416.016.116.216.417.017.2
net9.0-maccatalyst 13.113.213.313.413.514.214.314.414.515.015.215.416.116.216.417.017.2
Platform Restrictions

For the selected framework this API is only supported on the following OS platforms:

  • iOS
  • Mac Catalyst
  • tvOS
  • Built-in API
  • Package-provided API

05/02/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙