Language

CNAssetInfo.PreprocessAssetAsync Method

Definition

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.

Applies to