Edytuj

Udostępnij za pośrednictwem


ALAssetsLibrary.WriteImageToSavedPhotosAlbumAsync Method

Definition

Overloads

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>

Parameters

imageData
CGImage
orientation
ALAssetOrientation

Returns

A task that represents the asynchronous WriteImageToSavedPhotosAlbum operation. The value of the TResult parameter is a T:AssetsLibrary.ALAssetsLibraryWriteCompletionDelegate.

Applies to

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>

Parameters

imageData
CGImage
metadata
NSDictionary

Returns

A task that represents the asynchronous WriteImageToSavedPhotosAlbum operation. The value of the TResult parameter is a T:AssetsLibrary.ALAssetsLibraryWriteCompletionDelegate.

Applies to

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>

Parameters

imageData
NSData
metadata
NSDictionary

Returns

A task that represents the asynchronous WriteImageToSavedPhotosAlbum operation. The value of the TResult parameter is a T:AssetsLibrary.ALAssetsLibraryWriteCompletionDelegate.

Applies to