Bewerken

Delen via


PHImageManager.RequestExportSession Method

Definition

Requests a session for exporting the asset to a file.

[Foundation.Export("requestExportSessionForVideo:options:exportPreset:resultHandler:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual int RequestExportSession (Photos.PHAsset asset, Photos.PHVideoRequestOptions options, string exportPreset, Photos.PHImageManagerRequestExportHandler resultHandler);
abstract member RequestExportSession : Photos.PHAsset * Photos.PHVideoRequestOptions * string * Photos.PHImageManagerRequestExportHandler -> int
override this.RequestExportSession : Photos.PHAsset * Photos.PHVideoRequestOptions * string * Photos.PHImageManagerRequestExportHandler -> int

Parameters

asset
PHAsset
options
PHVideoRequestOptions

To be added.

This parameter can be null.

exportPreset
String

Returns

Attributes

Applies to