NSFileProviderExtension.FetchThumbnails Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When implemented by the developer, fetches thumbnails for the specified item identifiers, runs the specified perThumbnailCompletionHandler
for each thumbnail, and runs completionHandler
when the entire operation is complete
[Foundation.Export("fetchThumbnailsForItemIdentifiers:requestedSize:perThumbnailCompletionHandler:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSProgress FetchThumbnails (Foundation.NSString[] itemIdentifiers, CoreGraphics.CGSize size, UIKit.NSFileProviderExtensionFetchThumbnailsHandler perThumbnailCompletionHandler, Action<Foundation.NSError> completionHandler);
abstract member FetchThumbnails : Foundation.NSString[] * CoreGraphics.CGSize * UIKit.NSFileProviderExtensionFetchThumbnailsHandler * Action<Foundation.NSError> -> Foundation.NSProgress
override this.FetchThumbnails : Foundation.NSString[] * CoreGraphics.CGSize * UIKit.NSFileProviderExtensionFetchThumbnailsHandler * Action<Foundation.NSError> -> Foundation.NSProgress
Parameters
- itemIdentifiers
- NSString[]
The persistent identifiers for the items.
- size
- CGSize
The size, in pixels, of the thumbnails.
- perThumbnailCompletionHandler
- NSFileProviderExtensionFetchThumbnailsHandler
A handler to run for each thumbnail.
Returns
- Attributes
Remarks
(More documentation for this node is coming)
This can be used from a background thread.