Compartilhar via


PHAssetResourceManager.RequestData Método

Definição

Solicita os dados para o recurso de ativo especificado e os passa para o fornecido 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

A ser adicionado.

Esse parâmetro pode ser null.

handler
Action<NSData>
completionHandler
Action<NSError>

Retornos

Atributos

Aplica-se a