PHAssetResourceManager.RequestData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
- Attributes