Compartir a través de


PHAssetResourceManager.RequestData Método

Definición

Solicita los datos para el recurso de recurso de recurso especificado y los pasa al proporcionado completionHandler.

[Foundation.Export("requestDataForAssetResource:options:dataReceivedHandler:completionHandler:")]
public virtual int RequestData (Photos.PHAssetResource forResource, Photos.PHAssetResourceRequestOptions options, Action<Foundation.NSData> handler, Action<Foundation.NSError> completionHandler);
abstract member RequestData : Photos.PHAssetResource * Photos.PHAssetResourceRequestOptions * Action<Foundation.NSData> * Action<Foundation.NSError> -> int
override this.RequestData : Photos.PHAssetResource * Photos.PHAssetResourceRequestOptions * Action<Foundation.NSData> * Action<Foundation.NSError> -> int

Parámetros

forResource
PHAssetResource
options
PHAssetResourceRequestOptions

Se agregará.

Este parámetro puede ser null.

handler
Action<NSData>
completionHandler
Action<NSError>

Devoluciones

Atributos

Se aplica a