Package apple.fileprovider.protocol
Interface NSFileProviderEnumerationObserver
-
public interface NSFileProviderEnumerationObserver
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddidEnumerateItems(NSArray<?> updatedItems)voidfinishEnumeratingUpToPage(NSData nextPage)Call this method after enumerating a full page of items.voidfinishEnumeratingWithError(NSError error)
-
-
-
Method Detail
-
didEnumerateItems
void didEnumerateItems(NSArray<?> updatedItems)
-
finishEnumeratingUpToPage
void finishEnumeratingUpToPage(NSData nextPage)
Call this method after enumerating a full page of items. If you set a non-nil nextPage, -[NSFileProviderEnumerator enumerateItemsToObserver:startingAtPage:] might be called with nextPage to enumerate more items. This is typically driven by the user scrolling a UIDocumentBrowserViewController presenting a directory containing more child items that would fit in the view. Page data is limited to 500 bytes. Setting a larger nextPage interrupts the enumeration.
-
finishEnumeratingWithError
void finishEnumeratingWithError(NSError error)
-
-