PHAssetCreationRequest.AddResource Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
AddResource(PHAssetResourceType, NSData, PHAssetResourceCreationOptions) |
Adiciona |
AddResource(PHAssetResourceType, NSUrl, PHAssetResourceCreationOptions) |
Adiciona os dados em |
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
- type
- PHAssetResourceType
- data
- NSData
- 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
- type
- PHAssetResourceType
- fileURL
- NSUrl
- Atributos