/** * @since Available in iOS 2.0 and later. * @deprecated Deprecated in iOS 9.0. */ @Deprecated public boolean removeImageData() throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = removeImageData(ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 4.0 and later. */ public boolean setResourceValue(String key, CFType propertyValue) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = setResourceValue(key, propertyValue, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 4.0 and later. */ public boolean getResourceValue(String key, VoidPtr propertyValueTypeRefPtr) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = getResourceValue(key, propertyValueTypeRefPtr, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 7.0 and later. */ public static boolean removeUbiquitousContentAndPersistentStore(NSURL storeURL, NSPersistentStoreOptions options) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = removeUbiquitousContentAndPersistentStore(storeURL, options, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 3.0 and later. */ public @MachineSizedUInt long getCountForFetchRequest(NSFetchRequest request) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); long result = getCountForFetchRequest(request, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 4.1 and later. */ public static boolean unregisterGraphicsFont(CGFont font) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = unregisterGraphicsFont(font, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 4.1 and later. */ public static boolean registerGraphicsFont(CGFont font) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = registerGraphicsFont(font, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 4.0 and later. */ public @MachineSizedSInt long write(CFWriteStream stream, CFPropertyListFormat format, @MachineSizedUInt long options) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); long result = write(stream, format, options, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 2.0 and later. * @deprecated Deprecated in iOS 9.0. */ @Deprecated public boolean removeMember(ABPerson member) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = removeMember(member, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 2.0 and later. * @deprecated Deprecated in iOS 9.0. */ @Deprecated public boolean addMember(ABPerson person) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = addMember(person, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
public AVAudioPlayer(NSURL url) throws NSErrorException { super((SkipInit) null); NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); long handle = init(url, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } initObject(handle); } public AVAudioPlayer(NSData data) throws NSErrorException {
public PKPass(NSData data) throws NSErrorException { super((SkipInit) null); NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); long handle = init(data, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } initObject(handle); } /*</constructors>*/
/** * @since Available in iOS 4.0 and later. */ public static NSFileHandle createForUpdating(NSURL url) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); NSFileHandle result = createForUpdating(url, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 7.0 and later. */ public boolean setPreferredOutputNumberOfChannels(@MachineSizedSInt long count) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = setPreferredOutputNumberOfChannels(count, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 9.0 and later. */ public boolean resolveConstraintConflicts(NSArray<NSConstraintConflict> list) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = resolveConstraintConflicts(list, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 9.0 and later. */ public boolean resolveOptimisticLockingVersionConflicts(NSArray<NSMergeConflict> list) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = resolveOptimisticLockingVersionConflicts(list, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 9.0 and later. */ public MTLComputePipelineState newComputePipelineState(MTLComputePipelineDescriptor descriptor, MTLPipelineOption options, MTLComputePipelineReflection.MTLComputePipelineReflectionPtr reflection) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); MTLComputePipelineState result = newComputePipelineState(descriptor, options, reflection, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 7.0 and later. */ public static boolean read(NSMutableAttributedString thiz, NSData data, NSAttributedStringDocumentAttributes opts, NSDictionary.NSDictionaryPtr dict) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = read(thiz, data, opts, dict, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 9.0 and later. */ public NSObject decodeTopLevelObject(String key) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); NSObject result = decodeTopLevelObject(key, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
public AVAudioFile(NSURL fileURL, AVAudioSettings settings) throws NSErrorException { super((SkipInit) null); NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); long handle = init(fileURL, settings, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } initObject(handle); } public AVAudioFile(NSURL fileURL, AVAudioSettings settings, AVAudioCommonFormat format, boolean interleaved) throws NSErrorException {