Package apple.uikit.protocol
Interface UIPreviewInteractionDelegate
-
public interface UIPreviewInteractionDelegate
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidpreviewInteractionDidCancel(UIPreviewInteraction previewInteraction)default voidpreviewInteractionDidUpdateCommitTransitionEnded(UIPreviewInteraction previewInteraction, double transitionProgress, boolean ended)If implemented, a preview interaction will also trigger haptic feedback when detecting a commit (pop).voidpreviewInteractionDidUpdatePreviewTransitionEnded(UIPreviewInteraction previewInteraction, double transitionProgress, boolean ended)transitionProgress ranges from 0 to 1default booleanpreviewInteractionShouldBegin(UIPreviewInteraction previewInteraction)
-
-
-
Method Detail
-
previewInteractionDidUpdateCommitTransitionEnded
default void previewInteractionDidUpdateCommitTransitionEnded(UIPreviewInteraction previewInteraction, double transitionProgress, boolean ended)
If implemented, a preview interaction will also trigger haptic feedback when detecting a commit (pop). The provided transitionProgress ranges from 0 to 1.
-
previewInteractionDidUpdatePreviewTransitionEnded
void previewInteractionDidUpdatePreviewTransitionEnded(UIPreviewInteraction previewInteraction, double transitionProgress, boolean ended)
transitionProgress ranges from 0 to 1
-
previewInteractionDidCancel
void previewInteractionDidCancel(UIPreviewInteraction previewInteraction)
-
previewInteractionShouldBegin
default boolean previewInteractionShouldBegin(UIPreviewInteraction previewInteraction)
-
-