Interface PHLivePhotoViewDelegate


  • public interface PHLivePhotoViewDelegate
    API-Since: 9.1
    • Method Detail

      • livePhotoViewDidEndPlaybackWithStyle

        default void livePhotoViewDidEndPlaybackWithStyle​(@NotNull
                                                          @NotNull PHLivePhotoView livePhotoView,
                                                          long playbackStyle)
        API-Since: 9.1
      • livePhotoViewWillBeginPlaybackWithStyle

        default void livePhotoViewWillBeginPlaybackWithStyle​(@NotNull
                                                             @NotNull PHLivePhotoView livePhotoView,
                                                             long playbackStyle)
        API-Since: 9.1
      • livePhotoViewCanBeginPlaybackWithStyle

        default boolean livePhotoViewCanBeginPlaybackWithStyle​(@NotNull
                                                               @NotNull PHLivePhotoView livePhotoView,
                                                               long playbackStyle)
        API-Since: 9.1
      • livePhotoViewExtraMinimumTouchDurationForTouchWithStyle

        default double livePhotoViewExtraMinimumTouchDurationForTouchWithStyle​(@NotNull
                                                                               @NotNull PHLivePhotoView livePhotoView,
                                                                               @NotNull
                                                                               @NotNull UITouch touch,
                                                                               long playbackStyle)
        This will be called before gestureRecognizer get touch info (point location), so we need to provide the touch to delegate to decide. API-Since: 9.1