Edytuj

Udostępnij za pośrednictwem


NSFileProviderExtension.StartProvidingItemAtUrl Method

Definition

When implemented by the developer, supplies an actual file on a disk in place of a placeholder.

[Foundation.Export("startProvidingItemAtURL:completionHandler:")]
public virtual void StartProvidingItemAtUrl (Foundation.NSUrl url, Action<Foundation.NSError> completionHandler);
abstract member StartProvidingItemAtUrl : Foundation.NSUrl * Action<Foundation.NSError> -> unit
override this.StartProvidingItemAtUrl : Foundation.NSUrl * Action<Foundation.NSError> -> unit

Parameters

url
NSUrl

The shared document's URL.

completionHandler
Action<NSError>

An action the system calls when the refernced file becomes available.

This parameter can be null.

Attributes

Remarks

You have to override this method. Do not call super in an implementation.

This can be used from a background thread.

Applies to