public boolean setProperty(CFStreamProperty property, CFType propertyValue) { return setProperty(property.value(), propertyValue); } @WeaklyLinked
@MarshalsPointer public static CFStreamProperty toObject(Class<CFStreamProperty> cls, long handle, long flags) { CFString o = (CFString) CFType.Marshaler.toObject(CFString.class, handle, flags); if (o == null) { return null; } return CFStreamProperty.valueOf(o); } @MarshalsPointer
public static /*<name>*/CFStreamProperty/*</name>*/ valueOf(/*<type>*/CFString/*</type>*/ value) { for (/*<name>*/CFStreamProperty/*</name>*/ v : values) { if (v.value().equals(value)) { return v; } } throw new IllegalArgumentException("No constant with value " + value + " found in " + /*<name>*/CFStreamProperty/*</name>*/.class.getName()); }
@MarshalsPointer public static List<CFStreamProperty> toObject(Class<? extends CFType> cls, long handle, long flags) { CFArray o = (CFArray) CFType.Marshaler.toObject(CFArray.class, handle, flags); if (o == null) { return null; } List<CFStreamProperty> list = new ArrayList<>(); for (int i = 0; i < o.size(); i++) { list.add(CFStreamProperty.valueOf(o.get(i, CFString.class))); } return list; } @MarshalsPointer
public CFType getProperty(CFStreamProperty property) { return getProperty(property.value()); } @WeaklyLinked
@MarshalsPointer public static CFStreamProperty toObject(Class<CFStreamProperty> cls, long handle, long flags) { CFString o = (CFString) CFType.Marshaler.toObject(CFString.class, handle, flags); if (o == null) { return null; } return CFStreamProperty.valueOf(o); } @MarshalsPointer
public CFType getProperty(CFStreamProperty property) { return getProperty(property.value()); } @WeaklyLinked
@MarshalsPointer public static CFStreamProperty toObject(Class<CFStreamProperty> cls, long handle, long flags) { CFString o = (CFString) CFType.Marshaler.toObject(CFString.class, handle, flags); if (o == null) { return null; } return CFStreamProperty.valueOf(o); } @MarshalsPointer
public boolean setProperty(CFStreamProperty property, CFType propertyValue) { return setProperty(property.value(), propertyValue); } @WeaklyLinked
@MarshalsPointer public static List<CFStreamProperty> toObject(Class<? extends CFType> cls, long handle, long flags) { CFArray o = (CFArray) CFType.Marshaler.toObject(CFArray.class, handle, flags); if (o == null) { return null; } List<CFStreamProperty> list = new ArrayList<>(); for (int i = 0; i < o.size(); i++) { list.add(CFStreamProperty.valueOf(o.get(i, CFString.class))); } return list; } @MarshalsPointer
@MarshalsPointer public static long toNative(CFStreamProperty o, long flags) { if (o == null) { return 0L; } return CFType.Marshaler.toNative(o.value(), flags); } }
@MarshalsPointer public static List<CFStreamProperty> toObject(Class<? extends CFType> cls, long handle, long flags) { CFArray o = (CFArray) CFType.Marshaler.toObject(CFArray.class, handle, flags); if (o == null) { return null; } List<CFStreamProperty> list = new ArrayList<>(); for (int i = 0; i < o.size(); i++) { list.add(CFStreamProperty.valueOf(o.get(i, CFString.class))); } return list; } @MarshalsPointer
@MarshalsPointer public static long toNative(List<CFStreamProperty> l, long flags) { if (l == null) { return 0L; } CFArray array = CFMutableArray.create(); for (CFStreamProperty o : l) { array.add(o.value()); } return CFType.Marshaler.toNative(array, flags); } }
public static /*<name>*/CFStreamProperty/*</name>*/ valueOf(/*<type>*/CFString/*</type>*/ value) { for (/*<name>*/CFStreamProperty/*</name>*/ v : values) { if (v.value().equals(value)) { return v; } } throw new IllegalArgumentException("No constant with value " + value + " found in " + /*<name>*/CFStreamProperty/*</name>*/.class.getName()); }
public static /*<name>*/CFStreamProperty/*</name>*/ valueOf(/*<type>*/CFString/*</type>*/ value) { for (/*<name>*/CFStreamProperty/*</name>*/ v : values) { if (v.value().equals(value)) { return v; } } throw new IllegalArgumentException("No constant with value " + value + " found in " + /*<name>*/CFStreamProperty/*</name>*/.class.getName()); }
public CFType getProperty(CFStreamProperty property) { return getProperty(property.value()); } @WeaklyLinked
public CFType getProperty(CFStreamProperty property) { return getProperty(property.value()); } @WeaklyLinked
public boolean setProperty(CFStreamProperty property, CFType propertyValue) { return setProperty(property.value(), propertyValue); } @WeaklyLinked
public CFType getProperty(CFStreamProperty property) { return getProperty(property.value()); } @WeaklyLinked
public boolean setProperty(CFStreamProperty property, CFType propertyValue) { return setProperty(property.value(), propertyValue); } @WeaklyLinked