Class MPMediaItemArtwork

  • All Implemented Interfaces:
    NSObjectProtocol, org.robovm.objc.ObjCProtocol

    public class MPMediaItemArtwork
    extends NSObject
    Since:
    Available in iOS 3.0 and later.
    • Constructor Detail

      • MPMediaItemArtwork

        protected MPMediaItemArtwork()
      • MPMediaItemArtwork

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

        public MPMediaItemArtwork​(CGSize boundsSize,
                                  org.robovm.objc.block.Block1<CGSize,​UIImage> requestHandler)
        Since:
        Available in iOS 10.0 and later.
      • MPMediaItemArtwork

        @Deprecated
        public MPMediaItemArtwork​(UIImage image)
        Deprecated.
        Deprecated in iOS 10.0. Use -initWithBoundsSize:requestHandler:
        Since:
        Available in iOS 5.0 and later.
    • Method Detail

      • getBounds

        public CGRect getBounds()
      • getImageCropRect

        @Deprecated
        public CGRect getImageCropRect()
        Deprecated.
        Deprecated in iOS 10.0. cropRect is no longer used
        Since:
        Available in iOS 3.0 and later.
      • init

        protected long init​(CGSize boundsSize,
                            org.robovm.objc.block.Block1<CGSize,​UIImage> requestHandler)
        Since:
        Available in iOS 10.0 and later.
      • init

        @Deprecated
        protected long init​(UIImage image)
        Deprecated.
        Deprecated in iOS 10.0. Use -initWithBoundsSize:requestHandler:
        Since:
        Available in iOS 5.0 and later.