UIActivityItemProvider.GetDataTypeIdentifierForActivity Method

Definition

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

[Foundation.Export("activityViewController:dataTypeIdentifierForActivityType:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual string GetDataTypeIdentifierForActivity (UIKit.UIActivityViewController activityViewController, Foundation.NSString activityType);
abstract member GetDataTypeIdentifierForActivity : UIKit.UIActivityViewController * Foundation.NSString -> string
override this.GetDataTypeIdentifierForActivity : UIKit.UIActivityViewController * Foundation.NSString -> string

Parameters

activityViewController
UIActivityViewController
activityType
NSString

Returns

Attributes

Remarks

(More documentation for this node is coming)

This can be used from a background thread.

Applies to