Edytuj

Udostępnij za pośrednictwem


ALAsset.SetVideoAtPathAsync(NSUrl) Method

Definition

Modifies the ALAsset to refer to the videoPathURL.

public virtual System.Threading.Tasks.Task<Foundation.NSUrl> SetVideoAtPathAsync (Foundation.NSUrl videoPathURL);
abstract member SetVideoAtPathAsync : Foundation.NSUrl -> System.Threading.Tasks.Task<Foundation.NSUrl>
override this.SetVideoAtPathAsync : Foundation.NSUrl -> System.Threading.Tasks.Task<Foundation.NSUrl>

Parameters

videoPathURL
NSUrl

Returns

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

Remarks

Application developers should check the Editable property prior to calling this method.

The SetVideoAtPathAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to