PHAssetCreationRequest.AddResource 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.
Overloads
AddResource(PHAssetResourceType, NSData, PHAssetResourceCreationOptions) |
Adds |
AddResource(PHAssetResourceType, NSUrl, PHAssetResourceCreationOptions) |
Adds the data in |
AddResource(PHAssetResourceType, NSData, PHAssetResourceCreationOptions)
Adds data
, of the specified type
, to this 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
Parameters
- type
- PHAssetResourceType
- data
- NSData
- Attributes
Applies to
AddResource(PHAssetResourceType, NSUrl, PHAssetResourceCreationOptions)
Adds the data in fileUrl
, of the specified type
, to this 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
Parameters
- type
- PHAssetResourceType
- fileURL
- NSUrl
- Attributes