AssetsLibrary.ALAsset.SetImageDataAsync Method
Changes the data to and the metadata to . On success, executes .

Syntax

public virtual System.Threading.Tasks.Task<Foundation.NSUrl> SetImageDataAsync (Foundation.NSData imageData, Foundation.NSDictionary metadata)

Parameters

imageData
The data to be used for the modified version.
metadata
Metadata to be saved with the modified image.

Returns

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

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

Remarks

Requirements

Namespace: AssetsLibrary
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0