ALAssetsLibrary.WriteImageToSavedPhotosAlbumAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
WriteImageToSavedPhotosAlbumAsync(CGImage, ALAssetOrientation) | |
WriteImageToSavedPhotosAlbumAsync(CGImage, NSDictionary) | |
WriteImageToSavedPhotosAlbumAsync(NSData, NSDictionary) |
WriteImageToSavedPhotosAlbumAsync(CGImage, ALAssetOrientation)
public virtual System.Threading.Tasks.Task<Foundation.NSUrl> WriteImageToSavedPhotosAlbumAsync (CoreGraphics.CGImage imageData, AssetsLibrary.ALAssetOrientation orientation);
abstract member WriteImageToSavedPhotosAlbumAsync : CoreGraphics.CGImage * AssetsLibrary.ALAssetOrientation -> System.Threading.Tasks.Task<Foundation.NSUrl>
override this.WriteImageToSavedPhotosAlbumAsync : CoreGraphics.CGImage * AssetsLibrary.ALAssetOrientation -> System.Threading.Tasks.Task<Foundation.NSUrl>
参数
- imageData
- CGImage
- orientation
- ALAssetOrientation
返回
表示异步 WriteImageToSavedPhotosAlbum 操作的任务。 TResult 参数的值为 T:AssetsLibrary.ALAssetsLibraryWriteCompletionDelegate。
适用于
WriteImageToSavedPhotosAlbumAsync(CGImage, NSDictionary)
public virtual System.Threading.Tasks.Task<Foundation.NSUrl> WriteImageToSavedPhotosAlbumAsync (CoreGraphics.CGImage imageData, Foundation.NSDictionary metadata);
abstract member WriteImageToSavedPhotosAlbumAsync : CoreGraphics.CGImage * Foundation.NSDictionary -> System.Threading.Tasks.Task<Foundation.NSUrl>
override this.WriteImageToSavedPhotosAlbumAsync : CoreGraphics.CGImage * Foundation.NSDictionary -> System.Threading.Tasks.Task<Foundation.NSUrl>
参数
- imageData
- CGImage
- metadata
- NSDictionary
返回
表示异步 WriteImageToSavedPhotosAlbum 操作的任务。 TResult 参数的值为 T:AssetsLibrary.ALAssetsLibraryWriteCompletionDelegate。
适用于
WriteImageToSavedPhotosAlbumAsync(NSData, NSDictionary)
public virtual System.Threading.Tasks.Task<Foundation.NSUrl> WriteImageToSavedPhotosAlbumAsync (Foundation.NSData imageData, Foundation.NSDictionary metadata);
abstract member WriteImageToSavedPhotosAlbumAsync : Foundation.NSData * Foundation.NSDictionary -> System.Threading.Tasks.Task<Foundation.NSUrl>
override this.WriteImageToSavedPhotosAlbumAsync : Foundation.NSData * Foundation.NSDictionary -> System.Threading.Tasks.Task<Foundation.NSUrl>
参数
- imageData
- NSData
- metadata
- NSDictionary
返回
表示异步 WriteImageToSavedPhotosAlbum 操作的任务。 TResult 参数的值为 T:AssetsLibrary.ALAssetsLibraryWriteCompletionDelegate。