iOS Guides | Samples

MonoTouch.UIKit.UIActivityItemSource_Extensions Class

Extension methods to the IUIActivityItemSource interface to support all the methods from the UIActivityItemSource protocol.

See Also: UIActivityItemSource_Extensions

Syntax

public static class UIActivityItemSource_Extensions

Remarks

The extension methods for IUIActivityItemSource allow developers to treat instances of the interface as having all the optional methods of the original UIActivityItemSource protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Requirements

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

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

See Also: Object

Public Methods

static
GetDataTypeIdentifierForActivity(this IUIActivityItemSource, UIActivityViewController, NSString) : String
If the specified provides NSData, this method returns the Uniform Type Identifier (UTI) of the item.
static
GetSubjectForActivity(this IUIActivityItemSource, UIActivityViewController, NSString) : String
Returns the subject for the specified .
static
GetThumbnailImageForActivity(this IUIActivityItemSource, UIActivityViewController, NSString, SizeF) : UIImage
Returns the preview image for the specified .