UIActivityItemProvider.GetDataTypeIdentifierForActivity Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.