UIActivityItemProvider.GetItemForActivity 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.
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.