public NSURLProperties put(NSURLVolumeProperty property, NSObject value) { data.put(property.value(), value); return this; } public NSURLProperties put(NSURLUbiquitousItemProperty property, NSObject value) {
/** * @since Available in iOS 4.0 and later. * @throws NSErrorException */ public NSObject getResourceValue(NSURLVolumeProperty property) throws NSErrorException { return getResourceValue(property.value()); } /**
public static /*<name>*/NSURLVolumeProperty/*</name>*/ valueOf(/*<type>*/NSString/*</type>*/ value) { for (/*<name>*/NSURLVolumeProperty/*</name>*/ v : values) { if (v.value().equals(value)) { return v; } } throw new IllegalArgumentException("No constant with value " + value + " found in " + /*<name>*/NSURLVolumeProperty/*</name>*/.class.getName()); }
/** * @since Available in iOS 4.0 and later. * @throws NSErrorException */ public NSObject getResourceValue(NSURLVolumeProperty property) throws NSErrorException { return getResourceValue(property.value()); } /**
/** * @since Available in iOS 7.0 and later. */ public void removeCachedResourceValue(NSURLVolumeProperty property) { removeCachedResourceValue(property.value()); } /**
/** * @since Available in iOS 7.0 and later. */ public void setTemporaryResourceValue(NSURLVolumeProperty property, NSObject value) { setTemporaryResourceValue(value, property.value()); } /**
public static /*<name>*/NSURLVolumeProperty/*</name>*/ valueOf(/*<type>*/NSString/*</type>*/ value) { for (/*<name>*/NSURLVolumeProperty/*</name>*/ v : values) { if (v.value().equals(value)) { return v; } } throw new IllegalArgumentException("No constant with value " + value + " found in " + /*<name>*/NSURLVolumeProperty/*</name>*/.class.getName()); }
public NSURLProperties put(NSURLVolumeProperty property, NSObject value) { data.put(property.value(), value); return this; } public NSURLProperties put(NSURLUbiquitousItemProperty property, NSObject value) {
/** * @since Available in iOS 7.0 and later. */ public void setTemporaryResourceValue(NSURLVolumeProperty property, NSObject value) { setTemporaryResourceValue(value, property.value()); } /**
public NSObject get(NSURLVolumeProperty property) { return data.get(property.value()); } public NSObject get(NSURLUbiquitousItemProperty property) {
/** * @since Available in iOS 7.0 and later. */ public void removeCachedResourceValue(NSURLVolumeProperty property) { removeCachedResourceValue(property.value()); } /**
public boolean contains(NSURLVolumeProperty property) { return data.containsKey(property.value()); } public boolean contains(NSURLUbiquitousItemProperty property) {
public boolean contains(NSURLVolumeProperty property) { return data.containsKey(property.value()); } public boolean contains(NSURLUbiquitousItemProperty property) {
public NSObject get(NSURLVolumeProperty property) { return data.get(property.value()); } public NSObject get(NSURLUbiquitousItemProperty property) {
@MarshalsPointer public static long toNative(NSURLVolumeProperty o, long flags) { if (o == null) { return 0L; } return NSObject.Marshaler.toNative(o.value(), flags); } }
@MarshalsPointer public static long toNative(NSURLVolumeProperty o, long flags) { if (o == null) { return 0L; } return NSObject.Marshaler.toNative(o.value(), flags); } }
@MarshalsPointer public static long toNative(List<NSURLVolumeProperty> l, long flags) { if (l == null) { return 0L; } NSArray<NSString> array = new NSMutableArray<>(); for (NSURLVolumeProperty o : l) { array.add(o.value()); } return NSObject.Marshaler.toNative(array, flags); } }
@MarshalsPointer public static long toNative(List<NSURLVolumeProperty> l, long flags) { if (l == null) { return 0L; } NSArray<NSString> array = new NSMutableArray<>(); for (NSURLVolumeProperty o : l) { array.add(o.value()); } return NSObject.Marshaler.toNative(array, flags); } }
/** * @since Available in iOS 4.0 and later. * @throws NSErrorException */ public void setResourceValue(NSURLVolumeProperty property, NSObject value) throws NSErrorException { NSError.NSErrorPtr err = new NSError.NSErrorPtr(); setResourceValue(value, property.value(), err); if (err.get() != null) { throw new NSErrorException(err.get()); } } /**
/** * @since Available in iOS 4.0 and later. * @throws NSErrorException */ public void setResourceValue(NSURLVolumeProperty property, NSObject value) throws NSErrorException { NSError.NSErrorPtr err = new NSError.NSErrorPtr(); setResourceValue(value, property.value(), err); if (err.get() != null) { throw new NSErrorException(err.get()); } } /**