pub unsafe trait UIDropInteractionDelegate: NSObjectProtocol + MainThreadOnly {
// Provided methods
unsafe fn dropInteraction_canHandleSession(
&self,
interaction: &UIDropInteraction,
session: &ProtocolObject<dyn UIDropSession>,
) -> bool
where Self: Sized + Message { ... }
unsafe fn dropInteraction_sessionDidEnter(
&self,
interaction: &UIDropInteraction,
session: &ProtocolObject<dyn UIDropSession>,
)
where Self: Sized + Message { ... }
unsafe fn dropInteraction_sessionDidUpdate(
&self,
interaction: &UIDropInteraction,
session: &ProtocolObject<dyn UIDropSession>,
) -> Retained<UIDropProposal>
where Self: Sized + Message { ... }
unsafe fn dropInteraction_sessionDidExit(
&self,
interaction: &UIDropInteraction,
session: &ProtocolObject<dyn UIDropSession>,
)
where Self: Sized + Message { ... }
unsafe fn dropInteraction_performDrop(
&self,
interaction: &UIDropInteraction,
session: &ProtocolObject<dyn UIDropSession>,
)
where Self: Sized + Message { ... }
unsafe fn dropInteraction_concludeDrop(
&self,
interaction: &UIDropInteraction,
session: &ProtocolObject<dyn UIDropSession>,
)
where Self: Sized + Message { ... }
unsafe fn dropInteraction_sessionDidEnd(
&self,
interaction: &UIDropInteraction,
session: &ProtocolObject<dyn UIDropSession>,
)
where Self: Sized + Message { ... }
unsafe fn dropInteraction_previewForDroppingItem_withDefault(
&self,
interaction: &UIDropInteraction,
item: &UIDragItem,
default_preview: &UITargetedDragPreview,
) -> Option<Retained<UITargetedDragPreview>>
where Self: Sized + Message { ... }
unsafe fn dropInteraction_item_willAnimateDropWithAnimator(
&self,
interaction: &UIDropInteraction,
item: &UIDragItem,
animator: &ProtocolObject<dyn UIDragAnimating>,
)
where Self: Sized + Message { ... }
}
Available on crate feature
UIDropInteraction
only.Expand description
Provided Methods§
unsafe fn dropInteraction_canHandleSession( &self, interaction: &UIDropInteraction, session: &ProtocolObject<dyn UIDropSession>, ) -> bool
Available on crate feature
UIDragSession
only.unsafe fn dropInteraction_sessionDidEnter( &self, interaction: &UIDropInteraction, session: &ProtocolObject<dyn UIDropSession>, )
Available on crate feature
UIDragSession
only.unsafe fn dropInteraction_sessionDidUpdate( &self, interaction: &UIDropInteraction, session: &ProtocolObject<dyn UIDropSession>, ) -> Retained<UIDropProposal>
Available on crate feature
UIDragSession
only.unsafe fn dropInteraction_sessionDidExit( &self, interaction: &UIDropInteraction, session: &ProtocolObject<dyn UIDropSession>, )
Available on crate feature
UIDragSession
only.unsafe fn dropInteraction_performDrop( &self, interaction: &UIDropInteraction, session: &ProtocolObject<dyn UIDropSession>, )
Available on crate feature
UIDragSession
only.unsafe fn dropInteraction_concludeDrop( &self, interaction: &UIDropInteraction, session: &ProtocolObject<dyn UIDropSession>, )
Available on crate feature
UIDragSession
only.unsafe fn dropInteraction_sessionDidEnd( &self, interaction: &UIDropInteraction, session: &ProtocolObject<dyn UIDropSession>, )
Available on crate feature
UIDragSession
only.unsafe fn dropInteraction_previewForDroppingItem_withDefault( &self, interaction: &UIDropInteraction, item: &UIDragItem, default_preview: &UITargetedDragPreview, ) -> Option<Retained<UITargetedDragPreview>>
Available on crate features
UIDragItem
and UITargetedDragPreview
and UITargetedPreview
only.unsafe fn dropInteraction_item_willAnimateDropWithAnimator( &self, interaction: &UIDropInteraction, item: &UIDragItem, animator: &ProtocolObject<dyn UIDragAnimating>, )
Available on crate features
UIDragInteraction
and UIDragItem
only.