Compartilhar via


PHAssetCreationRequest.AddResource Método

Definição

Sobrecargas

AddResource(PHAssetResourceType, NSData, PHAssetResourceCreationOptions)

Adiciona data, do especificado type, a este PHAssetCreationRequest.

AddResource(PHAssetResourceType, NSUrl, PHAssetResourceCreationOptions)

Adiciona os dados em fileUrl, do especificado type, a este PHAssetCreationRequest.

AddResource(PHAssetResourceType, NSData, PHAssetResourceCreationOptions)

Adiciona data, do especificado type, a este PHAssetCreationRequest.

[Foundation.Export("addResourceWithType:data:options:")]
public virtual void AddResource (Photos.PHAssetResourceType type, Foundation.NSData data, Photos.PHAssetResourceCreationOptions options);
abstract member AddResource : Photos.PHAssetResourceType * Foundation.NSData * Photos.PHAssetResourceCreationOptions -> unit
override this.AddResource : Photos.PHAssetResourceType * Foundation.NSData * Photos.PHAssetResourceCreationOptions -> unit

Parâmetros

data
NSData
options
PHAssetResourceCreationOptions

A ser adicionado.

Esse parâmetro pode ser null.

Atributos

Aplica-se a

AddResource(PHAssetResourceType, NSUrl, PHAssetResourceCreationOptions)

Adiciona os dados em fileUrl, do especificado type, a este PHAssetCreationRequest.

[Foundation.Export("addResourceWithType:fileURL:options:")]
public virtual void AddResource (Photos.PHAssetResourceType type, Foundation.NSUrl fileURL, Photos.PHAssetResourceCreationOptions options);
abstract member AddResource : Photos.PHAssetResourceType * Foundation.NSUrl * Photos.PHAssetResourceCreationOptions -> unit
override this.AddResource : Photos.PHAssetResourceType * Foundation.NSUrl * Photos.PHAssetResourceCreationOptions -> unit

Parâmetros

fileURL
NSUrl
options
PHAssetResourceCreationOptions

A ser adicionado.

Esse parâmetro pode ser null.

Atributos

Aplica-se a