public void enumerateObjects(NSIndexSet s, NSEnumerationOptions opts, final Block2<T, Long, Boolean> block) { enumerateObjects0(s, opts, new VoidBlock3<NSObject, Long, BooleanPtr>() { @Override public void invoke(NSObject a, Long b, BooleanPtr c) { c.set(block.invoke((T)a, b)); } }); } /*<methods>*/
public PHCollectionList(PHFetchResult<PHCollectionList> fetchResult, String title) { super(createTransientCollectionList(fetchResult, title)); retain(getHandle()); } /*</constructors>*/
public PHAssetCollection(PHFetchResult<PHAsset> fetchResult, String title) { super(createTransientAssetCollection(fetchResult, title)); retain(getHandle()); } /*</constructors>*/
/** * @since Available in iOS 8.0 and later. */ public long getResultRequestID() { if (has(Keys.ResultRequestID())) { NSNumber val = (NSNumber) get(Keys.ResultRequestID()); return val.longValue(); } return 0; } /**
/** * @since Available in iOS 8.0 and later. */ public boolean isResultInCloud() { if (has(Keys.ResultIsInCloud())) { NSNumber val = (NSNumber) get(Keys.ResultIsInCloud()); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 8.0 and later. */ public boolean isResultDegraded() { if (has(Keys.ResultIsDegraded())) { NSNumber val = (NSNumber) get(Keys.ResultIsDegraded()); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 8.0 and later. */ public boolean isResultInCloud() { if (has(Keys.ResultIsInCloud())) { NSNumber val = (NSNumber) get(Keys.ResultIsInCloud()); return val.booleanValue(); } return false; } /**
protected /*<name>*/PHAssetBurstSelectionType/*</name>*/ wrap(long value, long mask) { return new /*<name>*/PHAssetBurstSelectionType/*</name>*/(value, mask); } protected /*<name>*/PHAssetBurstSelectionType/*</name>*/[] _values() {
protected /*<name>*/PHAssetMediaSubtype/*</name>*/ wrap(long value, long mask) { return new /*<name>*/PHAssetMediaSubtype/*</name>*/(value, mask); } protected /*<name>*/PHAssetMediaSubtype/*</name>*/[] _values() {
protected /*<name>*/PHAssetSourceType/*</name>*/ wrap(long value, long mask) { return new /*<name>*/PHAssetSourceType/*</name>*/(value, mask); } protected /*<name>*/PHAssetSourceType/*</name>*/[] _values() {
public PHCollectionList(NSArray<PHCollection> collections, String title) { super(createTransientCollectionList(collections, title)); retain(getHandle()); } public PHCollectionList(PHFetchResult<PHCollectionList> fetchResult, String title) { super(createTransientCollectionList(fetchResult, title)); retain(getHandle()); }
public void enumerateObjects(final Block2<T, Long, Boolean> block) { enumerateObjects0(new VoidBlock3<NSObject, Long, BooleanPtr>() { @Override public void invoke(NSObject a, Long b, BooleanPtr c) { c.set(block.invoke((T)a, b)); } }); } public void enumerateObjects(NSEnumerationOptions opts, final Block2<T, Long, Boolean> block) {
public void enumerateObjects(NSEnumerationOptions opts, final Block2<T, Long, Boolean> block) { enumerateObjects0(opts, new VoidBlock3<NSObject, Long, BooleanPtr>() { @Override public void invoke(NSObject a, Long b, BooleanPtr c) { c.set(block.invoke((T)a, b)); } }); } public void enumerateObjects(NSIndexSet s, NSEnumerationOptions opts, final Block2<T, Long, Boolean> block) {