@MarshalsPointer public static AVSampleRateConverterAlgorithm toObject(Class<AVSampleRateConverterAlgorithm> cls, long handle, long flags) { NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags); if (o == null) { return null; } return AVSampleRateConverterAlgorithm.valueOf(o); } @MarshalsPointer
@SuppressWarnings("unchecked") @MarshalsPointer public static List<AVSampleRateConverterAlgorithm> toObject(Class<? extends NSObject> cls, long handle, long flags) { NSArray<NSString> o = (NSArray<NSString>) NSObject.Marshaler.toObject(NSArray.class, handle, flags); if (o == null) { return null; } List<AVSampleRateConverterAlgorithm> list = new ArrayList<>(); for (int i = 0; i < o.size(); i++) { list.add(AVSampleRateConverterAlgorithm.valueOf(o.get(i))); } return list; } @MarshalsPointer
/** * @since Available in iOS 7.0 and later. */ public AVSampleRateConverterAlgorithm getAlgorithm() { if (has(Keys.Algorithm())) { NSString val = (NSString) get(Keys.Algorithm()); return AVSampleRateConverterAlgorithm.valueOf(val); } return null; } /**
@MarshalsPointer public static AVSampleRateConverterAlgorithm toObject(Class<AVSampleRateConverterAlgorithm> cls, long handle, long flags) { NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags); if (o == null) { return null; } return AVSampleRateConverterAlgorithm.valueOf(o); } @MarshalsPointer
@MarshalsPointer public static AVSampleRateConverterAlgorithm toObject(Class<AVSampleRateConverterAlgorithm> cls, long handle, long flags) { NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags); if (o == null) { return null; } return AVSampleRateConverterAlgorithm.valueOf(o); } @MarshalsPointer
@SuppressWarnings("unchecked") @MarshalsPointer public static List<AVSampleRateConverterAlgorithm> toObject(Class<? extends NSObject> cls, long handle, long flags) { NSArray<NSString> o = (NSArray<NSString>) NSObject.Marshaler.toObject(NSArray.class, handle, flags); if (o == null) { return null; } List<AVSampleRateConverterAlgorithm> list = new ArrayList<>(); for (int i = 0; i < o.size(); i++) { list.add(AVSampleRateConverterAlgorithm.valueOf(o.get(i))); } return list; } @MarshalsPointer
@SuppressWarnings("unchecked") @MarshalsPointer public static List<AVSampleRateConverterAlgorithm> toObject(Class<? extends NSObject> cls, long handle, long flags) { NSArray<NSString> o = (NSArray<NSString>) NSObject.Marshaler.toObject(NSArray.class, handle, flags); if (o == null) { return null; } List<AVSampleRateConverterAlgorithm> list = new ArrayList<>(); for (int i = 0; i < o.size(); i++) { list.add(AVSampleRateConverterAlgorithm.valueOf(o.get(i))); } return list; } @MarshalsPointer
/** * @since Available in iOS 7.0 and later. */ public AVSampleRateConverterAlgorithm getAlgorithm() { if (has(Keys.Algorithm())) { NSString val = (NSString) get(Keys.Algorithm()); return AVSampleRateConverterAlgorithm.valueOf(val); } return null; } /**
/** * @since Available in iOS 7.0 and later. */ public AVSampleRateConverterAlgorithm getAlgorithm() { if (has(Keys.Algorithm())) { NSString val = (NSString) get(Keys.Algorithm()); return AVSampleRateConverterAlgorithm.valueOf(val); } return null; } /**