Share via


IUIDragInteractionDelegate.GetItemsForBeginningSession Method

Definition

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

[Foundation.Export("dragInteraction:itemsForBeginningSession:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UIDragItem[] GetItemsForBeginningSession(UIKit.UIDragInteraction interaction, UIKit.IUIDragSession session);
[<Foundation.Export("dragInteraction:itemsForBeginningSession:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetItemsForBeginningSession : UIKit.UIDragInteraction * UIKit.IUIDragSession -> UIKit.UIDragItem[]
override this.GetItemsForBeginningSession : UIKit.UIDragInteraction * UIKit.IUIDragSession -> UIKit.UIDragItem[]

Parameters

interaction
UIDragInteraction

The interaction that is making the request.

session
IUIDragSession

The drag session to add initial items to.

Returns

Attributes

Applies to