Package apple.fileprovider.protocol
Interface NSFileProviderIncrementalContentFetching
-
public interface NSFileProviderIncrementalContentFetchingProtocol to implement if the provider instance supports fetching incremental content changes. API-Since: 16.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceNSFileProviderIncrementalContentFetching.Block_fetchContentsForItemWithIdentifierVersionUsingExistingContentsAtURLExistingVersionRequestCompletionHandler
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull NSProgressfetchContentsForItemWithIdentifierVersionUsingExistingContentsAtURLExistingVersionRequestCompletionHandler(@NotNull java.lang.String itemIdentifier, @Nullable NSFileProviderItemVersion requestedVersion, @NotNull NSURL existingContents, @NotNull NSFileProviderItemVersion existingVersion, @NotNull NSFileProviderRequest request, @NotNull NSFileProviderIncrementalContentFetching.Block_fetchContentsForItemWithIdentifierVersionUsingExistingContentsAtURLExistingVersionRequestCompletionHandler completionHandler)Update a previously provided item to a new version.
-
-
-
Method Detail
-
fetchContentsForItemWithIdentifierVersionUsingExistingContentsAtURLExistingVersionRequestCompletionHandler
@NotNull @NotNull NSProgress fetchContentsForItemWithIdentifierVersionUsingExistingContentsAtURLExistingVersionRequestCompletionHandler(@NotNull @NotNull java.lang.String itemIdentifier, @Nullable @Nullable NSFileProviderItemVersion requestedVersion, @NotNull @NotNull NSURL existingContents, @NotNull @NotNull NSFileProviderItemVersion existingVersion, @NotNull @NotNull NSFileProviderRequest request, @NotNull @NotNull NSFileProviderIncrementalContentFetching.Block_fetchContentsForItemWithIdentifierVersionUsingExistingContentsAtURLExistingVersionRequestCompletionHandler completionHandler)
Update a previously provided item to a new version. If the system already has a version of an item and learns that a new version is available, it may call this method to update the existing version to a new version. The semantics of the requestedVersion parameter are the same as for the non-delta update method above.
-
-