Class PHLivePhotoView

All Implemented Interfaces:
CALayerDelegate, NSCoding, NSObjectProtocol, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIResponderStandardEditActions, UITraitEnvironment, UIUserActivityRestoring, ObjCProtocol

public class PHLivePhotoView
extends UIView
Since:
Available in iOS 9.1 and later.
  • Constructor Details

    • PHLivePhotoView

      public PHLivePhotoView()
    • PHLivePhotoView

      protected PHLivePhotoView​(NSObject.Handle h, long handle)
    • PHLivePhotoView

      protected PHLivePhotoView​(NSObject.SkipInit skipInit)
    • PHLivePhotoView

      public PHLivePhotoView​(CGRect frame)
    • PHLivePhotoView

      public PHLivePhotoView​(NSCoder coder)
  • Method Details

    • getDelegate

      public PHLivePhotoViewDelegate getDelegate()
      Since:
      Available in iOS 9.1 and later.
    • setDelegate

      public void setDelegate​(PHLivePhotoViewDelegate v)
      Since:
      Available in iOS 9.1 and later.
    • getLivePhoto

      public PHLivePhoto getLivePhoto()
      Since:
      Available in iOS 9.1 and later.
    • setLivePhoto

      public void setLivePhoto​(PHLivePhoto v)
      Since:
      Available in iOS 9.1 and later.
    • isMuted

      public boolean isMuted()
      Since:
      Available in iOS 9.1 and later.
    • setMuted

      public void setMuted​(boolean v)
      Since:
      Available in iOS 9.1 and later.
    • getPlaybackGestureRecognizer

      public UIGestureRecognizer getPlaybackGestureRecognizer()
      Since:
      Available in iOS 9.1 and later.
    • getLayerClass

      public static Class<? extends CALayer> getLayerClass()
    • startPlayback

      public void startPlayback​(PHLivePhotoViewPlaybackStyle playbackStyle)
      Since:
      Available in iOS 9.1 and later.
    • stopPlayback

      public void stopPlayback()
      Since:
      Available in iOS 9.1 and later.
    • createLivePhotoBadgeImage

      public static UIImage createLivePhotoBadgeImage​(PHLivePhotoBadgeOptions badgeOptions)
      Since:
      Available in iOS 9.1 and later.
    • getUserInterfaceLayoutDirection

      public static UIUserInterfaceLayoutDirection getUserInterfaceLayoutDirection​(UISemanticContentAttribute attribute)
      Since:
      Available in iOS 9.0 and later.
    • getUserInterfaceLayoutDirection

      public static UIUserInterfaceLayoutDirection getUserInterfaceLayoutDirection​(UISemanticContentAttribute semanticContentAttribute, UIUserInterfaceLayoutDirection layoutDirection)
      Since:
      Available in iOS 10.0 and later.