public static AVMetadataIdentifierISOUserData valueOf(NSString value) { for (AVMetadataIdentifierISOUserData v : values) { if (v.value().equals(value)) { return v; } } return null; // throw new IllegalArgumentException("No constant with value " + value + " found in " // + /*<name>*/AVMetadataIdentifierISOUserData/*</name>*/.class.getName()); }
@MarshalsPointer public static long toNative(AVMetadataIdentifierISOUserData o, long flags) { if (o == null) { return 0L; } return NSObject.Marshaler.toNative(o.value(), flags); }
@MarshalsPointer public static AVMetadataIdentifierISOUserData toObject( Class<AVMetadataIdentifierISOUserData> cls, long handle, long flags) { NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags); if (o == null) { return null; } return AVMetadataIdentifierISOUserData.valueOf(o); }