Edytuj

Udostępnij za pośrednictwem


AVAssetExportSession.DetermineCompatibilityOfExportPresetAsync Method

Definition

Overloads

DetermineCompatibilityOfExportPresetAsync(String, AVAsset, AVFileTypes)

Asynchronously determines if a preset is compatible with an asset and output type, returning a task that tells if it is.

DetermineCompatibilityOfExportPresetAsync(String, AVAsset, String)

Determines whether the specified preset is compatible with the asset and output file type.

DetermineCompatibilityOfExportPresetAsync(String, AVAsset, AVFileTypes)

Asynchronously determines if a preset is compatible with an asset and output type, returning a task that tells if it is.

public System.Threading.Tasks.Task<bool> DetermineCompatibilityOfExportPresetAsync (string presetName, AVFoundation.AVAsset asset, AVFoundation.AVFileTypes outputFileType);
member this.DetermineCompatibilityOfExportPresetAsync : string * AVFoundation.AVAsset * AVFoundation.AVFileTypes -> System.Threading.Tasks.Task<bool>

Parameters

presetName
String

The preset to check.

asset
AVAsset

The asset against which to check the preset.

outputFileType
AVFileTypes

The output file type against which to check the preset.

Returns

Applies to

DetermineCompatibilityOfExportPresetAsync(String, AVAsset, String)

Determines whether the specified preset is compatible with the asset and output file type.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public static System.Threading.Tasks.Task<bool> DetermineCompatibilityOfExportPresetAsync (string presetName, AVFoundation.AVAsset asset, string outputFileType);
static member DetermineCompatibilityOfExportPresetAsync : string * AVFoundation.AVAsset * string -> System.Threading.Tasks.Task<bool>

Parameters

presetName
String

The preset name (, , , , , , or ).

asset
AVAsset
outputFileType
String

To be added.This parameter can be .

Returns

A task that represents the asynchronous DetermineCompatibilityOfExportPreset operation. The value of the TResult parameter is of type System.Action<System.Boolean>.

Attributes

Applies to