Package apple.assetslibrary
Class ALAssetsLibrary
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.assetslibrary.ALAssetsLibrary
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedALAssetsLibrary(org.moe.natj.general.Pointer peer)
-
Method Summary
-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static ALAssetsLibrary alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
authorizationStatus
@Deprecated public static long authorizationStatus()
Deprecated.Returns photo data authorization status for this application
-
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()
-
disableSharedPhotoStreamsSupport
@Deprecated public static void disableSharedPhotoStreamsSupport()
Deprecated.Disable retrieval and notifications for Shared Photo Streams
-
hash_static
public static long hash_static()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
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()
-
addAssetsGroupAlbumWithNameResultBlockFailureBlock
@Deprecated public void addAssetsGroupAlbumWithNameResultBlockFailureBlock(java.lang.String name, ALAssetsLibrary.Block_addAssetsGroupAlbumWithNameResultBlockFailureBlock_1 resultBlock, ALAssetsLibrary.Block_addAssetsGroupAlbumWithNameResultBlockFailureBlock_2 failureBlock)Deprecated.Add a new ALAssetsGroup to the library. The name of the ALAssetsGroup is name and the type is ALAssetsGroupAlbum. The editable property of this ALAssetsGroup returns YES. If name conflicts with another ALAssetsGroup with the same name, then the group is not created and the result block returns a nil group. When the ALAssetsGroup is added, the user may be asked to confirm the application's access to the data. If the user denies access to the application or if no application is allowed to access the data, the failure block will be called. If the data is currently unavailable, the failure block will be called.
-
assetForURLResultBlockFailureBlock
@Deprecated public void assetForURLResultBlockFailureBlock(NSURL assetURL, ALAssetsLibrary.Block_assetForURLResultBlockFailureBlock_1 resultBlock, ALAssetsLibrary.Block_assetForURLResultBlockFailureBlock_2 failureBlock)
Deprecated.Returns an ALAsset object in the result block for a URL previously retrieved from an ALAsset object. When the ALAsset is requested, the user may be asked to confirm the application's access to the data. If the user denies access to the application or if no application is allowed to access the data, the failure block will be called. If the data is currently unavailable, the failure block will be called.
-
enumerateGroupsWithTypesUsingBlockFailureBlock
@Deprecated public void enumerateGroupsWithTypesUsingBlockFailureBlock(long types, ALAssetsLibrary.Block_enumerateGroupsWithTypesUsingBlockFailureBlock_1 enumerationBlock, ALAssetsLibrary.Block_enumerateGroupsWithTypesUsingBlockFailureBlock_2 failureBlock)Deprecated.Get the list of groups that match the given types. Multiple types can be ORed together. The results are passed one by one to the caller by executing the enumeration block. When the enumeration is done, 'enumerationBlock' will be called with group set to nil. When groups are enumerated, the user may be asked to confirm the application's access to the data. If the user denies access to the application or if no application is allowed to access the data, the failure block will be called. If the data is currently unavailable, the failure block will be called.
-
groupForURLResultBlockFailureBlock
@Deprecated public void groupForURLResultBlockFailureBlock(NSURL groupURL, ALAssetsLibrary.Block_groupForURLResultBlockFailureBlock_1 resultBlock, ALAssetsLibrary.Block_groupForURLResultBlockFailureBlock_2 failureBlock)
Deprecated.Returns an ALAssetsGroup object in the result block for a URL previously retrieved from an ALAssetsGroup object. When the ALAssetsGroup is requested, the user may be asked to confirm the application's access to the data. If the user denies access to the application or if no application is allowed to access the data, the failure block will be called. If the data is currently unavailable, the failure block will be called.
-
init
public ALAssetsLibrary init()
-
videoAtPathIsCompatibleWithSavedPhotosAlbum
@Deprecated public boolean videoAtPathIsCompatibleWithSavedPhotosAlbum(NSURL videoPathURL)
Deprecated.
-
writeImageDataToSavedPhotosAlbumMetadataCompletionBlock
@Deprecated public void writeImageDataToSavedPhotosAlbumMetadataCompletionBlock(NSData imageData, NSDictionary<?,?> metadata, ALAssetsLibrary.Block_writeImageDataToSavedPhotosAlbumMetadataCompletionBlock completionBlock)
Deprecated.If there is a conflict between the metadata in the image data and the metadata dictionary, the image data metadata values will be overwritten
-
writeImageToSavedPhotosAlbumMetadataCompletionBlock
@Deprecated public void writeImageToSavedPhotosAlbumMetadataCompletionBlock(CGImageRef imageRef, NSDictionary<?,?> metadata, ALAssetsLibrary.Block_writeImageToSavedPhotosAlbumMetadataCompletionBlock completionBlock)
Deprecated.The API user will have to specify the orientation key in the metadata dictionary to preserve the orientation of the image
-
writeImageToSavedPhotosAlbumOrientationCompletionBlock
@Deprecated public void writeImageToSavedPhotosAlbumOrientationCompletionBlock(CGImageRef imageRef, long orientation, ALAssetsLibrary.Block_writeImageToSavedPhotosAlbumOrientationCompletionBlock completionBlock)
Deprecated.With a UIImage, the API user can use -[UIImage CGImage] to get a CGImageRef, and cast -[UIImage imageOrientation] to ALAssetOrientation.
-
writeVideoAtPathToSavedPhotosAlbumCompletionBlock
@Deprecated public void writeVideoAtPathToSavedPhotosAlbumCompletionBlock(NSURL videoPathURL, ALAssetsLibrary.Block_writeVideoAtPathToSavedPhotosAlbumCompletionBlock completionBlock)
Deprecated.
-
-