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
,org.robovm.objc.ObjCProtocol
public class PHAssetCollection extends PHCollection
- Since:
- Available in iOS 8.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PHAssetCollection.PHAssetCollectionPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.photos.PHCollection
PHCollection.PHCollectionPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.photos.PHObject
PHObject.PHObjectPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description PHAssetCollection()
PHAssetCollection(NSArray<PHAsset> assets, java.lang.String title)
protected
PHAssetCollection(NSObject.Handle h, long handle)
protected
PHAssetCollection(NSObject.SkipInit skipInit)
PHAssetCollection(PHFetchResult<PHAsset> fetchResult, java.lang.String title)
-
Method Summary
-
Methods inherited from class org.robovm.apple.photos.PHCollection
canContainAssets, canContainCollections, canPerformEditOperation, fetchCollectionsInCollectionList, fetchTopLevelUserCollections, getLocalizedTitle
-
Methods inherited from class org.robovm.apple.photos.PHObject
getLocalIdentifier
-
Methods 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, willChangeValues
-
-
-
-
Constructor Detail
-
PHAssetCollection
public PHAssetCollection()
-
PHAssetCollection
protected PHAssetCollection(NSObject.Handle h, long handle)
-
PHAssetCollection
protected PHAssetCollection(NSObject.SkipInit skipInit)
-
PHAssetCollection
public PHAssetCollection(PHFetchResult<PHAsset> fetchResult, java.lang.String title)
-
-
Method Detail
-
getAssetCollectionType
public PHAssetCollectionType getAssetCollectionType()
-
getAssetCollectionSubtype
public PHAssetCollectionSubtype getAssetCollectionSubtype()
-
getEstimatedAssetCount
public long getEstimatedAssetCount()
-
getStartDate
public NSDate getStartDate()
-
getEndDate
public NSDate getEndDate()
-
getApproximateLocation
public CLLocation getApproximateLocation()
-
getLocalizedLocationNames
public java.util.List<java.lang.String> getLocalizedLocationNames()
-
fetchAssetCollectionsWithLocalIdentifiers
public static PHFetchResult<PHAssetCollection> fetchAssetCollectionsWithLocalIdentifiers(java.util.List<java.lang.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
public static PHFetchResult<PHAssetCollection> fetchMomentsInMomentList(PHCollectionList momentList, PHFetchOptions options)
-
fetchMoments
public static PHFetchResult<PHAssetCollection> fetchMoments(PHFetchOptions options)
-
createTransientAssetCollection
protected static long createTransientAssetCollection(NSArray<PHAsset> assets, java.lang.String title)
-
createTransientAssetCollection
protected static long createTransientAssetCollection(PHFetchResult<PHAsset> fetchResult, java.lang.String title)
-
-