Upravit

Sdílet prostřednictvím


PHAssetResourceManager.RequestData Method

Definition

Requests the data for the specified asset resource, and passes them to the provided 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

Parameters

forResource
PHAssetResource
options
PHAssetResourceRequestOptions

To be added.

This parameter can be null.

handler
Action<NSData>
completionHandler
Action<NSError>

Returns

Attributes

Applies to