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 PHAsset allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

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

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

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

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

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

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

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

        @NotNull
        public static @NotNull PHFetchResult<? extends PHAsset> fetchAssetsInAssetCollectionOptions​(@NotNull
                                                                                                    @NotNull PHAssetCollection assetCollection,
                                                                                                    @Nullable
                                                                                                    @Nullable PHFetchOptions options)
        API-Since: 8.0
      • fetchAssetsWithALAssetURLsOptions

        @NotNull
        @Deprecated
        public static @NotNull PHFetchResult<? extends PHAsset> fetchAssetsWithALAssetURLsOptions​(@NotNull
                                                                                                  @NotNull NSArray<? extends NSURL> assetURLs,
                                                                                                  @Nullable
                                                                                                  @Nullable PHFetchOptions options)
        Deprecated.
        assetURLs are URLs retrieved from ALAsset's ALAssetPropertyAssetURL API-Since: 8.0 Deprecated-Since: 11.0 Deprecated-Message: Will be removed in a future release
      • fetchAssetsWithBurstIdentifierOptions

        @NotNull
        public static @NotNull PHFetchResult<? extends PHAsset> fetchAssetsWithBurstIdentifierOptions​(@NotNull
                                                                                                      @NotNull java.lang.String burstIdentifier,
                                                                                                      @Nullable
                                                                                                      @Nullable PHFetchOptions options)
        API-Since: 8.0
      • fetchAssetsWithLocalIdentifiersOptions

        @NotNull
        public static @NotNull PHFetchResult<? extends PHAsset> fetchAssetsWithLocalIdentifiersOptions​(@NotNull
                                                                                                       @NotNull NSArray<java.lang.String> identifiers,
                                                                                                       @Nullable
                                                                                                       @Nullable PHFetchOptions options)
        includes hidden assets by default API-Since: 8.0
      • fetchAssetsWithMediaTypeOptions

        @NotNull
        public static @NotNull PHFetchResult<? extends PHAsset> fetchAssetsWithMediaTypeOptions​(long mediaType,
                                                                                                @Nullable
                                                                                                @Nullable PHFetchOptions options)
        API-Since: 8.0
      • fetchAssetsWithOptions

        @NotNull
        public static @NotNull PHFetchResult<? extends PHAsset> fetchAssetsWithOptions​(@Nullable
                                                                                       @Nullable PHFetchOptions options)
        Fetches PHAssetSourceTypeUserLibrary assets by default (use includeAssetSourceTypes option to override) API-Since: 8.0
      • fetchKeyAssetsInAssetCollectionOptions

        @Nullable
        public static @Nullable PHFetchResult<? extends PHAsset> fetchKeyAssetsInAssetCollectionOptions​(@NotNull
                                                                                                        @NotNull PHAssetCollection assetCollection,
                                                                                                        @Nullable
                                                                                                        @Nullable PHFetchOptions options)
        API-Since: 8.0
      • 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

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

        public static PHAsset 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

        @Nullable
        public @Nullable java.lang.String burstIdentifier()
        API-Since: 8.0
      • burstSelectionTypes

        public long burstSelectionTypes()
        API-Since: 8.0
      • canPerformEditOperation

        public boolean canPerformEditOperation​(long editOperation)
        API-Since: 8.0
      • cancelContentEditingInputRequest

        public void cancelContentEditingInputRequest​(long requestID)
        API-Since: 8.0
      • creationDate

        @Nullable
        public @Nullable NSDate creationDate()
        API-Since: 8.0
      • duration

        public double duration()
        API-Since: 8.0
      • isFavorite

        public boolean isFavorite()
        API-Since: 8.0
      • 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 API-Since: 8.0
      • location

        @Nullable
        public @Nullable CLLocation location()
        API-Since: 8.0
      • mediaSubtypes

        public long mediaSubtypes()
        API-Since: 8.0
      • mediaType

        public long mediaType()
        API-Since: 8.0
      • modificationDate

        @Nullable
        public @Nullable NSDate modificationDate()
        API-Since: 8.0
      • pixelHeight

        public long pixelHeight()
        API-Since: 8.0
      • pixelWidth

        public long pixelWidth()
        API-Since: 8.0
      • representsBurst

        public boolean representsBurst()
        API-Since: 8.0
      • sourceType

        public long sourceType()
        API-Since: 9.0
      • 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 API-Since: 11.0
      • adjustmentFormatIdentifier

        @Nullable
        public @Nullable java.lang.String adjustmentFormatIdentifier()
        only applies to adjusted assets API-Since: 15.0
      • hasAdjustments

        public boolean hasAdjustments()
        API-Since: 15.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.