Edit

Share via


UIActivityItemProvider.GetItemForActivity Method

Definition

Retrieves the data object on which to act.

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

Parameters

activityViewController
UIActivityViewController
activityType
NSString

Returns

Implements

Attributes

Remarks

(More documentation for this node is coming)

This can be used from a background thread.

Applies to