CNAssetInfo.PreprocessAssetAsync 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
| Name | Description |
|---|---|
| PreprocessAssetAsync(CNAssetPreprocessConfiguration) |
Asynchronously preprocesses the asset by generating a disparity track and writing a new asset. |
| PreprocessAssetAsync(CNAssetPreprocessConfiguration, NSProgress) |
Asynchronously preprocesses the asset and provides preprocessing progress. |
PreprocessAssetAsync(CNAssetPreprocessConfiguration)
Asynchronously preprocesses the asset by generating a disparity track and writing a new asset.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<Cinematic.CNAssetInfo> PreprocessAssetAsync(Cinematic.CNAssetPreprocessConfiguration configuration);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PreprocessAssetAsync : Cinematic.CNAssetPreprocessConfiguration -> System.Threading.Tasks.Task<Cinematic.CNAssetInfo>
override this.PreprocessAssetAsync : Cinematic.CNAssetPreprocessConfiguration -> System.Threading.Tasks.Task<Cinematic.CNAssetInfo>
Parameters
- configuration
- CNAssetPreprocessConfiguration
The preprocessing configuration, including the destination asset URL.
Returns
A task whose result describes the new, renderable, preprocessed asset.
- Attributes
Remarks
Ensure ResourceStatus is Ready before preprocessing. Download any required resources first.
Applies to
PreprocessAssetAsync(CNAssetPreprocessConfiguration, NSProgress)
Asynchronously preprocesses the asset and provides preprocessing progress.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<Cinematic.CNAssetInfo> PreprocessAssetAsync(Cinematic.CNAssetPreprocessConfiguration configuration, out Foundation.NSProgress result);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PreprocessAssetAsync : Cinematic.CNAssetPreprocessConfiguration * NSProgress -> System.Threading.Tasks.Task<Cinematic.CNAssetInfo>
override this.PreprocessAssetAsync : Cinematic.CNAssetPreprocessConfiguration * NSProgress -> System.Threading.Tasks.Task<Cinematic.CNAssetInfo>
Parameters
- configuration
- CNAssetPreprocessConfiguration
The preprocessing configuration, including the destination asset URL.
- result
- NSProgress
An object that reports preprocessing progress.
Returns
A task whose result describes the new, renderable, preprocessed asset.
- Attributes
Remarks
Ensure ResourceStatus is Ready before preprocessing. Download any required resources first.