UIActivityItemProvider.GetThumbnailImageForActivity 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.
Returns a thumbnail for activities that support preview images.
[Foundation.Export("activityViewController:thumbnailImageForActivityType:suggestedSize:")]
[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 UIKit.UIImage GetThumbnailImageForActivity (UIKit.UIActivityViewController activityViewController, Foundation.NSString activityType, CoreGraphics.CGSize suggestedSize);
abstract member GetThumbnailImageForActivity : UIKit.UIActivityViewController * Foundation.NSString * CoreGraphics.CGSize -> UIKit.UIImage
override this.GetThumbnailImageForActivity : UIKit.UIActivityViewController * Foundation.NSString * CoreGraphics.CGSize -> UIKit.UIImage
Parameters
- activityViewController
- UIActivityViewController
- activityType
- NSString
- suggestedSize
- CGSize
Returns
- Attributes
Remarks
(More documentation for this node is coming)
This can be used from a background thread.