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。