iOS Guides | Samples

MonoTouch.UIKit.NSFileProviderExtension Class

Subclasses of NSFileProviderExtension implement the move and open functionality for extensions of type UIDocumentPickerViewController.

See Also: NSFileProviderExtension


[MonoTouch.Foundation.Register("NSFileProviderExtension", true)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 8, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.WatchOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.TvOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public class NSFileProviderExtension : NSObject


(More documentation for this node is coming)

The members of this class can be used from a background thread.

Related content


Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions:

The members of MonoTouch.UIKit.NSFileProviderExtension are listed below.

See Also: NSObject

Public Constructors

Default constructor, initializes a new instance of this class.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

ClassHandleIntPtr. The handle for this class.
DocumentStorageUrlNSUrl. Obtains the root URL for all of shared documents.
ProviderIdentifierString. Provides an identifier for reads and writes that are coordinated.

Public Methods

GetPersistentIdentifier(NSUrl) : String
Gets a specified identifier for a given URL.
GetPlaceholderUrl(NSUrl) : NSUrl
Gets the placeholder URL.
GetUrlForItem(String) : NSUrl
Gets the URL for a specified persistent identifier.
Informs a file provider extension that there has been a change in a document.
ProvidePlaceholderAtUrl(NSUrl, Action<MonoTouch.Foundation.NSError>)
Creates a specified placeholder for a previously defined URL.
ProvidePlaceholderAtUrlAsync(NSUrl) : Task
Creates a specified placeholder for a previously defined URL.
StartProvidingItemAtUrl(NSUrl, Action<MonoTouch.Foundation.NSError>)
Supplies an actual file on a disk in place of a placeholder.
StartProvidingItemAtUrlAsync(NSUrl) : Task
Supplies an actual file on a disk in place of a placeholder.
Informs a file provider extension when a specified document is no longer being accessed
WritePlaceholder(NSUrl, NSDictionary, ref NSError) : Boolean
Writes a placeholder using provided metadata.