ALAsset.SetImageDataAsync(NSData, NSDictionary) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.