UIActivityItemSource_Extensions.GetDataTypeIdentifierForActivity(IUIActivityItemSource, UIActivityViewController, NSString) UIActivityItemSource_Extensions.GetDataTypeIdentifierForActivity(IUIActivityItemSource, UIActivityViewController, NSString) Method

Definition

If the specified provides NSData, this method returns the Uniform Type Identifier (UTI) of the item.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static string GetDataTypeIdentifierForActivity (this UIKit.IUIActivityItemSource This, UIKit.UIActivityViewController activityViewController, Foundation.NSString activityType);
static member GetDataTypeIdentifierForActivity : UIKit.IUIActivityItemSource * UIKit.UIActivityViewController * Foundation.NSString -> string

Parameters

This
IUIActivityItemSource IUIActivityItemSource

The instance on which this extension method operates.

activityType
NSString NSString

To be added.

This parameter can be null.

Returns

Applies to