| Modifier and Type | Class and Description |
|---|---|
static interface |
PHPhotoLibrary.Block_performChangesAndWaitError |
static interface |
PHPhotoLibrary.Block_performChangesCompletionHandler_0 |
static interface |
PHPhotoLibrary.Block_performChangesCompletionHandler_1 |
static interface |
PHPhotoLibrary.Block_presentLimitedLibraryPickerFromViewControllerCompletionHandler |
static interface |
PHPhotoLibrary.Block_requestAuthorization |
static interface |
PHPhotoLibrary.Block_requestAuthorizationForAccessLevelHandler |
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
PHPhotoLibrary(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static PHPhotoLibrary |
alloc() |
static PHPhotoLibrary |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static long |
authorizationStatus()
Deprecated and replaced by authorizationStatusForAccessLevel:, will return \c PHAuthorizationStatusAuthorized if the user has chosen limited photo library access
|
static long |
authorizationStatusForAccessLevel(long accessLevel)
Replaces \c +authorizationStatus to support add-only/read-write access level status
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
NSDictionary<java.lang.String,? extends PHCloudIdentifierMapping> |
cloudIdentifierMappingsForLocalIdentifiers(NSArray<java.lang.String> localIdentifiers)
Returns a dictionary that maps each local identifier from the provided array to a PLCloudIdentifierMapping result containing the cloud identifier found for that local identifier
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
static long |
hash_static() |
PHPhotoLibrary |
init() |
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
NSDictionary<? extends PHCloudIdentifier,? extends PHLocalIdentifierMapping> |
localIdentifierMappingsForCloudIdentifiers(NSArray<? extends PHCloudIdentifier> cloudIdentifiers)
Returns a dictionary that maps each cloud identifier from the provided array to a PLLocalIdentifierMapping result containing the local identifier found for that cloud identifier.
|
static PHPhotoLibrary |
new_objc() |
boolean |
performChangesAndWaitError(PHPhotoLibrary.Block_performChangesAndWaitError changeBlock,
org.moe.natj.general.ptr.Ptr<NSError> error) |
void |
performChangesCompletionHandler(PHPhotoLibrary.Block_performChangesCompletionHandler_0 changeBlock,
PHPhotoLibrary.Block_performChangesCompletionHandler_1 completionHandler)
handlers are invoked on an arbitrary serial queue
Nesting change requests will throw an exception
|
void |
presentLimitedLibraryPickerFromViewController(UIViewController controller)
Prompt the user to update their limited library selection by presenting the limited library image picker when the user has opted into limited library access mode (see \c PHAuthorizationStatusLimited )
|
void |
presentLimitedLibraryPickerFromViewControllerCompletionHandler(UIViewController controller,
PHPhotoLibrary.Block_presentLimitedLibraryPickerFromViewControllerCompletionHandler completionHandler)
Prompt the user to update their limited library selection by presenting the limited library image picker when the user has opted into limited library access mode (see \c PHAuthorizationStatusLimited )
|
void |
registerAvailabilityObserver(PHPhotoLibraryAvailabilityObserver observer) |
void |
registerChangeObserver(PHPhotoLibraryChangeObserver observer) |
static void |
requestAuthorization(PHPhotoLibrary.Block_requestAuthorization handler) |
static void |
requestAuthorizationForAccessLevelHandler(long accessLevel,
PHPhotoLibrary.Block_requestAuthorizationForAccessLevelHandler handler) |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
static void |
setVersion_static(long aVersion) |
static PHPhotoLibrary |
sharedPhotoLibrary() |
static org.moe.natj.objc.Class |
superclass_static() |
NSError |
unavailabilityReason() |
void |
unregisterAvailabilityObserver(PHPhotoLibraryAvailabilityObserver observer) |
void |
unregisterChangeObserver(PHPhotoLibraryChangeObserver observer) |
static long |
version_static() |
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, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static PHPhotoLibrary alloc()
public static PHPhotoLibrary allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static long authorizationStatus()
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static PHPhotoLibrary new_objc()
public static void requestAuthorization(PHPhotoLibrary.Block_requestAuthorization handler)
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static PHPhotoLibrary sharedPhotoLibrary()
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public PHPhotoLibrary init()
public void performChangesCompletionHandler(PHPhotoLibrary.Block_performChangesCompletionHandler_0 changeBlock, PHPhotoLibrary.Block_performChangesCompletionHandler_1 completionHandler)
public boolean performChangesAndWaitError(PHPhotoLibrary.Block_performChangesAndWaitError changeBlock, org.moe.natj.general.ptr.Ptr<NSError> error)
public void registerChangeObserver(PHPhotoLibraryChangeObserver observer)
public void unregisterChangeObserver(PHPhotoLibraryChangeObserver observer)
public void registerAvailabilityObserver(PHPhotoLibraryAvailabilityObserver observer)
public NSError unavailabilityReason()
public void unregisterAvailabilityObserver(PHPhotoLibraryAvailabilityObserver observer)
public static long authorizationStatusForAccessLevel(long accessLevel)
public void presentLimitedLibraryPickerFromViewController(UIViewController controller)
Use this API when the user has enabled limited photo library access to present the limited library picker and give the user a way to update their selection. If the user has not enabled limited library access mode for this application, then this method will do nothing. This should be used when disabling the automatic limited library alert prompt (by adding \c PHPhotoLibraryPreventAutomaticLimitedAccessAlert = \c YES to the application's Info.plist).
Any changes applied to the limited library selection by the user will trigger a \c PHPhotoLibraryChangeObserver update that can be used to observe the changes to the selection.
controller - The view controller that is used to present the limited library picker.public static void requestAuthorizationForAccessLevelHandler(long accessLevel,
PHPhotoLibrary.Block_requestAuthorizationForAccessLevelHandler handler)
public NSDictionary<java.lang.String,? extends PHCloudIdentifierMapping> cloudIdentifierMappingsForLocalIdentifiers(NSArray<java.lang.String> localIdentifiers)
This method can be very expensive so they should be used sparingly for batch lookup of all needed identifiers. Clients should work in terms of local identifiers and call these methods only once after loading from and before saving to persistent storage. If the attempt to lookup a cloud identifier for a given local identifier fails, the error parameter will indicate the reason.
localIdentifiers - The array of \c NSString instances whose cloud identifiers are to being requested.public NSDictionary<? extends PHCloudIdentifier,? extends PHLocalIdentifierMapping> localIdentifierMappingsForCloudIdentifiers(NSArray<? extends PHCloudIdentifier> cloudIdentifiers)
This method can be very expensive so they should be used sparingly for batch lookup of all needed identifiers. Clients should work in terms of local identifiers and call these methods only once after loading from and before saving to persistent storage. If the attempt to lookup a local identifier for a given cloud identifier fails, the error parameter will indicate the reason.
cloudIdentifiers - The array of \c PHCloudIdentifier instances whose local identifiers are to being requested.public void presentLimitedLibraryPickerFromViewControllerCompletionHandler(UIViewController controller, PHPhotoLibrary.Block_presentLimitedLibraryPickerFromViewControllerCompletionHandler completionHandler)
Use this API when the user has enabled limited photo library access to present the limited library picker and give the user a way to update their selection. If the user has not enabled limited library access mode for this application, then this method will do nothing. This should be used when disabling the automatic limited library alert prompt (by adding \c PHPhotoLibraryPreventAutomaticLimitedAccessAlert = \c YES to the application's Info.plist).
In addition to being provided the new asset local identifiers in the callback any changes applied to the limited library selection by the user will trigger a \c PHPhotoLibraryChangeObserver update that can be used to observe the changes to the selection.
controller - The view controller that is used to present the limited library picker.completionHandler - The block that will be called upon the user finishing their selection. Only newly selected assets will be provided to the block.