Düzenle

Aracılığıyla paylaş


AVCapturePhotoOutput.SetPreparedPhotoSettingsAsync Method

Definition

Prepares the photo capture output for future requests with the provided photo settings, and runs a completion handler when it is finished.

public virtual System.Threading.Tasks.Task<Tuple<bool,Foundation.NSError>> SetPreparedPhotoSettingsAsync (AVFoundation.AVCapturePhotoSettings[] preparedPhotoSettingsArray);
abstract member SetPreparedPhotoSettingsAsync : AVFoundation.AVCapturePhotoSettings[] -> System.Threading.Tasks.Task<bool * Foundation.NSError>
override this.SetPreparedPhotoSettingsAsync : AVFoundation.AVCapturePhotoSettings[] -> System.Threading.Tasks.Task<bool * Foundation.NSError>

Parameters

preparedPhotoSettingsArray
AVCapturePhotoSettings[]

Returns

A task that represents the asynchronous SetPreparedPhotoSettings operation. The value of the TResult parameter is of type System.Action<System.Boolean,Foundation.NSError>.

Remarks

The SetPreparedPhotoSettingsAsync 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