Compartilhar via


PHImageManager.RequestImageForAsset Método

Definição

[Foundation.Export("requestImageForAsset:targetSize:contentMode:options:resultHandler:")]
public virtual int RequestImageForAsset (Photos.PHAsset asset, CoreGraphics.CGSize targetSize, Photos.PHImageContentMode contentMode, Photos.PHImageRequestOptions options, Photos.PHImageResultHandler resultHandler);
abstract member RequestImageForAsset : Photos.PHAsset * CoreGraphics.CGSize * Photos.PHImageContentMode * Photos.PHImageRequestOptions * Photos.PHImageResultHandler -> int
override this.RequestImageForAsset : Photos.PHAsset * CoreGraphics.CGSize * Photos.PHImageContentMode * Photos.PHImageRequestOptions * Photos.PHImageResultHandler -> int

Parâmetros

asset
PHAsset
targetSize
CGSize
contentMode
PHImageContentMode
options
PHImageRequestOptions

A ser adicionado.

Esse parâmetro pode ser null.

resultHandler
PHImageResultHandler

Retornos

Atributos

Aplica-se a