ALAssetsLibrary.WriteImageToSavedPhotosAlbumAsync 方法

定义

重载

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

适用于