Class AVPlayerLayer

All Implemented Interfaces:
CAMediaTiming, NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class AVPlayerLayer
extends CALayer
  • Constructor Details

    • AVPlayerLayer

      public AVPlayerLayer()
    • AVPlayerLayer

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

      protected AVPlayerLayer​(NSObject.SkipInit skipInit)
    • AVPlayerLayer

      public AVPlayerLayer​(AVPlayer player)
    • AVPlayerLayer

      public AVPlayerLayer​(CALayer layer)
  • Method Details

    • getPlayer

      public AVPlayer getPlayer()
    • setPlayer

      public void setPlayer​(AVPlayer v)
    • getVideoGravity

      public AVLayerVideoGravity getVideoGravity()
    • setVideoGravity

      public void setVideoGravity​(AVLayerVideoGravity v)
    • isReadyForDisplay

      public boolean isReadyForDisplay()
    • getVideoRect

      public CGRect getVideoRect()
    • getPixelBufferAttributes

      public CVPixelBufferAttributes getPixelBufferAttributes()
      Since:
      Available in iOS 9.0 and later.
    • setPixelBufferAttributes

      public void setPixelBufferAttributes​(CVPixelBufferAttributes v)
      Since:
      Available in iOS 9.0 and later.
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • create

      protected static long create​(AVPlayer player)
    • getDefaultValue

      public static NSObject getDefaultValue​(String key)
    • needsDisplay

      public static boolean needsDisplay​(String key)
    • cornerCurveExpansionFactor

      public static double cornerCurveExpansionFactor​(CALayerCornerCurve curve)
      Since:
      Available in iOS 13.0 and later.
    • getDefaultAction

      public static CAAction getDefaultAction​(String event)