Upravit

Sdílet prostřednictvím


NSFileProviderExtension.ProvidePlaceholderAtUrl Method

Definition

When implemented by the developer, creates a specified placeholder for a previously defined URL.

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

Parameters

url
NSUrl

The shared document's URL.

completionHandler
Action<NSError>

An action the system calls subseqent to the creation of a placeholder.

This parameter can be null.

Attributes

Remarks

The developer must override this method. This method is called to provide a placeholder for documents that are returned by the Document Picker but that are not locally stored.

This can be used from a background thread.

Applies to