Share via


AVCapturePhotoOutput.SetPreparedPhotoSettingsAsync Metodo

Definizione

Prepara l'output dell'acquisizione foto per le richieste future con le impostazioni di foto fornite ed esegue un gestore di completamento al termine.

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>

Parametri

preparedPhotoSettingsArray
AVCapturePhotoSettings[]

Restituisce

Attività che rappresenta l'operazione Asincrona SetPreparedPhotoSettings. Il valore del parametro TResult è di tipo System.Action<System.Boolean,Foundation.NSError>.

Commenti

Il metodo SetPreparedPhotoSettingsAsync è adatto per essere usato con C# asincrono restituendo il controllo al chiamante con un'attività che rappresenta l'operazione.

Da aggiungere.

Si applica a