Share via


IUIDragInteractionDelegate.GetSessionForAddingItems Method

Definition

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

[Foundation.Export("dragInteraction:sessionForAddingItems:withTouchAtPoint:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.IUIDragSession? GetSessionForAddingItems(UIKit.UIDragInteraction interaction, UIKit.IUIDragSession[] sessions, CoreGraphics.CGPoint point);
[<Foundation.Export("dragInteraction:sessionForAddingItems:withTouchAtPoint:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetSessionForAddingItems : UIKit.UIDragInteraction * UIKit.IUIDragSession[] * CoreGraphics.CGPoint -> UIKit.IUIDragSession
override this.GetSessionForAddingItems : UIKit.UIDragInteraction * UIKit.IUIDragSession[] * CoreGraphics.CGPoint -> UIKit.IUIDragSession

Parameters

interaction
UIDragInteraction

The interaction that is making the request.

sessions
IUIDragSession[]

The sessions from which to choose.

point
CGPoint

The touch point in the view's coordinate system.

Returns

Attributes

Applies to