iOS Guides | Samples

MonoTouch.UIKit.NSFileProviderExtension Class

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

See Also: NSFileProviderExtension

Syntax

[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

Related content

Requirements

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

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

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

Public Methods

GetPersistentIdentifier(NSUrl) : String
Gets a specified identifier for a given URL.
static
GetPlaceholderUrl(NSUrl) : NSUrl
Gets the placeholder URL.
GetUrlForItem(String) : NSUrl
Gets the URL for a specified persistent identifier.
ItemChangedAtUrl(NSUrl)
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.
StopProvidingItemAtUrl(NSUrl)
Informs a file provider extension when a specified document is no longer being accessed
static
WritePlaceholder(NSUrl, NSDictionary, ref NSError) : Boolean
Writes a placeholder using provided metadata.