編集

次の方法で共有


ALAsset.SetImageDataAsync(NSData, NSDictionary) Method

Definition

Changes the data to imageData and the metadata to metadata. On success, executes completionBlock.

public virtual System.Threading.Tasks.Task<Foundation.NSUrl> SetImageDataAsync (Foundation.NSData imageData, Foundation.NSDictionary metadata);
abstract member SetImageDataAsync : Foundation.NSData * Foundation.NSDictionary -> System.Threading.Tasks.Task<Foundation.NSUrl>
override this.SetImageDataAsync : Foundation.NSData * Foundation.NSDictionary -> System.Threading.Tasks.Task<Foundation.NSUrl>

Parameters

imageData
NSData
metadata
NSDictionary

Returns

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

Application developers should check the Editable property priot to using this method.

Applies to