Edytuj

Udostępnij za pośrednictwem


AVAssetExportSession.DetermineCompatibilityOfExportPreset Method

Definition

Overloads

DetermineCompatibilityOfExportPreset(String, AVAsset, String, Action<Boolean>)

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

DetermineCompatibilityOfExportPreset(String, AVAsset, AVFileTypes, Action<Boolean>)

Determines if a preset is compatible with an asset and output type, passing the result to .

DetermineCompatibilityOfExportPreset(String, AVAsset, String, Action<Boolean>)

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

[Foundation.Export("determineCompatibilityOfExportPreset:withAsset:outputFileType:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public static void DetermineCompatibilityOfExportPreset (string presetName, AVFoundation.AVAsset asset, string outputFileType, Action<bool> isCompatibleResult);
static member DetermineCompatibilityOfExportPreset : string * AVFoundation.AVAsset * string * Action<bool> -> unit

Parameters

asset
AVAsset
outputFileType
String

To be added.

This parameter can be null.

isCompatibleResult
Action<Boolean>
Attributes

Applies to

DetermineCompatibilityOfExportPreset(String, AVAsset, AVFileTypes, Action<Boolean>)

Determines if a preset is compatible with an asset and output type, passing the result to .

public void DetermineCompatibilityOfExportPreset (string presetName, AVFoundation.AVAsset asset, AVFoundation.AVFileTypes outputFileType, Action<bool> isCompatibleResult);
member this.DetermineCompatibilityOfExportPreset : string * AVFoundation.AVAsset * AVFoundation.AVFileTypes * Action<bool> -> unit

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.

isCompatibleResult
Action<Boolean>

An action to run with the result of the check.

Applies to