AVAssetExportSession.DetermineCompatibilityOfExportPreset 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
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
- presetName
- String
The preset name (PresetLowQuality, PresetMediumQuality, PresetHighestQuality, Preset640x480, Preset960x540, Preset1280x720, PresetAppleM4A or PresetPassthrough).
- asset
- AVAsset
- 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.