Package org.robovm.apple.photos
Class PHAsset
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.PHAsset
- All Implemented Interfaces:
NSObjectProtocol,ObjCProtocol
public class PHAsset extends PHObject
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPHAsset.PHAssetPtrNested 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
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description PHAsset()protectedPHAsset(NSObject.Handle h, long handle)protectedPHAsset(NSObject.SkipInit skipInit) -
Method Summary
Methods inherited from class org.robovm.apple.photos.PHObject
getLocalIdentifierMethods 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, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
PHAsset
public PHAsset() -
PHAsset
-
PHAsset
-
-
Method Details
-
getPlaybackStyle
- Since:
- Available in iOS 11.0 and later.
-
getMediaType
-
getMediaSubtypes
-
getPixelWidth
public long getPixelWidth() -
getPixelHeight
public long getPixelHeight() -
getCreationDate
-
getModificationDate
-
getLocation
-
getDuration
public double getDuration() -
isHidden
public boolean isHidden() -
isFavorite
public boolean isFavorite() -
getBurstIdentifier
-
getBurstSelectionTypes
-
representsBurst
public boolean representsBurst() -
getSourceType
- Since:
- Available in iOS 9.0 and later.
-
getAdjustmentFormatIdentifier
- Since:
- Available in iOS 15.0 and later.
-
canPerformEditOperation
-
fetchAssetsInAssetCollection
public static PHFetchResult<PHAsset> fetchAssetsInAssetCollection(PHAssetCollection assetCollection, PHFetchOptions options) -
fetchAssetsWithLocalIdentifiers
public static PHFetchResult<PHAsset> fetchAssetsWithLocalIdentifiers(List<String> identifiers, PHFetchOptions options) -
fetchKeyAssetsInAssetCollection
public static PHFetchResult<PHAsset> fetchKeyAssetsInAssetCollection(PHAssetCollection assetCollection, PHFetchOptions options) -
fetchAssetsWithBurstIdentifier
public static PHFetchResult<PHAsset> fetchAssetsWithBurstIdentifier(String burstIdentifier, PHFetchOptions options) -
fetchAssets
-
fetchAssetsWithMediaType
public static PHFetchResult<PHAsset> fetchAssetsWithMediaType(PHAssetMediaType mediaType, PHFetchOptions options) -
fetchAssetsWithALAssetURLs
@Deprecated public static PHFetchResult<PHAsset> fetchAssetsWithALAssetURLs(NSArray<NSURL> assetURLs, PHFetchOptions options)Deprecated.Deprecated in iOS 11.0. Will be removed in a future release -
requestContentEditingInput
public long requestContentEditingInput(PHContentEditingInputRequestOptions options, VoidBlock2<PHContentEditingInput,NSDictionary<?,?>> completionHandler) -
cancelContentEditingInputRequest
public void cancelContentEditingInputRequest(long requestID)
-