共用方式為


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

適用於