Package apple.photos

Class PHAsset

    • Constructor Detail

      • PHAsset

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • alloc

        public static PHAsset alloc()
      • 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()
      • fetchAssetsWithALAssetURLsOptions

        public static PHFetchResult<? extends PHAsset> fetchAssetsWithALAssetURLsOptions​(NSArray<? extends NSURL> assetURLs,
                                                                                         PHFetchOptions options)
        assetURLs are URLs retrieved from ALAsset's ALAssetPropertyAssetURL
      • fetchAssetsWithBurstIdentifierOptions

        public static PHFetchResult<? extends PHAsset> fetchAssetsWithBurstIdentifierOptions​(java.lang.String burstIdentifier,
                                                                                             PHFetchOptions options)
      • fetchAssetsWithLocalIdentifiersOptions

        public static PHFetchResult<? extends PHAsset> fetchAssetsWithLocalIdentifiersOptions​(NSArray<java.lang.String> identifiers,
                                                                                              PHFetchOptions options)
        includes hidden assets by default
      • fetchAssetsWithOptions

        public static PHFetchResult<? extends PHAsset> fetchAssetsWithOptions​(PHFetchOptions options)
        Fetches PHAssetSourceTypeUserLibrary assets by default (use includeAssetSourceTypes option to override)
      • 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()
      • burstIdentifier

        public java.lang.String burstIdentifier()
      • burstSelectionTypes

        public long burstSelectionTypes()
      • canPerformEditOperation

        public boolean canPerformEditOperation​(long editOperation)
      • cancelContentEditingInputRequest

        public void cancelContentEditingInputRequest​(long requestID)
      • creationDate

        public NSDate creationDate()
      • duration

        public double duration()
      • isFavorite

        public boolean isFavorite()
      • isHidden

        public boolean isHidden()
        a hidden asset will be excluded from moment collections, but may still be included in other smart or regular album collections
      • mediaSubtypes

        public long mediaSubtypes()
      • mediaType

        public long mediaType()
      • modificationDate

        public NSDate modificationDate()
      • pixelHeight

        public long pixelHeight()
      • pixelWidth

        public long pixelWidth()
      • representsBurst

        public boolean representsBurst()
      • sourceType

        public long sourceType()
      • playbackStyle

        public long playbackStyle()
        Playback style describes how the asset should be presented to the user (regardless of the backing media for that asset). Use this value to choose the type of view and the appropriate APIs on the PHImageManager to display this asset