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(@NotNull UIPreviewInteraction previewInteraction)API-Since: 10.0default voidpreviewInteractionDidUpdateCommitTransitionEnded(@NotNull UIPreviewInteraction previewInteraction, double transitionProgress, boolean ended)If implemented, a preview interaction will also trigger haptic feedback when detecting a commit (pop).voidpreviewInteractionDidUpdatePreviewTransitionEnded(@NotNull UIPreviewInteraction previewInteraction, double transitionProgress, boolean ended)transitionProgress ranges from 0 to 1 API-Since: 10.0default booleanpreviewInteractionShouldBegin(@NotNull UIPreviewInteraction previewInteraction)API-Since: 10.0
-
-
-
Method Detail
-
previewInteractionDidUpdateCommitTransitionEnded
default void previewInteractionDidUpdateCommitTransitionEnded(@NotNull @NotNull 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. API-Since: 10.0
-
previewInteractionDidUpdatePreviewTransitionEnded
void previewInteractionDidUpdatePreviewTransitionEnded(@NotNull @NotNull UIPreviewInteraction previewInteraction, double transitionProgress, boolean ended)transitionProgress ranges from 0 to 1 API-Since: 10.0
-
previewInteractionDidCancel
void previewInteractionDidCancel(@NotNull @NotNull UIPreviewInteraction previewInteraction)API-Since: 10.0
-
previewInteractionShouldBegin
default boolean previewInteractionShouldBegin(@NotNull @NotNull UIPreviewInteraction previewInteraction)API-Since: 10.0
-
-