Package apple.fileprovider.protocol
Interface NSFileProviderServicing
-
public interface NSFileProviderServicingAPI-Since: 16.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceNSFileProviderServicing.Block_supportedServiceSourcesForItemIdentifierCompletionHandler
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull NSProgresssupportedServiceSourcesForItemIdentifierCompletionHandler(@NotNull java.lang.String itemIdentifier, @NotNull NSFileProviderServicing.Block_supportedServiceSourcesForItemIdentifierCompletionHandler completionHandler)A file provider can implemement this method to return service sources that provide custom communication channels to client applications.
-
-
-
Method Detail
-
supportedServiceSourcesForItemIdentifierCompletionHandler
@NotNull @NotNull NSProgress supportedServiceSourcesForItemIdentifierCompletionHandler(@NotNull @NotNull java.lang.String itemIdentifier, @NotNull @NotNull NSFileProviderServicing.Block_supportedServiceSourcesForItemIdentifierCompletionHandler completionHandler)
A file provider can implemement this method to return service sources that provide custom communication channels to client applications. The service sources must be tied to the item identified by @c itemIdentifier. Client applications can retrieve the list of supported services by calling [@c] -[NSFileManager getFileProviderServicesForItemAtURL:] for a specific item URL. Cancellations: ------------ If the NSProgress returned by this method is cancelled, the extension should call the completion handler with (nil, NSUserCancelledError) in the NSProgress cancellation handler. Execution time: --------------- This method is not expected to take more than a few seconds to complete the retrieval of the thumbnails. The system will call `cancel` on the progress if the operation takes too much time. The extension is then expected to quickly call the completion handler.
-
-