Package org.robovm.apple.photos
Class PHAssetCollection
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.photos.PHObject
org.robovm.apple.photos.PHCollection
org.robovm.apple.photos.PHAssetCollection
- All Implemented Interfaces:
NSObjectProtocol,ObjCProtocol
public class PHAssetCollection extends PHCollection
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPHAssetCollection.PHAssetCollectionPtrNested classes/interfaces inherited from class org.robovm.apple.photos.PHCollection
PHCollection.PHCollectionPtrNested classes/interfaces inherited from class org.robovm.apple.photos.PHObject
PHObject.PHObjectPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description PHAssetCollection()PHAssetCollection(NSArray<PHAsset> assets, String title)protectedPHAssetCollection(NSObject.Handle h, long handle)protectedPHAssetCollection(NSObject.SkipInit skipInit)PHAssetCollection(PHFetchResult<PHAsset> fetchResult, String title) -
Method Summary
Methods inherited from class org.robovm.apple.photos.PHCollection
canContainAssets, canContainCollections, canPerformEditOperation, getLocalizedTitleMethods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
PHAssetCollection
public PHAssetCollection() -
PHAssetCollection
-
PHAssetCollection
-
PHAssetCollection
-
PHAssetCollection
-
-
Method Details
-
getAssetCollectionType
-
getAssetCollectionSubtype
-
getEstimatedAssetCount
public long getEstimatedAssetCount() -
getStartDate
-
getEndDate
-
getApproximateLocation
-
getLocalizedLocationNames
-
fetchAssetCollectionsWithLocalIdentifiers
public static PHFetchResult<PHAssetCollection> fetchAssetCollectionsWithLocalIdentifiers(List<String> identifiers, PHFetchOptions options) -
fetchAssetCollectionsWithType
public static PHFetchResult<PHAssetCollection> fetchAssetCollectionsWithType(PHAssetCollectionType type, PHAssetCollectionSubtype subtype, PHFetchOptions options) -
fetchAssetCollectionsContainingAsset
public static PHFetchResult<PHAssetCollection> fetchAssetCollectionsContainingAsset(PHAsset asset, PHAssetCollectionType type, PHFetchOptions options) -
fetchAssetCollectionsWithALAssetGroupURLs
public static PHFetchResult<PHAssetCollection> fetchAssetCollectionsWithALAssetGroupURLs(NSArray<NSURL> assetGroupURLs, PHFetchOptions options) -
fetchMomentsInMomentList
@Deprecated public static PHFetchResult<PHAssetCollection> fetchMomentsInMomentList(PHCollectionList momentList, PHFetchOptions options)Deprecated.Deprecated in iOS 13.0. Will be removed in a future release -
fetchMoments
Deprecated.Deprecated in iOS 13.0. Will be removed in a future release -
createTransientAssetCollection
-
createTransientAssetCollection
protected static long createTransientAssetCollection(PHFetchResult<PHAsset> fetchResult, String title) -
fetchCollectionsInCollectionList
public static PHFetchResult<PHCollection> fetchCollectionsInCollectionList(PHCollectionList collectionList, PHFetchOptions options) -
fetchTopLevelUserCollections
-