Package org.robovm.apple.foundation
Class NSFileCoordinator
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.foundation.NSFileCoordinator
- All Implemented Interfaces:
NSObjectProtocol,ObjCProtocol
public class NSFileCoordinator extends NSObject
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNSFileCoordinator.NSFileCoordinatorPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description NSFileCoordinator()NSFileCoordinator(NSFilePresenter filePresenterOrNil)protectedNSFileCoordinator(NSObject.Handle h, long handle)protectedNSFileCoordinator(NSObject.SkipInit skipInit) -
Method Summary
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
NSFileCoordinator
public NSFileCoordinator() -
NSFileCoordinator
-
NSFileCoordinator
-
NSFileCoordinator
-
-
Method Details
-
getFilePresenters
-
getPurposeIdentifier
-
setPurposeIdentifier
-
coordinateReadingItem
public void coordinateReadingItem(NSURL url, NSFileCoordinatorReadingOptions options, VoidBlock1<NSURL> reader) throws NSErrorException- Parameters:
url-options-reader-- Throws:
NSErrorException
-
coordinateWritingItem
public void coordinateWritingItem(NSURL url, NSFileCoordinatorWritingOptions options, VoidBlock1<NSURL> writer) throws NSErrorException- Parameters:
url-options-writer-- Throws:
NSErrorException
-
coordinateReadingItem
public void coordinateReadingItem(NSURL readingURL, NSFileCoordinatorReadingOptions readingOptions, NSURL writingURL, NSFileCoordinatorWritingOptions writingOptions, VoidBlock2<NSURL,NSURL> readerWriter) throws NSErrorException- Parameters:
readingURL-readingOptions-writingURL-writingOptions-readerWriter-- Throws:
NSErrorException
-
coordinateWritingItem
public void coordinateWritingItem(NSURL url1, NSFileCoordinatorWritingOptions options1, NSURL url2, NSFileCoordinatorWritingOptions options2, VoidBlock2<NSURL,NSURL> writer) throws NSErrorException- Parameters:
url1-options1-url2-options2-writer-- Throws:
NSErrorException
-
prepareForReadingItems
public void prepareForReadingItems(NSArray<NSURL> readingURLs, NSFileCoordinatorReadingOptions readingOptions, NSArray<NSURL> writingURLs, NSFileCoordinatorWritingOptions writingOptions, VoidBlock1<Runnable> batchAccessor) throws NSErrorException- Parameters:
readingURLs-readingOptions-writingURLs-writingOptions-batchAccessor-- Throws:
NSErrorException
-
init
-
coordinateAccessWithIntents
public void coordinateAccessWithIntents(NSArray<NSFileAccessIntent> intents, NSOperationQueue queue, VoidBlock1<NSError> accessor) -
coordinateReadingItem
protected void coordinateReadingItem(NSURL url, NSFileCoordinatorReadingOptions options, NSError.NSErrorPtr outError, VoidBlock1<NSURL> reader) -
coordinateWritingItem
protected void coordinateWritingItem(NSURL url, NSFileCoordinatorWritingOptions options, NSError.NSErrorPtr outError, VoidBlock1<NSURL> writer) -
coordinateReadingItem
protected void coordinateReadingItem(NSURL readingURL, NSFileCoordinatorReadingOptions readingOptions, NSURL writingURL, NSFileCoordinatorWritingOptions writingOptions, NSError.NSErrorPtr outError, VoidBlock2<NSURL,NSURL> readerWriter) -
coordinateWritingItem
protected void coordinateWritingItem(NSURL url1, NSFileCoordinatorWritingOptions options1, NSURL url2, NSFileCoordinatorWritingOptions options2, NSError.NSErrorPtr outError, VoidBlock2<NSURL,NSURL> writer) -
prepareForReadingItems
protected void prepareForReadingItems(NSArray<NSURL> readingURLs, NSFileCoordinatorReadingOptions readingOptions, NSArray<NSURL> writingURLs, NSFileCoordinatorWritingOptions writingOptions, NSError.NSErrorPtr outError, VoidBlock1<Runnable> batchAccessor) -
itemAtURLWillMoveToURL
-
itemAtURLDidMoveToURL
-
itemAtURLDidChangeUbiquityAttributes
- Since:
- Available in iOS 11.0 and later.
-
cancel
public void cancel() -
addFilePresenter
-
removeFilePresenter
-