Interface UIDragDropSession

All Superinterfaces:
NSObjectProtocol, ObjCProtocol
All Known Subinterfaces:
UIDragSession, UIDropSession
All Known Implementing Classes:
UIDragDropSessionAdapter, UIDragSessionAdapter, UIDropSessionAdapter

public interface UIDragDropSession
extends NSObjectProtocol
Since:
Available in iOS 11.0 and later.
  • Method Details

    • getItems

      NSArray<UIDragItem> getItems()
    • allowsMoveOperation

      boolean allowsMoveOperation()
    • isRestrictedToDraggingApplication

      boolean isRestrictedToDraggingApplication()
    • locationInView

      CGPoint locationInView​(UIView view)
    • hasItemsConformingToTypeIdentifiers

      boolean hasItemsConformingToTypeIdentifiers​(NSArray<NSString> typeIdentifiers)
    • canLoadObjectsOfClass

      boolean canLoadObjectsOfClass​(Class<?> aClass)