AVAssetExportSession.DetermineCompatibleFileTypesAsync 方法

定义

使用此导出会话生成兼容文件类型的列表。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<string[]> DetermineCompatibleFileTypesAsync ();
abstract member DetermineCompatibleFileTypesAsync : unit -> System.Threading.Tasks.Task<string[]>
override this.DetermineCompatibleFileTypesAsync : unit -> System.Threading.Tasks.Task<string[]>

返回

表示异步 DetermineCompatibleFileTypes 操作的任务。 TResult 参数的值的类型为 System.Action<System.String[]> 。

属性

注解

通过将控件返回到具有表示操作的 Task 的调用方,DetermineCompatibleFileTypesAsync 方法适合与 C# 异步一起使用。

适用于