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