Class ALAssetRepresentation

  • All Implemented Interfaces:
    NSObject

    public class ALAssetRepresentation
    extends NSObject
    • Constructor Detail

      • ALAssetRepresentation

        protected ALAssetRepresentation​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • CGImageWithOptions

        @Deprecated
        public CGImageRef CGImageWithOptions​(NSDictionary<?,​?> options)
        Deprecated.
        This is a convenience method that returns a full resolution CGImage of the representation. It takes a dictionary of options as described for CGImageSourceCreateWithData() or CGImageSourceCreateWithURL()
      • UTI

        @Deprecated
        public java.lang.String UTI()
        Deprecated.
        Returns the representation's UTI.
      • dimensions

        @Deprecated
        public CGSize dimensions()
        Deprecated.
        Returns the dimensions of this representation. If the representation does not have valid dimensions, this method will return CGSizeZero.
      • filename

        @Deprecated
        public java.lang.String filename()
        Deprecated.
        Returns a string representing the filename of the representation on disk. For representations synced from iTunes, this will be the filename of the representation on the host.
      • fullResolutionImage

        @Deprecated
        public CGImageRef fullResolutionImage()
        Deprecated.
        This is a convenience method for -[ALAssetRepresentation CGImageWithOptions:] where options is nil.
      • fullScreenImage

        @Deprecated
        public CGImageRef fullScreenImage()
        Deprecated.
        Returns a CGImage of the representation that is appropriate for displaying full screen. The dimensions of this image will be dependent on the hardware that the application is running on and does not mean it will match the dimensions of the screen.
      • getBytesFromOffsetLengthError

        @Deprecated
        public long getBytesFromOffsetLengthError​(org.moe.natj.general.ptr.BytePtr buffer,
                                                  long offset,
                                                  long length,
                                                  org.moe.natj.general.ptr.Ptr<NSError> error)
        Deprecated.
        Copies the specified range of bytes into the buffer given by the caller. The method returns the number of bytes actually written to the buffer. The number of bytes read will be less than the requested range if the range exceeds the file's size. If an error occurs, the method returns 0 and upon return contains an NSError object that describes the problem. Pass NULL if you do not want error information.
      • metadata

        @Deprecated
        public NSDictionary<?,​?> metadata()
        Deprecated.
        Returns a dictionary of dictionaries of metadata for the representation. If the representation is one that the system cannot interpret, nil is returned.
      • orientation

        @Deprecated
        public long orientation()
        Deprecated.
        Returns the representation's orientation as defined in ALAssetOrientation.
      • scale

        @Deprecated
        public float scale()
        Deprecated.
        Returns the representation's scale.
      • size

        @Deprecated
        public long size()
        Deprecated.
        Returns the size of the file for this representation. Callers can use this to allocate buffers of the right size for -getBytes:fromOffset:length:error:
      • url

        @Deprecated
        public NSURL url()
        Deprecated.
        Returns a persistent URL uniquely identifying the representation